* bug#15614: [Sébastien Gross] Patch correctif bug#15614
[not found] ` <871tvc63a2.fsf@kanis.fr>
@ 2014-05-29 15:51 ` Stefan Monnier
2014-05-31 20:14 ` Ivan Kanis
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2014-05-29 15:51 UTC (permalink / raw)
To: Ivan Kanis; +Cc: Sebastien Gross, 15614
> (let ((read (read-event nil window-system seconds)))
That's an interesting workaround. Tho you'd probably want the reverse:
(let ((read (read-event nil (not window-system) seconds)))
after all, you're probably working in a GUI frame and you want nil.
The patch that fixes bug#14782 used t because that's what was needed
under a tty.
> Since window-system is nil on tty and set on others it should fix both
> bugs. What do you think? I will do diligent test if you're OK with this.
It won't fix your test case under a tty, but it should fix your test
case in GUI frames while still keeping bug#14782 fixed (which only bit
in tty frames).
>> A good workaround for your particular problem would be to change
>> flyspell so as not to use sit-for (use an idle timer instead).
> I don't mind doing that. However it seems like a rubber band rather than
> a fix.
I did say "workaround". But it would be a good thing in any case, since
the use of `sit-for' in there introduces various other problems.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-02 8:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <8761ko6fbr.fsf@kanis.fr>
[not found] ` <jwvzji0ixb8.fsf-monnier+emacs@gnu.org>
[not found] ` <871tvc63a2.fsf@kanis.fr>
2014-05-29 15:51 ` bug#15614: [Sébastien Gross] Patch correctif bug#15614 Stefan Monnier
2014-05-31 20:14 ` Ivan Kanis
[not found] ` <jwv38fpl9vd.fsf-monnier+emacs@gnu.org>
2014-06-02 8:53 ` Sébastien Gross
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).