emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v1] Let input queue deal gracefully with up-events


From: David Kastrup
Subject: Re: [PATCH v1] Let input queue deal gracefully with up-events
Date: Thu, 05 Feb 2015 18:23:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> * keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
> (parse_modifiers_uncached): React gracefully to "up-" modifiers:
> those may easily be injected by user-level Lisp code.
> (read_key_sequence): Discard unbound up-events like unbound
> down-events: they are even more likely only relevant for special
> purposes.
>
> While Emacs will not produce up-events on its own currently (those are
> converted to drag or click events before being converted to
> Lisp-readable structures), the input queue can be made to contain them
> by synthesizing events to `unread-command-events'.  This patch makes
> Emacs deal consistently with such events.

I've created bug report
<URL:http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19746>.  Judging from
the number of wishlist items in the tracker including a patch, that does
not appear to increase its chances of getting applied but at least it is
then rotting in the proper place.

-- 
David Kastrup



reply via email to

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