New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot exit projectile-skel-dir-locals while keeping the variables already entered #1849
Comments
To add to that |
Also observing this. I'm not familiar with the Emacs skeleton system, but want to dig into the interaction between it and Projectile's |
I found that Emacs 27.2 and before did not have this problem, while Emacs 28.1 and after
Looking at the diff of Missing
|
Expected behavior
When I enter an empty variable name, the template should exit and retain the previous input.
Projectile works well, but there seems to be no detailed documentation on how to properly use edit .dir-locals.el, I tried to use projectile-skel-dir-locals to edit it, but I can't exit the loop of input variables, if I press C-g or esc, my minibuffer will If I press C-g or esc, my minibuffer will close and the variables that have been entered before will disappear. I tried to exit the switch-case skeleton as in sh-mode by typing an empty string, but that doesn't work either.
I use vertico, and when I try to use a minimal configuration with only projectile, I also cannot exit the input loop of the skeleton correctly. This causes me to enter the input loop, press c-g to exit, and only the first input variable is saved, the rest of the variable input disappears.
What is the correct way to use projectile-skel-dir-locals, please help me out and thanks in advance!
The correct behavior should be like this
Actual behavior
Steps to reproduce the problem
Environment & Version information
Projectile version information
Emacs version
GNU Emacs 29.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
cairo version 1.17.8) of 2023-05-26
Operating system
E.g. Gentoo Linux 2.13
The text was updated successfully, but these errors were encountered: