|Subject:||Bug report: Key bindings in .emacs don't work as expected when using the emacs daemon|
|Date:||Tue, 20 Oct 2009 16:13:49 +0000|
I have the following problem, which I have already posted under http://bugs.gentoo.org/show_bug.cgi?id=289709.
I use my .emacs file to set some key bindings:
(global-set-key [M-delete] 'kill-word)
(global-set-key [M-backspace] 'backward-kill-word)
This works as expected if I start emacs from the command line. However,
if I use the emacs-daemon, then these keys are not set correctly: In fact, they are switched (which seems to be the standard behaviour if I put nothing into .emacs at all).
A workaround is: Start emacs after the daemon has loaded, open .emacs and execute these two lines by hand.
This also happens if I start the emacs daemon after initializing X (so in particular it should have nothing to do with xmodmap).
I used to have this problem before with different keys, namely the buttons XF86Back and XF86Forward on my ThinkPad laptop, which used to be mapped to F19 and F20 some xorg-server-versions before.
Chat online and in real-time with friends and family! Windows Live Messenger
|[Prev in Thread]||Current Thread||[Next in Thread]|