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 14:24:35 +0100 Message-ID: <8735jstw4s.fsf@gmx.net> References: <87pmmyt2oj.fsf@rub.de> <87v8wpl1ok.fsf@yahoo.com> <87pmmxl1k0.fsf@yahoo.com> <87o82gu8ps.fsf@gmx.net> <87fsnslpp6.fsf@yahoo.com> <87k0d4u4lw.fsf@gmx.net> <878rtklov8.fsf@yahoo.com> <87fsnsu35u.fsf@gmx.net> <87wnh4k88p.fsf@yahoo.com> <87bkygu0yf.fsf@gmx.net> <87r17ck6g4.fsf@yahoo.com> <877d94tzvj.fsf@gmx.net> <87h788k3b8.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="16677"; 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 14:27:01 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 1nRZrh-0004Cj-HT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Mar 2022 14:27:01 +0100 Original-Received: from localhost ([::1]:41498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRZrg-0005z1-1j for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Mar 2022 08:27:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRZpm-0004x5-Fi for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2022 08:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33330) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRZpm-0000NC-6C for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2022 08:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRZpl-0008Is-QM for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2022 08:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Mar 2022 13:25: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.164674588631887 (code B ref 54289); Tue, 08 Mar 2022 13:25:01 +0000 Original-Received: (at 54289) by debbugs.gnu.org; 8 Mar 2022 13:24:46 +0000 Original-Received: from localhost ([127.0.0.1]:55460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRZpW-0008IE-K5 for submit@debbugs.gnu.org; Tue, 08 Mar 2022 08:24:46 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:47719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRZpU-0008Hy-Uv for 54289@debbugs.gnu.org; Tue, 08 Mar 2022 08:24:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1646745876; bh=xPB1Bydhu/vvJFFWMaEiVqby4vXpVvNYS2x7xHx0lG0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=iHwiJIMV376tieO9hDqQrqkEw2suhoKbtUcZoXBX/ApyJki6bymuKDBZzrLBnNre9 YfM7j1mnqifDBdCHk9S686ymJ8W0BVQ2lUF7xXrFb+wr3vg94ztHNz+J5prYwnJaPw ZNMjHWvii5A0i65P+ENXQZ4u5koN5+nO91/UKzGg= 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 1Mz9Ux-1oM0AB12mp-00wEYU; Tue, 08 Mar 2022 14:24:36 +0100 In-Reply-To: <87h788k3b8.fsf@yahoo.com> (Po Lu's message of "Tue, 08 Mar 2022 20:59:39 +0800") X-Provags-ID: V03:K1:SMgYxHToZk7Z1PxInvXxbMn+6g5E/e5OBagbdmQmgEjc/VHvNZC cv0B50IOV//N1ZJGDo1xc03g9YGHgfT09UAjCN6TzdJAVO5MvmvT/oLdWQqws5TOJfYh0Le dzlsbnwqMM+MslatIASplLB2d3dunkB4E+Nj5d0+/ArTG5fJd4sPk4h22MncpPPq6nQElPA CUOGHGwhb3g1HgJaT7oAw== X-UI-Out-Filterresults: notjunk:1;V03:K0:RLhTGWvBr0E=:ugcGq30hg5FGHMxpkkp58W OxCgIEmqr4ddWh38UHGXrWpGHNHu6U3eNGEt5pLyWKQV1BUH7a4CcrP4ZCClDydpj21wWpOL3 KV5Wob1cAg4eiIkascwI38kiQBQRaCQD5VI+Ynup03UmqcfbciU0xy32No8UuL5W2ZQodPhyL Vw0XmgHb5bzw2SH/1doGXAeCbLtCitH2szddCK8yhjKKcdf/y14aGw9aYJI2yRT0b/whJynRQ s7FogodXm+hCn1fqnP5rWJsS88S1cZadC6B6OELnvF6AByeG6OULOHwwWjfB2BDHSt5YJOhmx u0jwy+Wd9nP+/vHcjR4sK1A94YRH4XNhykOCG7KE6AEvFprdGxFVyFsxdFjtwJ+wkdlw8YjON 2PHHPcUWQkpYUXjRRmgvvg8TSrgjjEBsvnkJ5wZyJHSjKaMWCq8uPx2qbxC4QxV33bCbeymYt 5SfuQ3Dm5ayImBk4PJeNKloI08BJItUaCzEgyQmttP+xHjGbdBcs729P0pgnsmxbFeXoljWZE qpbU7Fbpw5K44LvT9Xi62VJFaSBz277HxAesWeIr1sI5vE4eLjVNpujXAhEyRw7PSjTC6WOHL JGGGauq6tdTDZDAM7pwfp0IY3QNz08l6pggMwnTVoNfETq/FWyioVVFofjU+CSzAmphEu5PZs wadgvoUQnfGEQQ+wtIMD7PExLihaGX437CsPJbV7DndAWDtZsXtCDHUNTx7FE1PgoeJA+FYQl /dUUpZoYUErPm4XSBPAoj/NpO1wuR8/bTGXKTYI74Yv0qVZf8Eygky0QU0KDbqwSMr1OJQQv 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:228142 Archived-At: On Tue, 08 Mar 2022 20:59:39 +0800 Po Lu wrote: > Stephen Berman writes: > >> xmodmap: up to 4 keys per modifier, (keycodes in parentheses): >> >> shift Shift_L (0x32), Shift_R (0x3e) >> lock >> control Control_L (0x25), Control_L (0x42), Control_R (0x69) >> mod1 Alt_L (0x40), Meta_L (0xcd) >> mod2 Num_Lock (0x4d) >> mod3 >> mod4 slash (0x85), Super_R (0x86), slash (0xce), Hyper_L (0xcf) >> mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) >> >> I ran `xmodmap .Xmodmap' with those lines added and then ran just >> xmodmap, getting the above ouput. This is identical to the output of >> xmodmap I sent previously, without the added lines from you. Do the >> added lines need to be in a particular order with respect to the >> existing lines? Currently my .Xmodmap has these uncommented lines, in >> the order listed: >> >> remove Lock = Caps_Lock >> keysym Caps_Lock = Control_L >> add Control = Control_L >> remove mod4 = Super_R >> remove mod4 = Hyper_L >> remove mod4 = slash >> keysym Super_L = slash >> keysym Menu = backslash >> >> Steve Berman > > What happens if you run this command after loading the .Xmodmap file? > > $ xmodmap -e 'remove mod4 = Super_R' -e 'remove mod4 = Hyper_L' -e \ > 'remove mod4 = slash' With that Super_L (the Windows key) is again recognized as `/' in emacs-29 and also in Firefox. Why does this work but having the mappings in .Xmodmap doesn't? (I also tried putting those three mappings after the five mappings I've been using for years in .Xmodmap, but it makes no difference.) Steve Berman