all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>, Eval Exec <execvy@gmail.com>
Cc: 67458@debbugs.gnu.org
Subject: bug#67458: 30.0.50; Emacs Pgtk doesn't recognize Hyper key on Linux Wayland
Date: Mon, 25 Dec 2023 06:34:45 -0800	[thread overview]
Message-ID: <CADwFkm=OxwtKodZ2X-DEnmOgUYRApeFe=Emem74_hAAa-t2+dw@mail.gmail.com> (raw)
In-Reply-To: <83msv09xzg.fsf@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"?





  reply	other threads:[~2023-12-25 14:34 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 [this message]
2023-12-25 15:09     ` Eli Zaretskii
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=OxwtKodZ2X-DEnmOgUYRApeFe=Emem74_hAAa-t2+dw@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=67458@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=execvy@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.