[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31692: Emacs sometimes drops key events
From: |
Michael Heerdegen |
Subject: |
bug#31692: Emacs sometimes drops key events |
Date: |
Thu, 05 Jul 2018 21:07:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> I actually prefer my original code in this case, because it's closer
> to what process_quit_flag does when quit-flag is tested while BODY
> runs.
I found a case where this doesn't work as I had expected.
I want to use `while-no-input' to calculate a helpful string for
`minibuffer-message' when reading certain input from the minibuffer, and
also use `sit-for' (inside the `while-no-input') to add delays
between/after minibuffer messages. When I hit C-g when this runs, I get
a normal quit instead of what C-g is bound to in the minibuffer. My
current fix is to catch the quit (once again) and call the command that
is bound to C-g.
Thanks,
Michael.
- bug#31692: Emacs sometimes drops key events,
Michael Heerdegen <=