unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Paul Ste. Marie" <pstemari@google.com>
To: 12290@debbugs.gnu.org
Subject: bug#12290: 23.1; Daemon mode clobbers key assignments in .emacs
Date: Mon, 27 Aug 2012 13:11:53 -0700	[thread overview]
Message-ID: <CADVQxhLMoHBTt3g6uo8TVN+8RY8WR_+j7e+Txvajct8r8bTU1g@mail.gmail.com> (raw)

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.





             reply	other threads:[~2012-08-27 20:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-27 20:11 Paul Ste. Marie [this message]
2012-08-28  6:14 ` bug#12290: 23.1; Daemon mode clobbers key assignments in .emacs Chong Yidong
2012-09-05 17:12 ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADVQxhLMoHBTt3g6uo8TVN+8RY8WR_+j7e+Txvajct8r8bTU1g@mail.gmail.com \
    --to=pstemari@google.com \
    --cc=12290@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).