doomemacs / doomemacs/core

Yasnippet placeholders not cycling through in the GUI (in C++ and Corfu)

Open
#7,800 5 comments 1 reaction 0 assignees View on GitHub
:completion corfu :config default is:regression re:keybinds
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### I confirm that...

- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.

- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.

- [X] The issue can be reproduced on the **latest** available commit of Doom.

- [X] The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. *(Unstable versions end in .50, .60, or .9x)*

### Expected behavior

When using GUI it should be possible to cycle through placeholders provided by Yasnippet by using `TAB` like it is in the TTY.

### Current behavior

Currently, it is not possible to move to the next placeholder with the `TAB` in the GUI version. This works fine in the terminal version.

### Steps to reproduce

1. Open Emacs
2. check that snippets and Corfu modules are enabled
3. create a `test.cpp` file in `/tmp/`
4. try one of the snippets with more than one placeholder areas by typing (for example) `cpy` and pressing `TAB`.
5. this will insert the snippet and will allow you to fill out the 1st placeholder.
6. Try pressing `TAB` again to move to the next placeholder.

### System Information

https://pastebin.com/HVziHyCs

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.