GNU bug report logs - #1494
emacs -nw inserts unwanted chars if user is impatient

Previous Next

Package: emacs;

Reported by: Paul R <paul.r.ml <at> gmail.com>

Date: Thu, 4 Dec 2008 21:45:04 UTC

Severity: normal

Merged with 1495

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#1494: marked as done (emacs -nw inserts unwanted chars if 
 user is impatient)
[Message part 1 (text/plain, inline)]
Your message dated Fri, 05 Dec 2008 22:57:12 -0500
with message-id <87ljuuot0n.fsf <at> cyd.mit.edu>
and subject line Re: emacs -nw inserts unwanted chars if user is impatient
has caused the Emacs bug report #1494,
regarding emacs -nw inserts unwanted chars if user is impatient
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
1494: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1494
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul R <paul.r.ml <at> gmail.com>
To: submit <at> debbugs.gnu.org
Subject: emacs -nw inserts unwanted chars if user is impatient
Date: Thu, 04 Dec 2008 22:39:28 +0100
Hi,

I usually work on X version of emacs 23. However, sometime, I just want
to alter a config file from the terminal. In this case I type 

   emacs -nw conf_file.conf

Very often I know that the line I want to go to is fairly low so before
emacs has finished to load I'm already pressing C-n waiting for the
display to show line and point. I guess a lot of user do the same and
often don't wait for the display to finish before typing what they want.

In this particular case, emacs would insert strange chars at point, for
example : 1;1704;0c

You won't be warned, and it will be saved along with your real
modifications, which is embarassing.

To reproduce, open any multiline file from the terminal, for example
.bash_history, with 'emacs -nw' and immediatly maintain C-n until the
display come up entirely. You should find at point the strange chars.

Tested with emacs23cvs with -Q on Gnu/Linux with xterm and
gnome-terminal.


-- 
  Paul


[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: 1494-done <at> debbugs.gnu.org
Subject: Re: emacs -nw inserts unwanted chars if user is impatient
Date: Fri, 05 Dec 2008 22:57:12 -0500
I don't see any other way to handle this, so I've checked in the fix
involving discarding pending input before reading the reply to the
terminal attributes query.


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

Previous Next


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