From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.bugs Subject: bug#34984: ns-right-command-modifier has influence to left Date: Tue, 26 Mar 2019 12:46:18 +0900 Message-ID: References: <20190325.095737.39407904584981029.tkk@misasa.okayama-u.ac.jp> <20190325214155.GA48792@breton.holly.idiocy.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="192435"; mail-complaints-to="usenet@blaine.gmane.org" Cc: =?UTF-8?Q?=E5=9B=BD=E5=BA=83=E5=8D=93=E4=B9=9F?= , 34984@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 26 04:56:50 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8dCk-000nxg-G8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Mar 2019 04:56:50 +0100 Original-Received: from localhost ([127.0.0.1]:52191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8dCj-0000WO-DQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Mar 2019 23:56:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8dAm-0007pS-V6 for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2019 23:54:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8d3G-0007b8-1Z for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2019 23:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45349) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h8d3F-0007au-Qt for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2019 23:47:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h8d3F-0005P8-Kp for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2019 23:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Mar 2019 03:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34984 X-GNU-PR-Package: emacs Original-Received: via spool by 34984-submit@debbugs.gnu.org id=B34984.155357200320746 (code B ref 34984); Tue, 26 Mar 2019 03:47:01 +0000 Original-Received: (at 34984) by debbugs.gnu.org; 26 Mar 2019 03:46:43 +0000 Original-Received: from localhost ([127.0.0.1]:58893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h8d2x-0005OY-4t for submit@debbugs.gnu.org; Mon, 25 Mar 2019 23:46:43 -0400 Original-Received: from mlsec.cc.okayama-u.ac.jp ([42.127.236.175]:29336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h8d2u-0005OH-S8 for 34984@debbugs.gnu.org; Mon, 25 Mar 2019 23:46:42 -0400 Original-Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by mlsec.cc.okayama-u.ac.jp with smtp id 7ec8_a24c_2ff232a2_661e_4d5e_b6e3_badd396be9fb; Tue, 26 Mar 2019 12:46:28 +0900 Original-Received: from [192.168.1.53] (vesta.misasa.okayama-u.ac.jp [150.46.48.154]) by alml002.ouadm.okayama-u.ac.jp (Postfix) with ESMTPSA id 16F144C0CBA; Tue, 26 Mar 2019 12:46:19 +0900 (JST) In-Reply-To: <20190325214155.GA48792@breton.holly.idiocy.org> X-Mailer: Apple Mail (2.3445.104.8) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 5 Rules triggered GME_TWTRE=0.1, EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV6510=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6510> : inlines <7044> : streams <1816789> : uri <2819749> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156802 Archived-At: Dear Alan, > Can you replicate the issue with the master branch? > The modifier handling has been almost completely rewritten in it. I tested on 27.0.50. The results are the same. > Does the right command key work correctly? It does not work correctly. Even after (setq ns-right-command-modifier = =E2=80=98meta), `rightcommand-x=E2=80=99 gives `s-x=E2=80=99. > Do you use any third=E2=80=90party key remapping software? I connected USB keyboard not specifically designed for macOS. I swap `Option Key' and `Command Key=E2=80=99 using on Keyboard panel=20 in System Preferences. I do not use third-party key remapping software. Tak GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin18.5.0, NS appkit-1671.40 = Version 10.14.4 (Build 18E226)) of 2019-03-26 macOS Mojave 10.14.4 Mac mini (2018) ~/Downloads/emacs/nextstep/Emacs.app/Contents/MacOS/Emacs -Q C-h k leftcommand-x s-x runs the command kill-region (found in global-map),... c-h k rightcommand-x s-x runs the command kill-region (found in global-map),... M-: (setq ns-right-command-modifier 'meta) C-h k leftcommand-x M-x runs the command execute-extended-command (found in global-map),... c-h k rightcommand-x s-x runs the command kill-region (found in global-map), ... > On Mar 26, 2019, at 06:41, Alan Third wrote: >=20 > On Mon, Mar 25, 2019 at 09:57:37AM +0900, Tak Kunihiro wrote: >> On macOS, assignment for left-command key is controlled >> by that for right-command key. >>=20 >> GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS = appkit-1348.17 Version 10.10.5 (Build 14F2511)) of 2018-05-31 >> macOS Mojave 10.14.3 >> Mac mini (2018) >>=20 >> /Applications/Emacs.app/Contents/MacOS/Emacs -Q >> C-h k leftcommand-x >> s-x runs the command kill-region (found in global-map),... >> M-: (setq ns-right-command-modifier 'meta) >> C-h k leftcommand-x >> M-x runs the command execute-extended-command (found in = global-map),... >>=20 >> This does not happen with Mac mini (2012) with other parameters and >> the same keyboard. >=20 > Hi Tak, some questions: >=20 > Can you replicate the issue with the master branch? The modifier > handling has been almost completely rewritten in it. >=20 > Does the right command key work correctly? >=20 > Do you use any third=E2=80=90party key remapping software?