unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12290: 23.1; Daemon mode clobbers key assignments in .emacs
@ 2012-08-27 20:11 Paul Ste. Marie
  2012-08-28  6:14 ` Chong Yidong
  2012-09-05 17:12 ` Glenn Morris
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Ste. Marie @ 2012-08-27 20:11 UTC (permalink / raw)
  To: 12290

My .emacs file contains the line:

  (global-set-key [M-backspace] 'backward-kill-word)

If I launch emacs from the command line, this has the normal behavior.

However, if I launch emacs in daemon mode, e.g. via

  emacsclient -c -a ''

this definition gets clobbered and [M-backspace] is redefined as kill-word.

Some poking around in the bug base turns up:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1960
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4709

and Google turns up:

  http://lists.gnu.org/archive/html/emacs-devel/2009-10/msg00471.html

These all appear to be aspects of the same base problem. That last URL
points the finger at normal-erase-is-backspace-mode, which appears to
be invoked after .emacs is loaded by the daemon code.





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

* bug#12290: 23.1; Daemon mode clobbers key assignments in .emacs
  2012-08-27 20:11 bug#12290: 23.1; Daemon mode clobbers key assignments in .emacs Paul Ste. Marie
@ 2012-08-28  6:14 ` Chong Yidong
  2012-09-05 17:12 ` Glenn Morris
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2012-08-28  6:14 UTC (permalink / raw)
  To: Paul Ste. Marie; +Cc: 12290

"Paul Ste. Marie" <pstemari@google.com> writes:

> My .emacs file contains the line:
>
>   (global-set-key [M-backspace] 'backward-kill-word)
>
> If I launch emacs from the command line, this has the normal behavior.
>
> However, if I launch emacs in daemon mode, e.g. via
>
>   emacsclient -c -a ''
>
> this definition gets clobbered and [M-backspace] is redefined as kill-word.
>
> Some poking around in the bug base turns up:
>
>   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1960
>   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4709

Thanks for the bug report, but as the bug database entries indicate, the
bug was fixed some time ago.  I just checked, and could not reproduce
the problem on Emacs 23.4 or 24.x.





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

* bug#12290: 23.1; Daemon mode clobbers key assignments in .emacs
  2012-08-27 20:11 bug#12290: 23.1; Daemon mode clobbers key assignments in .emacs Paul Ste. Marie
  2012-08-28  6:14 ` Chong Yidong
@ 2012-09-05 17:12 ` Glenn Morris
  1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2012-09-05 17:12 UTC (permalink / raw)
  To: 12290-done

"Paul Ste. Marie" wrote:

> and Google turns up:
>
>   http://lists.gnu.org/archive/html/emacs-devel/2009-10/msg00471.html

Which refers to a fix that appeared 2 years ago in 23.2, so sounds like
time to upgrade. (The latest release is 24.2.)

Please let us know if you still see this is issue in the latest Emacs,
and we can reopen this report if needed.





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

end of thread, other threads:[~2012-09-05 17:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-27 20:11 bug#12290: 23.1; Daemon mode clobbers key assignments in .emacs Paul Ste. Marie
2012-08-28  6:14 ` Chong Yidong
2012-09-05 17:12 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).