From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: 23.0.60; A combination of PC Selection, Visual Lines and emacsclient redefines C-backspace Date: Mon, 19 Jan 2009 22:40:54 -0500 Message-ID: <87iqoa7igp.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232422880 25247 80.91.229.12 (20 Jan 2009 03:41:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2009 03:41:20 +0000 (UTC) Cc: pent , rfrancoise@debian.org, 1960@emacsbugs.donarmstrong.com To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 20 04:42:32 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LP7VU-0001Eq-1d for ged-emacs-devel@m.gmane.org; Tue, 20 Jan 2009 04:42:28 +0100 Original-Received: from localhost ([127.0.0.1]:50479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP7UD-0004IO-1h for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2009 22:41:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LP7Tg-0003tH-Sn for emacs-devel@gnu.org; Mon, 19 Jan 2009 22:40:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LP7Tf-0003rG-BY for emacs-devel@gnu.org; Mon, 19 Jan 2009 22:40:36 -0500 Original-Received: from [199.232.76.173] (port=55761 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP7Tf-0003qz-6h for emacs-devel@gnu.org; Mon, 19 Jan 2009 22:40:35 -0500 Original-Received: from cyd.mit.edu ([18.115.2.24]:36699) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LP7Td-00058I-RC for emacs-devel@gnu.org; Mon, 19 Jan 2009 22:40:34 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 5D24357E221; Mon, 19 Jan 2009 22:40:54 -0500 (EST) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108003 Archived-At: 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 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 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?