You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hc36123 what does this have to do with evil? I can't see any calls to evil fns in your repro steps. Are you just saying this behaviour occurs with evil-mode enabled, but not when it isn't?
In evil mode, C-g after C-x helps to quit the C-x, which is fantastic if I want to cancel a mistyped C-x. This feature doesn't work in the normal emacs state (when evil-mode is disabled), and I guess it may be a feature provided by Evil. After rebinding M-g to C-g, I found M-g can not cancel the prefix argument C-x. This is not an Evil bug. I just need help to figure out why this rebinding does not work.
Issue type
Environment
Emacs version: <28.2>
Operating System: <Windows 10+Cygwin>
Evil version: <1.15.0>
Evil installation type: ELPA
Graphical/Terminal: Graphical
Tested in a
make emacs
session: NoReproduction steps
M-x eval-expression
, type(define-key key-translation-map (kbd "M-g") (kbd "C-g"))
M-x xxxxxx
, typeM-g
orC-g
, returnQuit
successfully:w xxxxxx
, typeM-g
orC-g
, returnQuit
successfullyC-x
, typeC-g
returnQuit
, however, it doesn't work withM-g
Expected behavior
C-x
, thenM-g
should result a successfulQuit
Actual behavior
Further notes
The text was updated successfully, but these errors were encountered: