Summary: | app-editors/emacs-23.1: Key bindings in .emacs don't work as expected when using app-emacs/emacs-daemon-0.15 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Johannes Rauh <jarauh> |
Component: | Current packages | Assignee: | Emacs project <emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | Inclusion |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://lists.gnu.org/archive/html/emacs-devel/2009-10/msg00471.html | ||
Whiteboard: | due 2009-10-28 | ||
Package list: | Runtime testing required: | --- |
Description
Johannes Rauh
2009-10-19 12:47:27 UTC
Some things never change. Backspace and Delete are a mess since 20 years at least. :-( I can reproduce the problem as follows: 1. Create ~/.emacs containing only the two mentioned lines. 2. In a X session (using XFCE here), start Emacs with "emacs --daemon". 3. Open an Emacs frame with "emacsclient -c". 4. "C-h k" will show that the keybindings are swapped. However, I don't really see what we could do about it at the distro level, so I suggest that you report this problem upstream ("M-x report-emacs-bug" or send it to the <emacs-devel@gnu.org> mailing list). Some background reading is here (may be useful for a workaround): - Function documentation of "normal-erase-is-backspace-mode" - Emacs manual, section 59.1 "If <DEL> Fails to Delete" - <http://www.ibb.net/~anne/keyboard.html> Resolving as UPSTREAM, for the time being. Please reopen when an upstream fix is available. An upstream fix seems available: http://lists.gnu.org/archive/html/emacs-devel/2009-10/msg00511.html I tried app-editors/emacs-cvs-23.1.9999-r1, and the bug is gone. (In reply to comment #3) > An upstream fix seems available: > http://lists.gnu.org/archive/html/emacs-devel/2009-10/msg00511.html I'm a bit worried about the following comment in that patch: + ;; Not sure if input-decode-map is really right, but + ;; keyboard-translate-table (used below) only works + ;; for integer events, and key-translation-table is + ;; global (like the global-map, used earlier). So before including it in a 23.1-r1 ebuild, let's wait for some days if there's any followup on the upstream mailing list. > I tried app-editors/emacs-cvs-23.1.9999-r1, and the bug is gone. Thanks for testing it, this is appreciated. Fixed in emacs-23.1-r1. |