GNU bug report logs - #65488
29.1; Modifiers stack when modifier keys are remapped in x-server

Previous Next

Package: emacs;

Reported by: Johan Bengtsson <Johan.Bengtsson <at> iar.com>

Date: Thu, 24 Aug 2023 08:10:01 UTC

Severity: normal

Tags: notabug

Found in version 29.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Johan Bengtsson <Johan.Bengtsson <at> iar.com>, 65488 <at> 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
tags 65488 notabug
close 65488
thanks

Po Lu <luangruo <at> yahoo.com> writes:

> Johan Bengtsson <Johan.Bengtsson <at> 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.




This bug report was last modified 1 year and 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.