From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#54289: 29.0.50; Emacs ignores xmodmap Super_L assignment Date: Tue, 08 Mar 2022 09:52:47 +0100 Message-ID: <87o82gu8ps.fsf@gmx.net> References: <87pmmyt2oj.fsf@rub.de> <87v8wpl1ok.fsf@yahoo.com> <87pmmxl1k0.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34263"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 54289@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 08 09:53:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRVag-0008j3-JR for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Mar 2022 09:53:10 +0100 Original-Received: from localhost ([::1]:57610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRVaf-0004VH-5Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Mar 2022 03:53:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRVaY-0004V4-8U for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2022 03:53:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRVaX-00047i-Vm for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2022 03:53:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRVaX-0005LS-OF for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2022 03:53:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87pmmyt2oj.fsf@rub.de> Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Mar 2022 08:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54289 X-GNU-PR-Package: emacs Original-Received: via spool by 54289-submit@debbugs.gnu.org id=B54289.164672957720537 (code B ref 54289); Tue, 08 Mar 2022 08:53:01 +0000 Original-Received: (at 54289) by debbugs.gnu.org; 8 Mar 2022 08:52:57 +0000 Original-Received: from localhost ([127.0.0.1]:55203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRVaT-0005LB-Hw for submit@debbugs.gnu.org; Tue, 08 Mar 2022 03:52:57 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:52131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRVaS-0005Kv-DN for 54289@debbugs.gnu.org; Tue, 08 Mar 2022 03:52:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1646729568; bh=9fhI0YDzbnGbqr4smaVKafW9c1ifgKiZP5Cg4efTfmw=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date; b=dZKxn+zcVNMsrsMudT6+htvq5hCkIZ3Wc8XN/s4QLsrGpOZ6BTL1csYxJQAVWfVxl 4rqhfiNMey9cJgF0huYwqqQc0A+T+jUnmRlkFvTQS7HxfHTHlY59woHMdNkE7hUgAU dx1SIIcR2c2j7cmq/RKWnxqm0z+6aKaDtd0KiyXI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobelfs2 ([89.246.36.100]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MK3Vu-1njive1aNq-00LXro; Tue, 08 Mar 2022 09:52:48 +0100 X-Provags-ID: V03:K1:HxkCU+BJUu6wg67GTwgMZ3u/54wtkfZtlULTjP+awGCRyLZvGj5 INyjf9xQnmjD5OL2K/kaOYIqdzGvQw0bhj9K6pwF4bEyUAY8ENKfdHEzsSQsKE0yz/KFJ63 enzAUN/pCBTHUXlCwataNlxEhGN89sD5kuGvLHYgtmt+YYi6TCQ3CYZxVR1I+DDyd9BgwsP Fr+vDmuyxyfIHbr/IhorQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:CLyuu/dgbno=:D1KiLA1xdF/AhvVPmLpiao tiHXfAmo4c5iuXJASEgEg6OKDEBam/UyD8SpdHwfzqoIt0F7jcqN7iKjtBDtoQtcWrYAEWe86 YN7WJhNQRMCewGFCIielfIsvvU1dppDUvtxmIFDhpyM+QMEScRqUgcoQKxDpJq3YqYhcbn4xP OF1Ftf53ddcUKw0YiIcZ6xr0r83zdE6sPc7VxNdtkwTBQX4dWP70fQbX+iHqPCYGBxVUfyzAh nz3j1ZVF05S3zYp9OdWT7i0OS0uMkt/q0CZlVxHOK4zgP8XBas+9dcPOtW/c4euBGl+ugoMXw iYyZZ3fT7plW1YwoJGfmBA+tWVVJG3AJ2HCXKmvEzd13t3nVV/aLvuj2+SI1wOv9OHSRuWCeb rMsuaAIMJ363+NJYu1qSjzAv3qU7UmAnT3bZgysiHKnamuPIvcK/GpdV3RRYaCYMAPdVAhVyw cW8ubgBTBXpXY4WSzt6xX+40NUS+O2XZe3DWgymGEyrTyuHaFXCFZX3g3nkzTXMsqWLIM68p0 ddpXZHQG9s7nSaGi5PQtPeamvEzDqTEqitzZyYYO9AfEgcS8nhR5ivf5dZe1+zEYembxgW4so Hyp67YSIiVxtekuUuRpMdO8VnRoIGotthPpIujyvrwaPiAooeT0dhoVykl0CBMimmZRe4wkr2 KaTtMeN3q0DZIvPJD7QTYFQ/uk5Cf6H4q/mdVJbGKnT6JH1d95rHxNnWPCmledwBtKtuPvblq tGyzjs7T3B8ur7NktfxWpERhAB4bIz/EJfqggLom+16CM49Z0T4VXoQ/JqSwpH2A7LUiaWhZ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:228132 Archived-At: On Tue, 08 Mar 2022 08:39:59 +0800 Po Lu wrote: > Po Lu writes: > >> Stephen Berman 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