all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Dev Null <patriot.game@gmail.com>
Cc: 66558@debbugs.gnu.org
Subject: bug#66558: 29.1; .Xmodmap Win-key configurations cause keybinding issues
Date: Mon, 16 Oct 2023 08:56:09 +0800	[thread overview]
Message-ID: <87ttqr75cm.fsf@yahoo.com> (raw)
In-Reply-To: <CAHULj=MXV3-TcsL5SkqXCMz+OYW5Gf4H=hobx1mNMyjF1RjeGQ@mail.gmail.com> (Dev Null's message of "Sun, 15 Oct 2023 04:44:18 -0400")

Dev Null <patriot.game@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.





  reply	other threads:[~2023-10-16  0:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-15  8:44 bug#66558: 29.1; .Xmodmap Win-key configurations cause keybinding issues Dev Null
2023-10-16  0:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-10-16  9:52   ` Dev Null
2023-10-16 10:59     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=87ttqr75cm.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=66558@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=patriot.game@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.