[Top][All Lists]

[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: Wed, 06 Jun 2018 04:58:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Does it produce the character you type, though?  Because if it
> doesn't, then whether or not you see "Quit" doesn't matter much, IMO,
> at least not for the main issue at hand.

Hmm, right, it doesn't.

But I do not only see the issue in the aggressive-indent-mode, but also
an issue in Emacs...you don't?

For `aggressive-indent-mode' - I think they should use an idle timer:
Add something to `post-command-hook' that activates the timer, or resets
the idle time when the timer is already there.  When the timer fires,
you don't need `sit-for' - and the problem only occurs when
`while-no-input' and `sit-for' are combined.  The timer just calls the
aggressive indent function wrapped in `while-no-input'.


reply via email to

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