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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1494 in the body.
You can then email your comments to 1494 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#1494; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Paul R <paul.r.ml <at> gmail.com>:
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: 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




Merged 1494 1495. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 04 Dec 2008 22:15:03 GMT) Full text and rfc822 format available.

Merged 1494 1495. Request was from "Juanma Barranquero" <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Thu, 04 Dec 2008 22:45:04 GMT) Full text and rfc822 format available.

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

Notification sent to Paul R <paul.r.ml <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

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

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.




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

Notification sent to Paul R <paul.r.ml <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 09 Jan 2009 15:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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