unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: don@donarmstrong.com (Emacs bug Tracking System)
To: Chong Yidong <cyd@stupidchicken.com>
Subject: bug#1495: marked as done (emacs -nw inserts unwanted chars if  user is impatient)
Date: Fri, 5 Dec 2008 20:05:05 -0800	[thread overview]
Message-ID: <handler.1495.D1494.122853583225551.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 87bpvr8vgz.fsf@gmail.com

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]


Your message dated Fri, 05 Dec 2008 22:57:12 -0500
with message-id <87ljuuot0n.fsf@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@donarmstrong.com
immediately.)


-- 
1494: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1494
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3240 bytes --]

From: Paul R <paul.r.ml@gmail.com>
To: submit@emacsbugs.donarmstrong.com
Subject: emacs -nw inserts unwanted chars if user is impatient
Date: Thu, 04 Dec 2008 22:46:20 +0100
Message-ID: <87bpvr8vgz.fsf@gmail.com>


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



[-- Attachment #3: Type: message/rfc822, Size: 1083 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: 1494-done@emacsbugs.donarmstrong.com
Subject: Re: emacs -nw inserts unwanted chars if user is impatient
Date: Fri, 05 Dec 2008 22:57:12 -0500
Message-ID: <87ljuuot0n.fsf@cyd.mit.edu>

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	other threads:[~2008-12-06  4:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ljuuot0n.fsf@cyd.mit.edu>
2008-12-04 21:39 ` bug#1494: emacs -nw inserts unwanted chars if user is impatient Paul R
2008-12-06  4:05   ` bug#1494: marked as done (emacs -nw inserts unwanted chars if user is impatient) Emacs bug Tracking System
2008-12-04 21:46 ` bug#1495: emacs -nw inserts unwanted chars if user is impatient Paul R
2008-12-06  4:05   ` Emacs bug Tracking System [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.1495.D1494.122853583225551.ackdone@emacsbugs.donarmstrong.com \
    --to=don@donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).