GNU bug report logs - #6758
23.2; xterm.el: please provide an option to not discard input in terminal-init-xterm

Previous Next

Package: emacs;

Reported by: Jim Paris <jim <at> jtan.com>

Date: Thu, 29 Jul 2010 20:32:02 UTC

Severity: normal

Merged with 8482, 11129

Found in versions 23.2, 23.4

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 6758 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jim Paris <jim <at> jtan.com>
Cc: 6758 <at> debbugs.gnu.org, Johan Bockgård <bojohan <at> gnu.org>
Subject: Re: bug#6758: 23.2;
	xterm.el: please provide an option to not discard input in
	terminal-init-xterm
Date: Tue, 03 Aug 2010 00:21:09 +0200
> Forget the time-dependent part of what I said, let's just send the
> query and handle the response whenever it happens to come in.  See
> the below patch.  This fixes everything -- it still detects both
> modifyOtherKeys and the background color, but doesn't require flushing
> input or rely on any timeouts at all, unlike the existing code.
> And there's nothing tricky.  What do you think?

Looks pretty good from here, thank you.
We may want to get rid of the "\e[>" (and "\e]11;") decode rules after
they've been used, just in case (or better yet: make them more
robust).

Any objection?


        Stefan




This bug report was last modified 12 years and 131 days ago.

Previous Next


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