From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Madden Newsgroups: gmane.emacs.bugs Subject: bug#5696: 23.1; emacsclient misinterprets (?) keys on first use Date: Sun, 07 Mar 2010 16:02:57 -0700 Message-ID: <4B9430A1.500@colorado.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1268026557 755 80.91.229.12 (8 Mar 2010 05:35:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Mar 2010 05:35:57 +0000 (UTC) To: 5696@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 08 06:35:53 2010 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.69) (envelope-from ) id 1NoVd9-0006ct-SE for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Mar 2010 06:35:52 +0100 Original-Received: from localhost ([127.0.0.1]:57435 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoVd9-00024I-9p for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Mar 2010 00:35:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoQIh-0002JC-Mw for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 18:54:23 -0500 Original-Received: from [140.186.70.92] (port=37951 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoQIe-0002Ic-96 for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 18:54:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoQId-0007D7-OW for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 18:54:20 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51787) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoQId-0007D1-GQ for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 18:54:19 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NoQIM-0005rM-56; Sun, 07 Mar 2010 18:54:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Paul Madden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Mar 2010 23:54:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5696 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126800598722476 (code B ref -1); Sun, 07 Mar 2010 23:54:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Mar 2010 23:53:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoQHH-0005qD-E1 for submit@debbugs.gnu.org; Sun, 07 Mar 2010 18:53:07 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoPVA-0005VX-QN for submit@debbugs.gnu.org; Sun, 07 Mar 2010 18:03:14 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:53515) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoPV6-0006mD-Rd for submit@debbugs.gnu.org; Sun, 07 Mar 2010 18:03:09 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NoPV4-0005bL-N4 for submit@debbugs.gnu.org; Sun, 07 Mar 2010 18:03:08 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:45749) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NoPV4-0005bD-8O for submit@debbugs.gnu.org; Sun, 07 Mar 2010 18:03:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoPV3-0002ma-QI for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 18:03:05 -0500 Original-Received: from [140.186.70.92] (port=41462 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoPV0-0002lA-Dh for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 18:03:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoPUz-0003au-7x for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 18:03:02 -0500 Original-Received: from smtp150.dfw.emailsrvr.com ([67.192.241.150]:52875) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoPUz-0003ad-26 for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2010 18:03:01 -0500 Original-Received: from relay5.relay.dfw.mlsrvr.com (localhost [127.0.0.1]) by relay5.relay.dfw.mlsrvr.com (SMTP Server) with ESMTP id 7BE073EF198 for ; Sun, 7 Mar 2010 18:02:59 -0500 (EST) Original-Received: by relay5.relay.dfw.mlsrvr.com (Authenticated sender: postmaster-AT-vaircompanies.com) with ESMTPSA id 5ED493EF121 for ; Sun, 7 Mar 2010 18:02:59 -0500 (EST) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sun, 07 Mar 2010 18:52:53 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 07 Mar 2010 18:54:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 08 Mar 2010 00:35:09 -0500 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: , 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:35486 Archived-At: I start the emacs daemon as "emacs -Q --daemon" and then run "emacsclient -t file". The four cursor-movement keys, as well as page-up and page-down, seem to be misinterpreted if one of them is the first key pressed in emacsclient. For example, page-down inserts the text "6~" in the buffer if it is the first key pressed in emacsclient after the emacs daemon is started. The down arrow key causes the following message to appear in the minibuffer: "Font-lock mode will override any faces you set in this buffer". Right arrow says: "M-o C is undefined". But if any of these keys is pressed a second time, it performs its expected function (scroll-up, next-line, forward-char, respectively). Also, if a second emacsclient is started, these keys function correctly at all times. But if I kill and start a new emacs server, the first use of any of these keys again appears to be misinterpreted. If I kill the emacs server and then run a standalone emacs (e.g. emacs -nw file) the keys work correctly at all times. They also work correctly at all times if I use "emacsclient -c" instead of "-t". I am using GNOME Terminal 2.28.1 in Ubuntu 9.10. I would be greatful for any advice. thanks, paul In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-10 on vernadsky, modified by Debian configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/l\ ib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/et\ c/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: nil 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_US.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 tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-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: ESC [ > 1 ; 2 2 0 2 ; 0 c ESC O B ESC O A ESC O B ESC x r e p o r t - e m a c s - b u g RET Recent messages: ("emacs" "-Q") Starting Emacs daemon. When done with this frame, type C-x 5 0 Font-lock mode will override any faces you set in this buffer