unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#811: 23.0.60; emacsclient -t inserts one char when pressing an arrow key
@ 2008-08-28 19:06 Tassilo Horn
  0 siblings, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2008-08-28 19:06 UTC (permalink / raw)
  To: emacs-pretest-bug


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@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.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#811: 23.0.60; emacsclient -t inserts one char when pressing an arrow key
@ 2008-08-28 19:44 Chong Yidong
  2008-08-28 20:01 ` Tassilo Horn
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2008-08-28 19:44 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: 811

> 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?






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#811: 23.0.60; emacsclient -t inserts one char when pressing an arrow key
  2008-08-28 19:44 Chong Yidong
@ 2008-08-28 20:01 ` Tassilo Horn
  0 siblings, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2008-08-28 20:01 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 811

Chong Yidong <cyd@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.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#811: 23.0.60; emacsclient -t inserts one char when pressing an arrow key
@ 2008-08-29 22:39 Chong Yidong
  0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2008-08-29 22:39 UTC (permalink / raw)
  To: emacs-devel; +Cc: 811

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.






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-29 22:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29 22:39 bug#811: 23.0.60; emacsclient -t inserts one char when pressing an arrow key Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2008-08-28 19:44 Chong Yidong
2008-08-28 20:01 ` Tassilo Horn
2008-08-28 19:06 Tassilo Horn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).