From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: 67458@debbugs.gnu.org, execvy@gmail.com
Subject: bug#67458: 30.0.50; Emacs Pgtk doesn't recognize Hyper key on Linux Wayland
Date: Mon, 25 Dec 2023 17:09:44 +0200 [thread overview]
Message-ID: <83o7ee9v47.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkm=OxwtKodZ2X-DEnmOgUYRApeFe=Emem74_hAAa-t2+dw@mail.gmail.com> (message from Stefan Kangas on Mon, 25 Dec 2023 06:34:45 -0800)
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Mon, 25 Dec 2023 06:34:45 -0800
> Cc: 67458@debbugs.gnu.org
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: Eval Exec <execvy@gmail.com>
> >> Date: Sun, 26 Nov 2023 18:31:31 +0800
> >>
> >> Hello, I'm have an Emacs Pgtk build from NixOS's emacs-overlay,
> >> And I Re-maped left ctrl key as Hyper key, and set the Hyper key as Mod3:
> >> ```bash
> >> $ xmodmap
> >> xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
> >>
> >> shift Shift_L (0x32), Shift_R (0x3e)
> >> lock
> >> control Control_L (0x42), Control_R (0x69)
> >> mod1 Alt_L (0x40), Alt_R (0x6c), Alt_L (0xcc), Meta_L (0xcd)
> >> mod2 Num_Lock (0x4d)
> >> mod3 Hyper_L (0x25), ISO_Level5_Shift (0xcb), Hyper_L (0xcf)
> >> mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce)
> >> mod5 ISO_Level3_Shift (0x5c)
> >> ```
> >>
> >> As you can see, `Hyper_L` is `mod3`.
> >>
> >> But when I open `emacs-pgtk` and M-x describe-key, then press
> >> `Hyper_L` (original left control) and `p` key, emacs just recognizes
> >> it as a single `p` key. This is not expected. I expect Emacs will
> >> recognize its `H-p` key.
> >>
> >> And I can confirm this issue does not happen on non pgtk emacs. Emacs
> >> non-pkgtk will recognize `Hyper_L` + `p` as `H-p` in `describe-key`.
> >
> > This is a known problem, see etc/PROBLEMS (search for "PGTK").
> >
> > Unfortunately, there's no known solution or workaround.
>
> Do we leave this bug open? Tag it as "help"? "wontfix"?
The latter, I think.
next prev parent reply other threads:[~2023-12-25 15:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-26 10:31 bug#67458: 30.0.50; Emacs Pgtk doesn't recognize Hyper key on Linux Wayland Eval Exec
2023-11-26 18:21 ` Eli Zaretskii
2023-12-25 14:34 ` Stefan Kangas
2023-12-25 15:09 ` Eli Zaretskii [this message]
2023-12-25 18:17 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83o7ee9v47.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=67458@debbugs.gnu.org \
--cc=execvy@gmail.com \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).