GNU bug report logs - #811
23.0.60; emacsclient -t inserts one char when pressing an arrow key

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tassilo <at> member.fsf.org>

Date: Thu, 28 Aug 2008 19:15:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 811 in the body.
You can then email your comments to 811 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#811; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Tassilo Horn <tassilo <at> member.fsf.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Tassilo Horn <tassilo <at> member.fsf.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; emacsclient -t inserts one char when pressing an arrow key
Date: Thu, 28 Aug 2008 21:06:59 +0200
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

1. Start emacs -Q
2. eval (server-start)
3. from a terminal, invoke emacsclient -t some-file
4. Press <left>, <right>, <up> or <down>

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.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.0.60/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-08-26 on thinkpad
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-gpm' '--with-dbus' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-mtune=core2 -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed''

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: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  yas/minor-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  window-number-meta-mode: t
  window-number-mode: t
  savehist-mode: t
  exec-abbrev-cmd-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<escape> q C-c g <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <down> <down> <up> <return> 
<return> F C-k C-k C-k H i SPC R a l f , <return> <down> 
M-q <down> <down> <down> <down> <down> M-q <down> <up> 
<down> <down> <return> Y e p <backspace> s , SPC t 
h a t SPC w o r k s . SPC SPC T h a n k s SPC a SPC 
l o t ! <return> <return> b <tab> C-k C-k C-k C-k C-k 
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-c C-c c <return> 
SPC <return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> SPC <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> SPC <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
SPC <return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> SPC c <return> c <return> 
SPC SPC <backspace> SPC SPC <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> SPC <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> SPC SPC SPC SPC SPC <return> <return> 
<return> <return> <return> <return> <return> <return> 
SPC SPC <down> <down> <down> <down> c <down> <down> 
<down> <down> <down> <down> <down> <down> <return> 
1 <return> <return> q <return> SPC c <return> SPC SPC 
SPC SPC <down> <return> <down> <return> c <help-echo> 
M-x r e b <return> <right> <return>

Recent messages:
20080828T205613.487> Generating summary...
20080828T205613.722> Generating summary...done
Adding "Re: Haskell Mode?" to field "subjects"
Don't suspect your neighbor: report him!
 
Adding "Bug in C-n" to field "subjects"
20080828T205655.497> Exiting summary buffer and applying spam rules
20080828T205655.644> nnimap: Setting marks in INBOX.mailinglists.emacs-devel...
20080828T205655.661> nnimap: Setting marks in INBOX.mailinglists.emacs-devel...done
Auto-saving...

-- 
Richard Stallman  doesn't use web  browsers. Emacs connects  directly to
the network driver and he reads and writes TCP/IP himself.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#811; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 811 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Tassilo Horn <tassilo <at> member.fsf.org>
Cc: 811 <at> debbugs.gnu.org
Subject: Re: 23.0.60; emacsclient -t inserts one char when pressing an arrow key
Date: Thu, 28 Aug 2008 15:44:54 -0400
> 1. Start emacs -Q
> 2. eval (server-start)
> 3. from a terminal, invoke emacsclient -t some-file
> 4. Press <left>, <right>, <up> or <down>
>
> 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.

Thanks.  I can reproduce this too.  Do you know whether or not this
problem only appeared recently?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#811; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Tassilo Horn <tassilo <at> member.fsf.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 811 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Tassilo Horn <tassilo <at> member.fsf.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 811 <at> debbugs.gnu.org
Subject: Re: 23.0.60; emacsclient -t inserts one char when pressing an arrow key
Date: Thu, 28 Aug 2008 22:01:07 +0200
Chong Yidong <cyd <at> stupidchicken.com> writes:

Hi!

>> 1. Start emacs -Q
>> 2. eval (server-start)
>> 3. from a terminal, invoke emacsclient -t some-file
>> 4. Press <left>, <right>, <up> or <down>
>>
>> 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.
>
> Thanks.  I can reproduce this too.  Do you know whether or not this
> problem only appeared recently?

No, sorry.  Normally I use emacsclient -c all the time.  But since
nobody has reported it before, I'd say the problematic change shouldn't
be too old.

Bye,
Tassilo
-- 
Richard Stallman can coerce meaningful data from /dev/null.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#811; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #20 received at 811 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: emacs-devel <at> gnu.org
Cc: 811 <at> debbugs.gnu.org
Subject: Re: 23.0.60; emacsclient -t inserts one char when pressing an arrow key
Date: Fri, 29 Aug 2008 18:39:52 -0400
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 <left>, <right>, <up> or <down>
>
> 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.




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Tassilo Horn <tassilo <at> member.fsf.org>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #25 received at 811-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Tassilo Horn <tassilo <at> member.fsf.org>
Cc: 811-done <at> debbugs.gnu.org
Subject: Re: 23.0.60; emacsclient -t inserts one char when pressing an arrow key
Date: Tue, 09 Sep 2008 14:20:24 -0400
> 1. Start emacs -Q
> 2. eval (server-start)
> 3. from a terminal, invoke emacsclient -t some-file
> 4. Press <left>, <right>, <up> or <down>
>
> 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.

I've checked in a fix.




Message #26 received at 811-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Tassilo Horn <tassilo <at> member.fsf.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 811-done <at> debbugs.gnu.org
Subject: Re: 23.0.60; emacsclient -t inserts one char when pressing an arrow key
Date: Wed, 10 Sep 2008 08:38:13 +0200
Chong Yidong <cyd <at> stupidchicken.com> writes:

Hi Chong,

>> 1. Start emacs -Q
>> 2. eval (server-start)
>> 3. from a terminal, invoke emacsclient -t some-file
>> 4. Press <left>, <right>, <up> or <down>
>>
>> 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.
>
> I've checked in a fix.

I can confirm it works now.  Thanks a ton!

Bye,
Tassilo
-- 
Richard Stallman is my shephurd, and I am his GNU.




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 08 Oct 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.