bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34535: 27.0.50; emacs -nw: while-no-input + sit-for + <KEY> => Quit


From: Michael Heerdegen
Subject: bug#34535: 27.0.50; emacs -nw: while-no-input + sit-for + <KEY> => Quit
Date: Sat, 23 Feb 2019 05:27:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> The below seems to fix the problem, but I hope you also have a more
> complex real-life use case, because I'm not really sure this solution
> has no adverse effects elsewhere.

My use case was like this:

Attachment: test.el
Description: application/emacs-lisp

This seems fixed for me with your patch.

In real real life, I made it so that while-no-input only covers the
computation needed for the minibuffer hint (counting matches) which must
be interruptible, but not the sit-for used to delay the minibuffer hint
being removed.  That sit-for was inside while-no-input originally was a
matter of laziness, I was able to rewrite it to circumvent the issue.


Thanks,

Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]