From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Paul Ste. Marie" Newsgroups: gmane.emacs.bugs Subject: bug#12290: 23.1; Daemon mode clobbers key assignments in .emacs Date: Mon, 27 Aug 2012 13:11:53 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1346101237 9249 80.91.229.3 (27 Aug 2012 21:00:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2012 21:00:37 +0000 (UTC) To: 12290@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 27 23:00:39 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T66QG-0006kQ-1u for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Aug 2012 23:00:36 +0200 Original-Received: from localhost ([::1]:40534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T66QE-0000Qc-0C for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Aug 2012 17:00:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T66Q7-0000KH-7o for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2012 17:00:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T66Pz-00032S-Jd for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2012 17:00:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T66Py-00030o-KE for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2012 17:00:19 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T65xe-0000Qu-Ao for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2012 16:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Paul Ste. Marie" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Aug 2012 20:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12290 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13460994501646 (code B ref -1); Mon, 27 Aug 2012 20:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Aug 2012 20:30:50 +0000 Original-Received: from localhost ([127.0.0.1]:52829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T65xR-0000QV-Ax for submit@debbugs.gnu.org; Mon, 27 Aug 2012 16:30:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48773) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T65g5-0008Rv-Ie for submit@debbugs.gnu.org; Mon, 27 Aug 2012 16:12:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T65fB-0005cn-NN for submit@debbugs.gnu.org; Mon, 27 Aug 2012 16:11:58 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:58005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T65fB-0005cj-KL for submit@debbugs.gnu.org; Mon, 27 Aug 2012 16:11:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T65fA-0002y5-OF for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2012 16:11:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T65f9-0005cL-LO for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2012 16:11:56 -0400 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:43638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T65f9-0005cE-E3 for bug-gnu-emacs@gnu.org; Mon, 27 Aug 2012 16:11:55 -0400 Original-Received: by wibhn17 with SMTP id hn17so3020458wib.12 for ; Mon, 27 Aug 2012 13:11:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-system-of-record; bh=f+DGHJoPGwCUTIDDltoDG16e+FWKGuc2TkNloIF8rQs=; b=ZuQ6QpyG3s7qDmmso9U/LKtKxkxlfK9kXQaIRQioq7lErjx+qGCIFtupZ2a91Mg+XX ccAoacv0eHQ+drRdDokPVL0vxeselyu3i/DzsPKjHnqNc7pAyThQLawepnO5uRPKIg+P 6TzUOU7zi0MWtmS15QB7U4yL9KLZr/m1WpX/E4s5R8rCADvcrC+hiaJkkVf64TX1Wx4F cea/T1CTjwW8LPQpY2lRZAgEwlZ/jnj7sWfhlx//oZvhkMscv0TbmPPun8Dgtv9/bCbc GS8fEMM3TsLOPDnrJDVGv6l5eSmqpqUDZhWFax6iKIkcR5HGutv9rTlMtqW00EZvy8Qv 3muA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-system-of-record:x-gm-message-state; bh=f+DGHJoPGwCUTIDDltoDG16e+FWKGuc2TkNloIF8rQs=; b=GAvprf8Zh2DBssLgm15TLxxLhWurZ9q++3nZdcopnWLXKJQKIphuFVxv/uT56I6DWl j3azl45YyyQW+sbDcmHFMn/R+loDJH/NDPsTDr+3RvEanxjytMg7nmn4h7af9GkJIkeS hOSFzbUM5XeSTmBd9Z0VZVCuWOd2mbM5BZNVOTgdZ8tjFeOCXnmYOgQAfp4KUd84fpNQ /U9tQ1BSEOF/Loyz5hxCNX/b3NCO0EbELCUsF3ufGcHSjUdlCJ7HdxuxMAZlnhWcdtEy FUUmDL5LonOQhF5FPN2rdGoxtUHkywtR6Btx7Scjt/z57jp9uBcZCvWCOtGLxkSTmiXj nNgw== Original-Received: by 10.216.200.201 with SMTP id z51mr7756324wen.0.1346098314033; Mon, 27 Aug 2012 13:11:54 -0700 (PDT) Original-Received: by 10.216.200.201 with SMTP id z51mr7756317wen.0.1346098313897; Mon, 27 Aug 2012 13:11:53 -0700 (PDT) Original-Received: by 10.227.196.66 with HTTP; Mon, 27 Aug 2012 13:11:53 -0700 (PDT) X-System-Of-Record: true X-Gm-Message-State: ALoCoQnVOWtFqUIPeWPdHCX7iMziR6b4FH2uvlVlm1ixyjtAAxeQCk9rcStt9xPXiEpj1GPu/wIvAMslGz3fVi8x8xcmkkcLKRee0TQc/5gKBn/4ZwuTiPVin1VfMHo+wA3r7pGFOkCdp9p8eHGKptTswLNZwPeM9SfPN0AC70cGoPqicJi2S1ldl7PLy5PdSxpsIhMXWklk X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 27 Aug 2012 16:30:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63538 Archived-At: 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.