[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: numpad doesnt seem to send kp events in wayland
From: |
Stefan Monnier |
Subject: |
Re: numpad doesnt seem to send kp events in wayland |
Date: |
Wed, 23 Oct 2024 09:06:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> using (read-key) in emacs-pgtk, both the numpad and the number row are
> received as the same event:
Lower-level is `read-event`: `read-key` has code to specifically
"decode" key events. [ But I doubt it'll make a difference based on
what you posted earlier. ]
> I get the same in a emacs gtk session.
Hmm... so what was the other session?
> Maybe gtk is doing something weird?
No comment 🙂
> I will need to compile some other type of emacs toolkit next I guess.
I'd actually suggest a bug report.
Stefan
PS: You can rewrite your macro into a function. I.e.
(defmacro sylt-song-event-map-key (key num)
`(define-key cider-mode-map (kbd ,key)
(lambda ()
(interactive)
(cider-nrepl-sync-request:eval
,(concat "(sylt.core/song-event \"" num "\")")))))
to
(defun sylt-song-event-map-key (key num)
(define-key cider-mode-map (kbd key)
(lambda ()
(interactive)
(cider-nrepl-sync-request:eval
(concat "(sylt.core/song-event \"" num "\")")))))
[ This needs your file to start with the `-*- lexical-binding:t -*-`
thingy, of course. ]
- numpad doesnt seem to send kp events in wayland, joakim, 2024/10/21
- Re: numpad doesnt seem to send kp events in wayland, Arsen Arsenović, 2024/10/22
- Re: numpad doesnt seem to send kp events in wayland, joakim, 2024/10/23
- Re: numpad doesnt seem to send kp events in wayland,
Stefan Monnier <=
- Re: numpad doesnt seem to send kp events in wayland, joakim, 2024/10/24
- Re: numpad doesnt seem to send kp events in wayland, Stefan Monnier, 2024/10/24
- Re: numpad doesnt seem to send kp events in wayland, joakim, 2024/10/25
- Re: numpad doesnt seem to send kp events in wayland, Stefan Monnier, 2024/10/25
- Re: numpad doesnt seem to send kp events in wayland, joakim, 2024/10/29