[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 3b41141708: Expose the name of an event's input device to Lis
From: |
Stefan Monnier |
Subject: |
Re: master 3b41141708: Expose the name of an event's input device to Lisp |
Date: |
Thu, 07 Apr 2022 19:41:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>> Any chance we could attach this info to the events rather than storing
>> them in some global var making it unclear to which event it applies?
>
> We can't put it in the event list, i.e. key events are mostly just
> characters, and can't be extended.
I thought we only need it for events like scroll events, i.e. not for
plain character events.
> Which event the global variable applies to is also perfectly clear: it
> applies to the last event that was read, either by the command loop or
> read-event.
Yeah, it works, but relying on state is ugly and better avoided if
we can.
Stefan
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Stefan Monnier, 2022/04/07
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/07
- Re: master 3b41141708: Expose the name of an event's input device to Lisp,
Stefan Monnier <=
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/07
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Eli Zaretskii, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Eli Zaretskii, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Eli Zaretskii, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Eli Zaretskii, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Eli Zaretskii, 2022/04/09