From phil@kantaka.co.uk Tue Dec 1 14:29:41 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Dec 2009 22:29:41 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB1MTdnR016010 for ; Tue, 1 Dec 2009 14:29:41 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFbE3-0004iy-EC for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2009 17:29:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFbDy-0004i6-R1 for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2009 17:29:38 -0500 Received: from [199.232.76.173] (port=50184 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFbDy-0004i3-Ip for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2009 17:29:34 -0500 Received: from www.kantaka.co.uk ([217.155.153.11]:53361 helo=mail.kantaka.co.uk) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NFbDy-0001DF-8D for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2009 17:29:34 -0500 Received: from phil by mail.kantaka.co.uk with local (Exim 4.69) (envelope-from ) id 1NFbDt-0001xk-OW for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2009 22:29:29 +0000 To: bug-gnu-emacs@gnu.org Subject: 23.1; emacsclient -t leaves terminal in an odd state if daemon not started Message-Id: From: Philip Armstrong Date: Tue, 01 Dec 2009 22:29:29 +0000 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) If I start emacsclient like, without the emacs deamon already running: $ emacsclient -t or $ emacsclient -t and then press pagedown, emacs inserts the string "6~" into the buffer at point. If the emacs daemon has already started, or I use emacsclient -c to open a new frame (-c) without the daemon being started, then pagedown works just fine. I've seen this bug both on emacs 23 in current Debian unstable, and with one compiled from sources (ports) on OS X. In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2) of 2009-11-02 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: en_GB.UTF-8 value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... From cyd@stupidchicken.com Sat Dec 5 13:16:57 2009 Received: (at 5095) by emacsbugs.donarmstrong.com; 5 Dec 2009 21:16:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po42.its.yale.edu (pantheon-po42.its.yale.edu [130.132.50.101]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5LGuKM000703 for <5095@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 13:16:57 -0800 Received: from furry (dhcp128036204110.central.yale.edu [128.36.204.110]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nB5LGoiB024695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 5 Dec 2009 16:16:50 -0500 Received: by furry (Postfix, from userid 1000) id B5717C071; Sat, 5 Dec 2009 16:16:45 -0500 (EST) From: Chong Yidong To: Philip Armstrong Cc: 5095@debbugs.gnu.org Subject: 23.1; emacsclient -t leaves terminal in an odd state if daemon not started Date: Sat, 05 Dec 2009 16:16:45 -0500 Message-ID: <87my1xce9u.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > If I start emacsclient like, without the emacs deamon already running: > > $ emacsclient -t > or > $ emacsclient -t > > and then press pagedown, emacs inserts the string "6~" into the buffer > at point. If there is no server present, you should get an error message like this: emacsclient: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start". emacsclient: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) Please provide a self-contained recipe for reproducing this bug. From phil@kantaka.co.uk Sat Dec 5 15:08:18 2009 Received: (at 5095) by emacsbugs.donarmstrong.com; 5 Dec 2009 23:08:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.kantaka.co.uk (Debian-exim@www.kantaka.co.uk [217.155.153.11]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5N8H6o013778 for <5095@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 15:08:18 -0800 Received: from phil by mail.kantaka.co.uk with local (Exim 4.69) (envelope-from ) id 1NH3ja-0001V9-Ns; Sat, 05 Dec 2009 23:08:14 +0000 Date: Sat, 5 Dec 2009 23:08:14 +0000 From: Philip Armstrong To: Chong Yidong Cc: 5095@debbugs.gnu.org Subject: Re: 23.1; emacsclient -t leaves terminal in an odd state if daemon not started Message-ID: <20091205230814.GA5723@kantaka.co.uk> References: <87my1xce9u.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <87my1xce9u.fsf@stupidchicken.com> User-Agent: Mutt/1.5.20 (2009-06-14) On Sat, Dec 05, 2009 at 04:16:45PM -0500, Chong Yidong wrote: >> If I start emacsclient like, without the emacs deamon already running: >> >> $ emacsclient -t >> or >> $ emacsclient -t >> >> and then press pagedown, emacs inserts the string "6~" into the buffer >> at point. > >If there is no server present, you should get an error message like >this: > > emacsclient: can't find socket; have you started the server? > To start the server in Emacs, type "M-x server-start". > emacsclient: No socket or alternate editor. Please use: > > --socket-name > --server-file (or environment variable EMACS_SERVER_FILE) > --alternate-editor (or environment variable ALTERNATE_EDITOR) > >Please provide a self-contained recipe for reproducing this bug. I've set ALTERNATE_EDITOR to "", so emacsclient starts the server automatically if it's not already running & then connects to it once started. Phil -- http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 02 12:58:18 2010 Received: (at 5095) by debbugs.gnu.org; 2 Jan 2010 17:58:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NR8F0-0003qj-0m for submit@debbugs.gnu.org; Sat, 02 Jan 2010 12:58:18 -0500 Received: from pantheon-po29.its.yale.edu ([130.132.50.124]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NR8Ey-0003qe-Oj for 5095@debbugs.gnu.org; Sat, 02 Jan 2010 12:58:17 -0500 Received: from furry (adsl-99-75-106-169.dsl.wlfrct.sbcglobal.net [99.75.106.169]) (authenticated bits=0) by pantheon-po29.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o02HwBb0010962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 2 Jan 2010 12:58:12 -0500 Received: by furry (Postfix, from userid 1000) id AFEFEC05D; Sat, 2 Jan 2010 12:58:11 -0500 (EST) From: Chong Yidong To: emacs-devel@gnu.org Subject: Re: 23.1; emacsclient -t leaves terminal in an odd state if daemon not started Date: Sat, 02 Jan 2010 12:58:11 -0500 Message-ID: <87my0wv170.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 5095 Cc: 5095@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Anyone have any idea about Bug#5095? I can reproduce this: emacs --daemon emacsclient -t [up] => "M-o A is undefined" Subsequent function keystrokes are handled correctly. So it appears that the input-decode-map is not set up properly for the very first keystroke on a terminal frame created by the daemon. But I've no clue why. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 09:05:58 2010 Received: (at 5095) by debbugs.gnu.org; 5 Jan 2010 14:05:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSA2n-0003eT-Fm for submit@debbugs.gnu.org; Tue, 05 Jan 2010 09:05:57 -0500 Received: from pantheon-po19.its.yale.edu ([130.132.50.75]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSA2T-0003eD-B0 for 5095@debbugs.gnu.org; Tue, 05 Jan 2010 09:05:56 -0500 Received: from furry (72-254-87-8.client.stsn.net [72.254.87.8]) (authenticated bits=0) by pantheon-po19.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o05E5Uic015599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 5 Jan 2010 09:05:32 -0500 Received: by furry (Postfix, from userid 1000) id 743D8C05D; Tue, 5 Jan 2010 09:05:29 -0500 (EST) From: Chong Yidong To: Philip Armstrong Subject: Re: 23.1; emacsclient -t leaves terminal in an odd state if daemon not started Date: Tue, 05 Jan 2010 07:05:29 -0700 Message-ID: <874on01wba.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 5095 Cc: 5095@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.6 (-----) > I've set ALTERNATE_EDITOR to "" > > $ emacsclient -t > or > $ emacsclient -t > > and then press pagedown, emacs inserts the string "6~" into the buffer > at point. I've checked a fix for this bug into the repository. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 09:05:58 2010 Received: (at control) by debbugs.gnu.org; 5 Jan 2010 14:05:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSA2o-0003eV-3H for submit@debbugs.gnu.org; Tue, 05 Jan 2010 09:05:58 -0500 Received: from pantheon-po42.its.yale.edu ([130.132.50.101]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSA2d-0003eE-H1 for control@debbugs.gnu.org; Tue, 05 Jan 2010 09:05:56 -0500 Received: from furry (72-254-87-8.client.stsn.net [72.254.87.8]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o05E5fSi004510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 5 Jan 2010 09:05:42 -0500 Received: by furry (Postfix, from userid 1000) id F3D58C05D; Tue, 5 Jan 2010 09:05:40 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 5095 Date: Tue, 05 Jan 2010 07:05:40 -0700 Message-ID: <871vi41waz.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) close 5095 thanks From unknown Fri Aug 15 19:35:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 03 Feb 2010 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator