[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31692: Emacs sometimes drops key events
From: |
Eli Zaretskii |
Subject: |
bug#31692: Emacs sometimes drops key events |
Date: |
Thu, 05 Jul 2018 22:27:11 +0300 |
> From: Michael Heerdegen <michael_heerdegen@web.de>
> Cc: radon.neon@gmail.com, 31692@debbugs.gnu.org, monnier@IRO.UMontreal.CA
> Date: Thu, 05 Jul 2018 21:07:08 +0200
>
> 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.
I don't think you can reliably rebind C-g. For starters, it produces
SIGINT on TTY frames, so I think rebinding will have no effect, at
least in that use case.
Anyway, can you show some Lisp to reproduce the issue?
Thanks.