GNOME Bugzilla – Bug 168542
Emacs key bindings overridden by gedit bindings
Last modified: 2005-02-26 09:08:09 UTC
Please describe the problem: I set up GNOME to use Emacs-style key bindings. I changed /desktop/gnome/interface/gtk-key-theme to be "Emacs" and I added a line to ~/.gtkrc-2.0 that has 'gtk-key-theme-name = "Emacs"' The key bindings work fine in other GNOME applications, but gedit overrides most of the cursor movement bindings with MS-style key bindings. Steps to reproduce: 1. set /desktop/gnome/interface/gtk-key-theme to be "Emacs" in gconf-editor and 'gtk-key-theme-name = "Emacs"' in ~/.gtkrc-2.0 2. Edit a document in gedit 3. Try Ctrl-a, Ctrl-n, Ctrl-p, Ctrl-f Actual results: Ctrl-a selects all text, Ctrl-n opens a new window, Ctrl-p opens the print dialog, and Ctrl-f opens the search dialog. Expected results: Ctrl-a should move the cursor to the beginning of the current line. Ctrl-n should move the cursor to the next line. Ctrl-p should move the cursor to the previous line. Ctrl-f should move the cursor forward one character. Does this happen every time? Yes Other information: It seems like any Emacs key binding that is not already bound to an action be gedit works just fine. Ctrl-e for end of line, Ctrl-d for delete character, Ctrl-k for delete to end of line, and Ctrl-y for paste all work.
*** This bug has been marked as a duplicate of 150059 ***