GNOME Bugzilla – Bug 241303
C-w should not close window when using Emacs editing shortcuts
Last modified: 2003-05-01 21:39:55 UTC
I have Emacs editing shortcuts enabled in both GNOME 2 (Preferences->Keyboard Shortcuts) and Evolution (Composer Preferences->Shortcuts Type). When I edit text fields (such as a task), I expect C-w to delete the previous word. Instead Evolution is closed. Whilst I think C-w is the correct shortcut to close a Window under a Mac or Windows environment (and so it should stay when using GNOME default or Microsoft keyboard shortcuts), it is counter intuitive and highly annoying when using Emacs editing mode.
My expectation that Control-W would delete the previous word is it seems not actually Emacs behavior but rather one commonly found in shells such as bash and tcsh. Control-W is bound to kill-region by default rather than delete-word. Either way, Control-W is probably not expected to close the existing window when using Emacs-style shortcuts, but the kill-region command is not such a simple command as the delete-word command, and it's conceivable that Evolution and/or GNOME will not implement this command, so the question seems to be: Do we leave the existing key binding for C-w, or do we unbind it.
*** This bug has been marked as a duplicate of 241187 ***