all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug report: Key bindings in .emacs don't work as expected when using the emacs daemon
@ 2009-10-20 16:13 Johannes Rauh
  2009-10-22 19:32 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Rauh @ 2009-10-20 16:13 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]


Good day,

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.

Regards,

Johannes 		 	   		  
_________________________________________________________________
Join the Fantasy Football club and win cash prizes here!
http://fantasyfootball.sg.msn.com

[-- Attachment #2: Type: text/html, Size: 1379 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-22 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-20 16:13 Bug report: Key bindings in .emacs don't work as expected when using the emacs daemon Johannes Rauh
2009-10-22 19:32 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.