GNU bug report logs - #1495
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:55:04 UTC

Severity: normal

Merged with 1494

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

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Dan Nicolaescu <dann <at> ics.uci.edu>, 1495 <at> debbugs.gnu.org,
        Paul R <paul.r.ml <at> gmail.com>, emacs-devel <at> gnu.org
Subject: Re: emacs -nw inserts unwanted chars if user is impatient
Date: Thu, 11 Dec 2008 11:32:39 -0500
> Discard pending input before doing the terminal query seems to fix the
> bug for me.  I don't know if it's possible for the user's input to come
> inat exactly at the correct moment to fool the terminal query; if so, a
> more complicated solution might be required.

While arguing that there's probably no way to do much better than that,
it occurred to me that "the right way" to do it might be to move the
"check for \e [ > NUMBER1 ; NUMBER2 ; NUMBER3 c and run
xterm-turn-on-modify-other-keys if applicable" into the
input-decode-map.


        Stefan




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

Previous Next


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