GNU bug report logs - #66558
29.1; .Xmodmap Win-key configurations cause keybinding issues

Previous Next

Package: emacs;

Reported by: Dev Null <patriot.game <at> gmail.com>

Date: Sun, 15 Oct 2023 14:49:01 UTC

Severity: normal

Found in version 29.1

Full log


Message #8 received at 66558 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Dev Null <patriot.game <at> gmail.com>
Cc: 66558 <at> debbugs.gnu.org
Subject: Re: bug#66558: 29.1; .Xmodmap Win-key configurations cause
 keybinding issues
Date: Mon, 16 Oct 2023 08:56:09 +0800
Dev Null <patriot.game <at> gmail.com> writes:

> The following lines of my '~/.Xmodmap' file remap my left Win key
> to Ctrl:
>
> remove mod4 = Super_L
> add control = Super_L
>
> When I run GUI Emacs with this in place, entering any keybinding 'C-s-X
> is undefined', where X is the key that I pressed. E.g. if I press 'C-n',
> I get the following:
>
> 'C-s-n is undefined'

My powers of clairvoyance enable me to deduce that another key is bound
to control, in all likelihood Control_L.  You must remove _every_ key
from a real modifier you rebind, or Emacs will rightly attribute to
events with it pressed the detritus of previous bindings that remains.




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

Previous Next


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