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
I have read "How to Debug Issues", and will use it to provide as much information about this issue as possible.
The issue can be reproduced on the latest available commit of Doom.
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
Deleting words with C-w in the minibuffer and ex-commands1 should function the same as C-w in insert mode, i.e. delete Vim/Evil words (sequence of word characters or non-word characters).
Probably call evil-delete-backward-word like in insert mode.
Current behavior
When typing in a command with :1 or in a minibuffer, C-w will call either backward-kill-word or doom/delete-backward-word. Both of these use the Emacs definition of words and not the Evil one as evil-delete-backward-word does
Steps to reproduce
Open Emacs (w/ Evil enabled as per default)
(optional) Open scratch buffer, insert some text, and C-w it
Open the minibuffer (e.g., by using M-x)
Type "test -- -test"
Press C-w twice
Observe the entire line being deleted, instead of just "-test"
I confirm that...
Expected behavior
Deleting words with
C-win the minibuffer and ex-commands1 should function the same asC-win insert mode, i.e. delete Vim/Evil words (sequence of word characters or non-word characters).Probably call
evil-delete-backward-wordlike in insert mode.Current behavior
When typing in a command with
:1 or in a minibuffer,C-wwill call eitherbackward-kill-wordordoom/delete-backward-word. Both of these use the Emacs definition of words and not the Evil one asevil-delete-backward-worddoesSteps to reproduce
C-witM-x)C-wtwiceSystem Information
https://pastebin.com/3uMUDVHx
Footnotes
edit: I believe the ex-commands case is an upstream issue (#1921). I've edited the report (and reproduction steps) reflect that ↩ ↩2