From: Stefan Kangas <stefankangas@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: Johan Bengtsson <Johan.Bengtsson@iar.com>, 65488@debbugs.gnu.org
Subject: bug#65488: 29.1; Modifiers stack when modifier keys are remapped in x-server
Date: Sat, 2 Sep 2023 09:19:36 -0700 [thread overview]
Message-ID: <CADwFkmnonUTeRGci+QcbtwAPd=C8-oqP7zh+Fsda9s8p5yOhuQ@mail.gmail.com> (raw)
In-Reply-To: <87lee069gi.fsf@yahoo.com> (Po Lu's message of "Thu, 24 Aug 2023 18:06:21 +0800")
tags 65488 notabug
close 65488
thanks
Po Lu <luangruo@yahoo.com> writes:
> Johan Bengtsson <Johan.Bengtsson@iar.com> writes:
>
>> To reproduce:
>> * Map the "windows key" to Meta_L in your x-server. Assuming the Gnome
>> environment this is done using Gnome tweaks. Set Keyboard & Mouse > Additional
>> Layout Options > Alt and Win behavior to "Meta is mapped to Win"
>> * Start Emacs
>> * Press "windows key + x"
>>
>> Emacs will then complain that "M-s-x" is unmapped.
>
> This is a bug in GNOME we've already been appraised of several times.
>
> Emacs now uses the XKB extension to establish the relationship between
> virtual modifiers and real modifier bits within an X server, which is
> capable of detecting when multiple virtual modifiers are associated with
> the same modifier bit.
>
> You probably need to run:
>
> $ xmodmap
>
> ascertain which modifier bit is bound to Super, and remove the
> extraneous virtual modifier from that bit.
It seems like this is not a bug in Emacs, so I'm closing it.
Thanks.
prev parent reply other threads:[~2023-09-02 16:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-24 8:03 bug#65488: 29.1; Modifiers stack when modifier keys are remapped in x-server Johan Bengtsson
2023-08-24 10:06 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-24 20:48 ` Stefan Kangas
2023-09-02 16:19 ` Stefan Kangas [this message]
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='CADwFkmnonUTeRGci+QcbtwAPd=C8-oqP7zh+Fsda9s8p5yOhuQ@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=65488@debbugs.gnu.org \
--cc=Johan.Bengtsson@iar.com \
--cc=luangruo@yahoo.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).