[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: |
Tue, 05 Jun 2018 23:40:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> My reading of the documentation of while-no-input is that yes, this
> is the expected behavior. The description in the ELisp manual is
> especially explicit about "quit-like" effect of early arrival of
> input.
AFAIU, this quit-like effect should be limited to `while-no-input' and
not be propagated to top-level. I also read the documentation of the
low-level tools with which this is implemented - `throw-input' and
`quit-flag', and that also gives me the impression that generating a
"quit" signal is not intended (that would also be not very useful). We
only want a quit to come through when the user really quits (C-g) -
that's while `while-no-input' (which uses `with-local-quit' that sets
`quit-flag') explicitly quit - but only when a quit had been
intercepted.
I made some further experiments with my test function
#+begin_src emacs-lisp
(defun test ()
(interactive)
(while-no-input
(sit-for 3))
(message "Done"))
#+end_src
What I found was that when I load the source file subr.el, or only the
definition of `sit-for', calling `test' and hitting a key does not
produce a quit any more. Something here seems not kosher.
Michael.
- bug#31692: Emacs sometimes drops key events, Radon Rosborough, 2018/06/02
- bug#31692: Emacs sometimes drops key events, Michael Heerdegen, 2018/06/04
- bug#31692: Emacs sometimes drops key events, Eli Zaretskii, 2018/06/04
- bug#31692: Emacs sometimes drops key events, Radon Rosborough, 2018/06/04
- bug#31692: Emacs sometimes drops key events, Eli Zaretskii, 2018/06/05
- bug#31692: Emacs sometimes drops key events,
Michael Heerdegen <=
- bug#31692: Emacs sometimes drops key events, Eli Zaretskii, 2018/06/05
- bug#31692: Emacs sometimes drops key events, Michael Heerdegen, 2018/06/05
- bug#31692: Emacs sometimes drops key events, Eli Zaretskii, 2018/06/06
- bug#31692: Emacs sometimes drops key events, Michael Heerdegen, 2018/06/06
- bug#31692: Emacs sometimes drops key events, Eli Zaretskii, 2018/06/07
- bug#31692: Emacs sometimes drops key events, Eli Zaretskii, 2018/06/06
- bug#31692: Emacs sometimes drops key events, Michael Heerdegen, 2018/06/06
- bug#31692: Emacs sometimes drops key events, Eli Zaretskii, 2018/06/07
- bug#31692: Emacs sometimes drops key events, Stefan Monnier, 2018/06/07
- bug#31692: Emacs sometimes drops key events, Eli Zaretskii, 2018/06/07