From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#811: 23.0.60; emacsclient -t inserts one char when pressing an arrow key Date: Fri, 29 Aug 2008 18:39:52 -0400 Message-ID: <87d4jrphs7.fsf__2056.02897699482$1220050123$gmane$org@cyd.mit.edu> Reply-To: Chong Yidong , 811@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220050063 19206 80.91.229.12 (29 Aug 2008 22:47:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 22:47:43 +0000 (UTC) Cc: 811@emacsbugs.donarmstrong.com To: emacs-devel@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 30 00:48:37 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KZClh-0004R9-0h for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2008 00:48:37 +0200 Original-Received: from localhost ([127.0.0.1]:45540 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZCki-0001zQ-9D for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Aug 2008 18:47:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZCke-0001z1-Ud for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2008 18:47:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZCke-0001yc-8w for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2008 18:47:32 -0400 Original-Received: from [199.232.76.173] (port=50542 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZCke-0001yV-5g for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2008 18:47:32 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57533) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZCkd-00053o-Jv for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2008 18:47:31 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7TMlTp4010965; Fri, 29 Aug 2008 15:47:30 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7TMj4Wo009570; Fri, 29 Aug 2008 15:45:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 29 Aug 2008 22:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 811 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 811-submit@emacsbugs.donarmstrong.com id=B811.12200494747657 (code B ref 811); Fri, 29 Aug 2008 22:45:03 +0000 Original-Received: (at 811) by emacsbugs.donarmstrong.com; 29 Aug 2008 22:37:54 +0000 Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7TMbpmK007651 for <811@emacsbugs.donarmstrong.com>; Fri, 29 Aug 2008 15:37:52 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 3A5F557E17D; Fri, 29 Aug 2008 18:39:52 -0400 (EDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 29 Aug 2008 18:47:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19889 Archived-At: Anyone have any idea what causes this bug? I noticed that if you switch to the X frame, then switch back to the terminal frame, the first arrow key you enter into the terminal then behaves correctly. Very strange. > 1. Start emacs -Q > 2. eval (server-start) > 3. from a terminal, invoke emacsclient -t some-file > 4. Press , , or > > The first keypress of an arrow key after the emacsclient invokation > inserts one D, C, A or B. The next press moves point as expected. With > emacsclient -c this does not happen.