GNU bug report logs -
#65488
29.1; Modifiers stack when modifier keys are remapped in x-server
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65488 in the body.
You can then email your comments to 65488 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#65488
; Package
emacs
.
(Thu, 24 Aug 2023 08:10:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Johan Bengtsson <Johan.Bengtsson <at> iar.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 24 Aug 2023 08:10:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33,
cairo version 1.16.0) of 2023-08-22, modified by Debian built on
SEUPPLX093
Repository revision: 79daa8ed367235dae549aaf46a8a38567ec70b71
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.12201001
System Description: Ubuntu 22.04.3 LTS
Configured using:
'configure --build x86_64-linux-gnu --prefix=/usr
--sharedstatedir=/var/lib --libexecdir=/usr/libexec
--localstatedir=/var/lib --infodir=/usr/share/info
--mandir=/usr/share/man --with-libsystemd --with-pop=yes
--enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/site-lisp:/usr/share/emacs/site-lisp
--with-sound=alsa --without-gconf --with-mailutils
--with-native-compilation --build x86_64-linux-gnu --prefix=/usr
--sharedstatedir=/var/lib --libexecdir=/usr/libexec
--localstatedir=/var/lib --infodir=/usr/share/info
--mandir=/usr/share/man --with-libsystemd --with-pop=yes
--enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/site-lisp:/usr/share/emacs/site-lisp
--with-sound=alsa --without-gconf --with-mailutils
--with-native-compilation --with-cairo --with-x=yes
--with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
-ffile-prefix-map=/home/johanb/slask/deb-emacs=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall'
'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2
XPM GTK3 ZLIB
Important settings:
value of $LC_CTYPE: sv_SE.UTF-8
value of $LC_MONETARY: sv_SE.UTF-8
value of $LC_NUMERIC: sv_SE.UTF-8
value of $LC_TIME: sv_SE.UTF-8
value of $LANG: C
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
global-git-commit-mode: t
magit-auto-revert-mode: t
shell-dirtrack-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
column-number-mode: t
line-number-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Features:
(shadow sort mail-extr emacsbug cus-edit pp cus-start cus-load
dot-region company lsp-mode lsp-protocol yasnippet-snippets yasnippet
xref project tree-widget wid-edit spinner network-stream nsm
markdown-mode color thingatpt noutline outline lv inline ht f f-shortdoc
s ewoc compile magit-submodule magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log which-func imenu
magit-diff smerge-mode diff diff-mode easy-mmode git-commit log-edit
message sendmail yank-media puny dired dired-loaddefs rfc822 mml mml-sec
epa derived epg rfc6068 epg-config gnus-util text-property-search
time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils
mailheader pcvs-util add-log magit-core magit-autorevert autorevert
filenotify magit-margin magit-transient magit-process with-editor comp
comp-cstr warnings icons shell pcomplete comint ansi-osc ring server
ansi-color magit-mode transient cl-extra edmacro kmacro help-mode
magit-git magit-base magit-section format-spec cursor-sensor crm dash
compat ample-zen-theme time-stamp mic-paren jka-compr useful finder-inf
site-start c-electric-operator vc-svn cmake-mode-autoloads
elpy-autoloads flycheck-autoloads forge-autoloads closql-autoloads
jq-mode-autoloads json-mode-autoloads lsp-ui-autoloads magit-autoloads
pcase magit-section-autoloads git-commit-autoloads package+-autoloads
popup-autoloads realgud-recursive-autoloads lsp-mode-autoloads
markdown-mode-autoloads sideline-autoloads transient-autoloads rx
websocket-autoloads info compat-autoloads yasnippet-snippets-autoloads
package browse-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie generate-lisp-file url-domsuf url-util mailcap
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
password-cache json subr-x map byte-opt gv bytecomp byte-compile
url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
native-compile emacs)
Memory information:
((conses 16 482129 60014)
(symbols 48 32378 9)
(strings 32 142838 11790)
(string-bytes 1 3882451)
(vectors 16 55285)
(vector-slots 8 951807 39906)
(floats 8 223 67)
(intervals 56 432 97)
(buffers 984 12))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#65488
; Package
emacs
.
(Thu, 24 Aug 2023 10:07:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 65488 <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#65488
; Package
emacs
.
(Thu, 24 Aug 2023 20:49:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 65488 <at> debbugs.gnu.org (full text, mbox):
> This is a bug in GNOME we've already been appraised of several times.
Do you happen to have a reference to the bug numbers where this was
previously discussed? Thanks in advance.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#65488
; Package
emacs
.
(Sat, 02 Sep 2023 16:20:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 65488 <at> debbugs.gnu.org (full text, mbox):
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.
Added tag(s) notabug.
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 02 Sep 2023 16:20:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
65488 <at> debbugs.gnu.org and Johan Bengtsson <Johan.Bengtsson <at> iar.com>
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 02 Sep 2023 16:20:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 01 Oct 2023 11:24:32 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.