GNU bug report logs - #1960
23.0.60; A combination of PC Selection, Visual Lines and emacsclient redefines C-backspace

Previous Next

Package: emacs;

Reported by: cmr.Pent <at> gmail.com

Date: Mon, 19 Jan 2009 21:30:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: emacs-devel <at> gnu.org
Cc: 1960 <at> debbugs.gnu.org, pent <pent <at> aparamon.msk.ru>,
        rfrancoise <at> debian.org
Subject: bug#1960: 23.0.60; A combination of PC Selection, Visual Lines and emacsclient redefines C-backspace
Date: Mon, 19 Jan 2009 22:40:54 -0500
Simplified recipe for bug#1960:

1. Put (pc-selection-mode 1) in .emacs
2. emacs --daemon
3. emacsclient -c
4. C-h k C-backspace

<C-backspace> runs the command kill-line, which is an interactive
compiled Lisp function in `simple.el'.

5. C-x C-c
6. emacsclient -c
7. C-h k C-backspace

<C-backspace> runs the command backward-kill-word, which is an
interactive compiled Lisp function in `simple.el'.


PC-selection mode binds [C-delete] to kill-line.  My guess is that some
code for distinguishing delete from DEL isn't run when Emacs is started
as a daemon.  It's only run sometime after the first client frame is
created, which is why C-backspace works properly for the second client
frame.

Could someone take a closer look?




This bug report was last modified 16 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.