unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Po Lu <luangruo@yahoo.com>
Cc: 54289@debbugs.gnu.org
Subject: bug#54289: 29.0.50; Emacs ignores xmodmap Super_L assignment
Date: Tue, 08 Mar 2022 09:52:47 +0100	[thread overview]
Message-ID: <87o82gu8ps.fsf@gmx.net> (raw)
In-Reply-To: <87pmmyt2oj.fsf@rub.de>

On Tue, 08 Mar 2022 08:39:59 +0800 Po Lu <luangruo@yahoo.com> wrote:

> Po Lu <luangruo@yahoo.com> writes:
>
>> Stephen Berman <stephen.berman@gmx.net> writes:
>>
>>> I have these entries in ~/.Xmodmap:
>>>
>>> keysym Super_L = slash
>>> keysym Menu = backslash
>>>
>>> In my latest build from master (details below), the Super_L assignment
>>> is ignored and Emacs does not react at all to pressing the Super_L key
>>> (the Menu assignment is still recognized).  According to git bisect the
>>> following commit introduced this behavior change:
>>
>> Thanks, that's very odd.  Do GTK programs also ignore this mapping?

AFAIK Xfce4 uses Gtk3, and e.g. xfce4-terminal and thunar (file manager)
recognize my Super_L mapping to `/'.  LibreOffice does too.  The only
other program I use that ignores Super_L is Firefox, but it has since
long before this Emacs problem started (with your commit 15910e5d
according to git bisect); I've search the web about this Firefox issue
but haven't found anything.

> If that is so, you probably have a stray modifier bound to Super_L
> (perhaps Mod4?)
>
> In that case, you should also add:
>
>   remove Super_L = Mod4
>
> Or something of the sorts to your .Xmodmap.

The only uncommented lines im my .Xmodmap file are these:

remove Lock      = Caps_Lock
keysym Caps_Lock = Control_L
add    Control   = Control_L
keysym Super_L = slash
keysym Menu = backslash

Of these, Emacs fails to recognize only the Super_L mapping, since the
above-mentioned commit.  (As an experiment I added `remove Super_L =
Mod4' before the Super_L = slash mapping, logged out and back in, but
the result was that none of the .Xmodmap mappings were recognized, not
just in Emacs but also e.g. in xfce4-terminal.  So I removed that line
to restore the status quo ante.)

Steve Berman





  reply	other threads:[~2022-03-08  8:52 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 11:36 bug#54289: 29.0.50; Emacs ignores xmodmap Super_L assignment Stephen Berman
2022-03-07 15:24 ` Lars Ingebrigtsen
2022-03-07 15:53   ` Stephen Berman
2022-03-07 15:59     ` Lars Ingebrigtsen
2022-03-07 16:14       ` Stephen Berman
2022-03-08  0:37 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-08  0:39   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-08  8:52     ` Stephen Berman [this message]
2022-03-08 10:10       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-08 10:21         ` Stephen Berman
2022-03-08 10:28           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-08 10:52             ` Stephen Berman
2022-03-08 11:13               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-08 11:40                 ` Stephen Berman
2022-03-08 11:51                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-08 12:03                     ` Stephen Berman
2022-03-08 12:59                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-08 13:24                         ` Stephen Berman
2022-03-08 13:35                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-08 13:55                             ` Stephen Berman
2022-03-08 13:52                           ` Andreas Schwab
2022-03-08 14:02                             ` Stephen Berman
2022-03-08 14:21                               ` Andreas Schwab

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=87o82gu8ps.fsf@gmx.net \
    --to=stephen.berman@gmx.net \
    --cc=54289@debbugs.gnu.org \
    --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).