GNU bug report logs - #34984
ns-right-command-modifier has influence to left

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Tak Kunihiro <tkk@HIDDEN>; dated Mon, 25 Mar 2019 00:59:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 34984 <at> debbugs.gnu.org:


Received: (at 34984) by debbugs.gnu.org; 29 Mar 2019 08:42:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 29 04:42:27 2019
Received: from localhost ([127.0.0.1]:35029 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h9n5n-0005ZD-0T
	for submit <at> debbugs.gnu.org; Fri, 29 Mar 2019 04:42:27 -0400
Received: from mlsec.cc.okayama-u.ac.jp ([42.127.236.175]:49125)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tkk@HIDDEN>) id 1h9n5k-0005Yt-P3
 for 34984 <at> debbugs.gnu.org; Fri, 29 Mar 2019 04:42:25 -0400
Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by
 mlsec.cc.okayama-u.ac.jp with smtp
 id 5bd9_5727_7fbdb848_d482_4870_b028_963756cb15ca;
 Fri, 29 Mar 2019 17:42:11 +0900
Received: from localhost (vesta.misasa.okayama-u.ac.jp [150.46.48.154])
 by alml002.ouadm.okayama-u.ac.jp (Postfix) with ESMTPSA id 936D54C0A37;
 Fri, 29 Mar 2019 17:42:02 +0900 (JST)
Date: Fri, 29 Mar 2019 17:42:02 +0900 (JST)
Message-Id: <20190329.174202.1797444747117651115.tkk@HIDDEN>
To: alan@HIDDEN
Subject: Re: bug#34984: ns-right-command-modifier has influence to left
From: Tak Kunihiro <tkk@HIDDEN>
In-Reply-To: <20190328215229.GB52808@HIDDEN>
References: <20190325214155.GA48792@HIDDEN>
 <B439F84D-942C-40EB-8C05-C3CFC66FD34E@HIDDEN>
 <20190328215229.GB52808@HIDDEN>
X-Mailer: Mew version 6.8 on Emacs 26.1
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 11
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 4 Rules triggered
 EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV6513=0
X-NAI-Spam-Version: 2.3.0.9418 : core <6513> : inlines <7045> : streams
 <1817095> : uri <2821815>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 34984
Cc: tkk@HIDDEN, 34984 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>> > 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.
> 
> Thanks.
> 
>> I connected USB keyboard not specifically designed for macOS.
>> I swap `Option Key' and `Command Key$B!G(B using on Keyboard panel 
>> in System Preferences.  I do not use third-party key remapping
>> software.
> 
> I can replicate this. The key is to swap command and option. I also
> see it using my swapped caps lock $B!>(B> ctrl. It shows up as right
> control when I would expect it to be left.
> 
> For the record the Mac port has the same issue.
> 
> Sorry, I can$B!G(Bt think of any way round it.

I'm okay.  I wanted the right-command key acts as Apple key when I
have to switch between Excel and Emacs 100 times but such opportunity
is very rare.

Thank you to take a look of the problem.  I will keep trying to
report problems of Emacs on macOS.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#34984; Package emacs. Full text available.

Message received at 34984 <at> debbugs.gnu.org:


Received: (at 34984) by debbugs.gnu.org; 29 Mar 2019 08:35:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 29 04:35:41 2019
Received: from localhost ([127.0.0.1]:35025 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h9mzF-0005Oa-5j
	for submit <at> debbugs.gnu.org; Fri, 29 Mar 2019 04:35:41 -0400
Received: from mail-eopbgr1360112.outbound.protection.outlook.com
 ([40.107.136.112]:34848 helo=AUS01-ME1-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nick@HIDDEN>) id 1h9mzC-0005OD-PB
 for 34984 <at> debbugs.gnu.org; Fri, 29 Mar 2019 04:35:39 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=UVAAoeuuBqRJGMjMCS2COzFwMsQG3p6WfGFafOH/A7I=;
 b=hrhVs0rWFdazaOqlM8Cq5hIUeyYgxKBTnI4GYwh7tGQpii63kieMw/j4fSchdb3Cv9dQhQdWtSMEcJpQHZtotqXaqxZbolS4FMN2A/PfMWjlCzaHoV9G6uCF/XMQyLYHAQwMh0WXO1LhoUpntsAbgIbY/W+aqy2cHtKGRv6MBUI=
Received: from SYCPR01MB3711.ausprd01.prod.outlook.com (20.177.141.213) by
 SYCPR01MB4173.ausprd01.prod.outlook.com (20.177.107.206) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1750.16; Fri, 29 Mar 2019 08:35:29 +0000
Received: from SYCPR01MB3711.ausprd01.prod.outlook.com
 ([fe80::ed7b:428a:ce69:4231]) by SYCPR01MB3711.ausprd01.prod.outlook.com
 ([fe80::ed7b:428a:ce69:4231%5]) with mapi id 15.20.1750.014; Fri, 29 Mar 2019
 08:35:29 +0000
From: Nick Helm <nick@HIDDEN>
To: Alan Third <alan@HIDDEN>
Subject: Re: bug#34984: ns-right-command-modifier has influence to left
Thread-Topic: bug#34984: ns-right-command-modifier has influence to left
Thread-Index: AQHU5gpcevNpWWJNk06L1Zf/x4iuFg==
Date: Fri, 29 Mar 2019 08:35:28 +0000
Message-ID: <m2o95uyt6a.fsf@HIDDEN>
References: <20190325.095737.39407904584981029.tkk@HIDDEN>
 <20190325214155.GA48792@HIDDEN>
 <B439F84D-942C-40EB-8C05-C3CFC66FD34E@HIDDEN>
 <20190328215229.GB52808@HIDDEN>
In-Reply-To: <20190328215229.GB52808@HIDDEN> (Alan Third's
 message of "Thu, 28 Mar 2019 21:52:29 +0000")
Accept-Language: en-NZ, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-clientproxiedby: SYXPR01CA0102.ausprd01.prod.outlook.com
 (2603:10c6:0:2d::11) To SYCPR01MB3711.ausprd01.prod.outlook.com
 (2603:10c6:10:37::21)
authentication-results: spf=none (sender IP is )
 smtp.mailfrom=nick@HIDDEN; 
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [125.239.121.63]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 38baa8bf-cbf6-4083-16f1-08d6b4217f3f
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(5600127)(711020)(4605104)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(2017052603328)(7153060)(7193020);
 SRVR:SYCPR01MB4173; 
x-ms-traffictypediagnostic: SYCPR01MB4173:
x-microsoft-antispam-prvs: <SYCPR01MB41738DA927AA186AB86EAA12FE5A0@HIDDEN>
x-forefront-prvs: 0991CAB7B3
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10019020)(366004)(396003)(346002)(376002)(39830400003)(136003)(199004)(189003)(6116002)(54906003)(25786009)(256004)(53936002)(2906002)(14444005)(6436002)(6486002)(4326008)(229853002)(81166006)(81156014)(8676002)(71200400001)(93886005)(6512007)(508600001)(316002)(105586002)(6246003)(36756003)(6506007)(14454004)(106356001)(52116002)(476003)(446003)(99286004)(74482002)(5660300002)(7736002)(66066001)(2616005)(71190400001)(86362001)(68736007)(11346002)(97736004)(8936002)(102836004)(386003)(26005)(6916009)(486006)(305945005)(3846002)(186003)(76176011);
 DIR:OUT; SFP:1102; SCL:1; SRVR:SYCPR01MB4173;
 H:SYCPR01MB3711.ausprd01.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; A:0; MX:1; 
received-spf: None (protection.outlook.com: tenpoint.co.nz does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: HTSTOEfxD+yAjdvjnlirqbUtMoosHPfcCY/MyldTi1JptS6738Xe+9ss7wsuIigboWO+gLAcQluHH62T/klWMf69oWaeN4pUwgr5dGCwwU54GoM40Ri/D79VOy5C2wSfr1ihT+6toHcxHPBZ1NCNKOrHoXoqRU+ouUEs+8HwjVuEKOgr1wiqhpf6Hqbee6/dExGqZPdDKwpDRIYus001AZoGEpHvCToF0RNAelKepC8AMlCJWvig87/UUClab3mNhqyixMtCIhHWHEneWg/RZICbWpEDz0LKjGEI/ZM7OP7kMIMn9JyXnKuXrBKQkebbReo/s4xntfEe+P3RupQB+PxHR/+x+pLKP9kPFEHKLm8uG/wL96MAK0WUVKKoPMDseGJM6L46NdxL0029gOYit2IG4K0MBFWqwKI7ZSolxkg=
Content-Type: text/plain; charset="utf-8"
Content-ID: <7B3BA7565B11074188E3B007E8B8B5F9@HIDDEN>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: tenpoint.co.nz
X-MS-Exchange-CrossTenant-Network-Message-Id: 38baa8bf-cbf6-4083-16f1-08d6b4217f3f
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2019 08:35:28.9781 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ed686f26-19e8-407b-91d0-7364c1c6f5cf
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYCPR01MB4173
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 34984
Cc: Tak Kunihiro <tkk@HIDDEN>,
 "34984 <at> debbugs.gnu.org" <34984 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

QWxhbiBUaGlyZCA8YWxhbkBpZGlvY3kub3JnPiB3cml0ZXM6DQoNCj4gSSBjYW4gcmVwbGljYXRl
IHRoaXMuIFRoZSBrZXkgaXMgdG8gc3dhcCBjb21tYW5kIGFuZCBvcHRpb24uIEkgYWxzbw0KPiBz
ZWUgaXQgdXNpbmcgbXkgc3dhcHBlZCBjYXBzIGxvY2sg4oCQPiBjdHJsLiBJdCBzaG93cyB1cCBh
cyByaWdodA0KPiBjb250cm9sIHdoZW4gSSB3b3VsZCBleHBlY3QgaXQgdG8gYmUgbGVmdC4NCj4N
Cj4gVW5mb3J0dW5hdGVseSBJ4oCZbSBub3Qgc3VyZSB3aGF0IHdlIGNhbiBkbyBhYm91dCBpdC4g
DQoNClRoaXMgb25seSBzZWVtcyB0byBoYXBwZW4gd2hlbiB0aGUgbW9kaWZpZXJzIGFyZSBzd2Fw
cGVkIHVzaW5nIFN5c3RlbQ0KUHJlZmVyZW5jZXMuIE9uIG15IG1hY2hpbmUgdGhlIHByb2JsZW0g
Z29lcyBhd2F5IGlmIEkgcmVtYXAgdXNpbmcNCmFub3RoZXIgbWV0aG9kLiANCg0KVHJ5IHB1dHRp
bmcgdGhlIG1vZGlmaWVycyBiYWNrIHRvIHRoZWlyIGRlZmF1bHRzIGluIFN5c3RlbSBQcmVmZXJl
bWNlcw0KdGhlbiBydW5uaW5nIHRoZSBmb2xsb3dpbmcgY29tbWFuZCAodGhpcyBzd2FwcyBldmVu
dHMgbGVmdF9hbHQgYW5kDQpsZWZ0X2d1aSwgYW5kIHJpZ2h0X2FsdCBhbmQgcmlnaHRfZ3VpKS4g
Tm90ZSB0aGF0IHRoaXMgd29uJ3Qgc3Vydml2ZQ0KcmVib290Lg0KDQokIGhpZHV0aWwgcHJvcGVy
dHkgLS1zZXQgJ3siVXNlcktleU1hcHBpbmciOlt7IkhJREtleWJvYXJkTW9kaWZpZXJNYXBwaW5n
U3JjIjoweDcwMDAwMDBFMiwiSElES2V5Ym9hcmRNb2RpZmllck1hcHBpbmdEc3QiOjB4NzAwMDAw
MEUzfSx7IkhJREtleWJvYXJkTW9kaWZpZXJNYXBwaW5nU3JjIjoweDcwMDAwMDBFMywiSElES2V5
Ym9hcmRNb2RpZmllck1hcHBpbmdEc3QiOjB4NzAwMDAwMEUyfSx7IkhJREtleWJvYXJkTW9kaWZp
ZXJNYXBwaW5nU3JjIjoweDcwMDAwMDBFNiwiSElES2V5Ym9hcmRNb2RpZmllck1hcHBpbmdEc3Qi
OjB4NzAwMDAwMEU3fSx7IkhJREtleWJvYXJkTW9kaWZpZXJNYXBwaW5nU3JjIjoweDcwMDAwMDBF
NywiSElES2V5Ym9hcmRNb2RpZmllck1hcHBpbmdEc3QiOjB4NzAwMDAwMEU2fV19Jw0KDQpZb3Ug
Y2FuIHByb2JhYmx5IGRvIHNpbWlsYXIgdHJpY2tzIHdpdGgga2FyYWJpbmVyIGFuZCBvdGhlciBr
ZXkNCnJlbWFwcGVycy4gDQoNCk5pY2sNCg==




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#34984; Package emacs. Full text available.

Message received at 34984 <at> debbugs.gnu.org:


Received: (at 34984) by debbugs.gnu.org; 28 Mar 2019 21:52:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 17:52:40 2019
Received: from localhost ([127.0.0.1]:34836 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h9cwy-00089T-Ex
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2019 17:52:40 -0400
Received: from mail-wr1-f46.google.com ([209.85.221.46]:37521)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <athird@HIDDEN>) id 1h9cww-00089D-D1
 for 34984 <at> debbugs.gnu.org; Thu, 28 Mar 2019 17:52:39 -0400
Received: by mail-wr1-f46.google.com with SMTP id w10so121936wrm.4
 for <34984 <at> debbugs.gnu.org>; Thu, 28 Mar 2019 14:52:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20161025;
 h=sender:date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:content-transfer-encoding:in-reply-to
 :user-agent; bh=Xz6Je2qyZDKs5W3S7XndAIbTByGnmyyehRPlxCyRrJo=;
 b=YXJh48yBt7JJUhMYa6hmnJ4RJfRe9C4UaBhbXHbbMXdQuxkA1ESB37Xtc7NzxNPVMd
 pmw2kUSptQwgMtoHBc1BrrOh+8tI2/6tNPj0+aEmVAnNjsoVg791Uw05VPFCBkPNZL9+
 tYserzySqb2WO9iyXrkqiGh7pEjF9C8oJhm7SCCcx5+gDp8vITQThVrWl6utC0JSmBmh
 TjUZQvVm4I+RNTXnLaWsGyzRsxcCnWv9nsfQMJZxRiSuhGG9BVNCswlSGM9BPl1rmCOd
 o0hLkIk3OB6t2qggMxGWpE6rmJO+OBY1+ke4dA4mAlTQiaIDJW57spWmY1a8ciGYuLrY
 SY9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:date:from:to:cc:subject:message-id
 :references:mime-version:content-disposition
 :content-transfer-encoding:in-reply-to:user-agent;
 bh=Xz6Je2qyZDKs5W3S7XndAIbTByGnmyyehRPlxCyRrJo=;
 b=OwgpN37H2wb7lZbhuqKhXH6nBO0OJeCti8Zq5gBecjd3bkoGsZLeQ2ow7r5rkQhqSS
 1+jJXe7pAUyq19qZmUr2aiRAWCDCxiGNljJfvIz+t7veVA2V28Tfuu+BL0llki2Rf2lA
 qWzI9YMvHMXv85kGBTNtZ6fiuffsb6+RdQ3U5cuAuWA2qmTANtLQHT1fhm/dpCrtALVP
 yii76CRks/XifO1fXU0ZVr2Ry/ZzzAnXqwWm163gdBDPJ8jb8Aw1PeiMtQIyI3+XtzFq
 W9axoCuD7TgnQCTLqF3613Ix+eDm5BwPZMi6L8jaTlk7/N8ELhNifynRZCA2Nby2HO+R
 7cGw==
X-Gm-Message-State: APjAAAXkHs6tStQFi8/71VznG/tm5ePwi5s/M4YCVUvkAkfPyj/ibrrw
 I/6LcDC+41kXtZv1EJb92uElPq9x
X-Google-Smtp-Source: APXvYqzH+hlWz4MHRMHkyJ0/CLhAugXYH+rNdk5xWvyxQQ1OtWmcPYbvdoCYTf5rQQI6VsJg/46Ycg==
X-Received: by 2002:a5d:6681:: with SMTP id l1mr7493357wru.186.1553809952315; 
 Thu, 28 Mar 2019 14:52:32 -0700 (PDT)
Received: from breton.holly.idiocy.org
 (ip6-2001-08b0-03f8-8129-6c8e-2e7d-cd87-789a.holly.idiocy.org.
 [2001:8b0:3f8:8129:6c8e:2e7d:cd87:789a])
 by smtp.gmail.com with ESMTPSA id z14sm193157wrv.78.2019.03.28.14.52.31
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 28 Mar 2019 14:52:31 -0700 (PDT)
Date: Thu, 28 Mar 2019 21:52:29 +0000
From: Alan Third <alan@HIDDEN>
To: Tak Kunihiro <tkk@HIDDEN>
Subject: Re: bug#34984: ns-right-command-modifier has influence to left
Message-ID: <20190328215229.GB52808@HIDDEN>
References: <20190325.095737.39407904584981029.tkk@HIDDEN>
 <20190325214155.GA48792@HIDDEN>
 <B439F84D-942C-40EB-8C05-C3CFC66FD34E@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <B439F84D-942C-40EB-8C05-C3CFC66FD34E@HIDDEN>
User-Agent: Mutt/1.11.3 (2019-02-01)
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 34984
Cc: 34984 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Tue, Mar 26, 2019 at 12:46:18PM +0900, Tak Kunihiro wrote:
> 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.

Thanks.

> I connected USB keyboard not specifically designed for macOS.
> I swap `Option Key' and `Command Key’ using on Keyboard panel 
> in System Preferences.  I do not use third-party key remapping
> software.

I can replicate this. The key is to swap command and option. I also
see it using my swapped caps lock ‐> ctrl. It shows up as right
control when I would expect it to be left.

Unfortunately I’m not sure what we can do about it. I don’t think we
have any way of determining whether the keys have been swapped. And
even if we did, whether the keyboard is a USB one.

Someone with an Apple developer account could raise it on radar, but
as the keycodes we’re using to determine left vs right are unofficial
I don’t know if Apple would do anything.

For the record the Mac port has the same issue.

Sorry, I can’t think of any way round it.
-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#34984; Package emacs. Full text available.

Message received at 34984 <at> debbugs.gnu.org:


Received: (at 34984) by debbugs.gnu.org; 26 Mar 2019 03:46:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 25 23:46:43 2019
Received: from localhost ([127.0.0.1]:58893 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h8d2x-0005OY-4t
	for submit <at> debbugs.gnu.org; Mon, 25 Mar 2019 23:46:43 -0400
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 <tkk@HIDDEN>) id 1h8d2u-0005OH-S8
 for 34984 <at> debbugs.gnu.org; Mon, 25 Mar 2019 23:46:42 -0400
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
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)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
Subject: Re: bug#34984: ns-right-command-modifier has influence to left
From: Tak Kunihiro <tkk@HIDDEN>
In-Reply-To: <20190325214155.GA48792@HIDDEN>
Date: Tue, 26 Mar 2019 12:46:18 +0900
Content-Transfer-Encoding: quoted-printable
Message-Id: <B439F84D-942C-40EB-8C05-C3CFC66FD34E@HIDDEN>
References: <20190325.095737.39407904584981029.tkk@HIDDEN>
 <20190325214155.GA48792@HIDDEN>
To: Alan Third <alan@HIDDEN>
X-Mailer: Apple Mail (2.3445.104.8)
X-NAI-Spam-Flag: NO
X-NAI-Spam-Level: 
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-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 34984
Cc: =?utf-8?B?5Zu95bqD5Y2T5Lmf?= <tkk@HIDDEN>,
 34984 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

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 <alan@HIDDEN> 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?





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#34984; Package emacs. Full text available.

Message received at 34984 <at> debbugs.gnu.org:


Received: (at 34984) by debbugs.gnu.org; 25 Mar 2019 21:42:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 25 17:42:09 2019
Received: from localhost ([127.0.0.1]:58748 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h8XM9-0002vC-I9
	for submit <at> debbugs.gnu.org; Mon, 25 Mar 2019 17:42:09 -0400
Received: from mail-wm1-f50.google.com ([209.85.128.50]:51798)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <athird@HIDDEN>) id 1h8XM5-0002ug-O8
 for 34984 <at> debbugs.gnu.org; Mon, 25 Mar 2019 17:42:07 -0400
Received: by mail-wm1-f50.google.com with SMTP id 4so10535151wmf.1
 for <34984 <at> debbugs.gnu.org>; Mon, 25 Mar 2019 14:42:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20161025;
 h=sender:date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:content-transfer-encoding:in-reply-to
 :user-agent; bh=6pwcOy0k9wxw0eBoUjCRi0/jBvM9mPYyt/rniKYAXsQ=;
 b=SRGc+CQb51HEJUP5L00vh3KOQkcEZcNZP4H5g22iaucrQY3HGTw72OGJjHRLSEtsgX
 AwYtbiXwrusYsREELt1bDce+0+i33/9mHyOFXIl/bNUczFNIZ3YbGscLD3RD74qaAkM1
 easig2fX41Oe7v8fsFIyzx4+8zj4wajlAQ9bfiUZMeuHeB6AmQBowCMLT0LKb/5UXG7a
 5uJM3tK61RUHbKmL6jbLObMuxmQre8Ay1XFpTo+GpAGe7FvAx32trF/Ckuu8cvXK4uJg
 ogLx9WHgzkw+jzP+Lh1XJNKFhqJ4UAqu2MHUUKmywUpEzbAh3WvDDMDeekQHCiD44LtZ
 vfOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:date:from:to:cc:subject:message-id
 :references:mime-version:content-disposition
 :content-transfer-encoding:in-reply-to:user-agent;
 bh=6pwcOy0k9wxw0eBoUjCRi0/jBvM9mPYyt/rniKYAXsQ=;
 b=IqW992XCYR/4j0Gg2cdZsUFuWaIvBLoRdvoaWpyaZESn3XarbbdSPfqZ66hnkebS68
 ksgLKx+dH5oX8TVkzytmFPCP9DNOTXKD/hBMmCQShl6OoH64OCp5Jx+Pbdc9Lk1Aer2H
 mA7CfoWwsCP9ALvcuOqFx28h5po8Cfm+pYGQUrn5+eyDfBxT86ZmVFIs4ozepUCy6qCj
 V2SI1cMTkd0jGr5ZcSnJsCuQAV07vN7qvZ/Wno1NxIjCb+t993kYoVwRS0Ycirh6Tie+
 TstMoc0Iin5YCOHPPIU37aBdMcRpJP6eg9KMN8IyHC5mBd2Og0w4lPHkY9CUTYeaI9O9
 jnhg==
X-Gm-Message-State: APjAAAVLGVlapiKPlqVX0I0e2QzraLLiEJ+0iaWVkIu/L9sdMLww4dPc
 Y/d5Wk+cijh9xpSHTiT3ohE4P5mF
X-Google-Smtp-Source: APXvYqxGDVcyOd5eU8U3S0jjVtvRCNHzrn5CFa+jcsjS1HcxVCU3PVvCXP3KOoZUVLEH6ZKoiPww8Q==
X-Received: by 2002:a1c:c287:: with SMTP id s129mr7085912wmf.63.1553550118630; 
 Mon, 25 Mar 2019 14:41:58 -0700 (PDT)
Received: from breton.holly.idiocy.org
 (ip6-2001-08b0-03f8-8129-b438-5290-54f6-68aa.holly.idiocy.org.
 [2001:8b0:3f8:8129:b438:5290:54f6:68aa])
 by smtp.gmail.com with ESMTPSA id c126sm20430775wma.0.2019.03.25.14.41.57
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 25 Mar 2019 14:41:57 -0700 (PDT)
Date: Mon, 25 Mar 2019 21:41:55 +0000
From: Alan Third <alan@HIDDEN>
To: Tak Kunihiro <tkk@HIDDEN>
Subject: Re: bug#34984: ns-right-command-modifier has influence to left
Message-ID: <20190325214155.GA48792@HIDDEN>
References: <20190325.095737.39407904584981029.tkk@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20190325.095737.39407904584981029.tkk@HIDDEN>
User-Agent: Mutt/1.11.3 (2019-02-01)
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 34984
Cc: 34984 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

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.
> 
>   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)
>   
>   /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),...
> 
> This does not happen with Mac mini (2012) with other parameters and
> the same keyboard.

Hi Tak, some questions:

Can you replicate the issue with the master branch? The modifier
handling has been almost completely rewritten in it.

Does the right command key work correctly?

Do you use any third‐party key remapping software?
-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#34984; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Mar 2019 00:58:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 24 20:58:11 2019
Received: from localhost ([127.0.0.1]:57304 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h8DwJ-0000z9-1K
	for submit <at> debbugs.gnu.org; Sun, 24 Mar 2019 20:58:11 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33217)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tkk@HIDDEN>) id 1h8DwH-0000yw-Gx
 for submit <at> debbugs.gnu.org; Sun, 24 Mar 2019 20:58:10 -0400
Received: from lists.gnu.org ([209.51.188.17]:39292)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tkk@HIDDEN>)
 id 1h8DwA-0008Iv-J5
 for submit <at> debbugs.gnu.org; Sun, 24 Mar 2019 20:58:03 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47599)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tkk@HIDDEN>) id 1h8Dw9-0003dn-MM
 for bug-gnu-emacs@HIDDEN; Sun, 24 Mar 2019 20:58:02 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tkk@HIDDEN>) id 1h8Dw8-0008IW-Ex
 for bug-gnu-emacs@HIDDEN; Sun, 24 Mar 2019 20:58:01 -0400
Received: from mlsec.cc.okayama-u.ac.jp ([42.127.236.175]:29176)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tkk@HIDDEN>)
 id 1h8Dw7-0008He-Tj
 for bug-gnu-emacs@HIDDEN; Sun, 24 Mar 2019 20:58:00 -0400
Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by
 mlsec.cc.okayama-u.ac.jp with smtp
 id 7030_35a9_33c9ba0f_6aac_42ab_b471_7b50baf7b0a4;
 Mon, 25 Mar 2019 09:57:45 +0900
Received: from localhost (vesta.misasa.okayama-u.ac.jp [150.46.48.154])
 by alml002.ouadm.okayama-u.ac.jp (Postfix) with ESMTPSA id 59A8A4C04A2;
 Mon, 25 Mar 2019 09:57:37 +0900 (JST)
Date: Mon, 25 Mar 2019 09:57:37 +0900 (JST)
Message-Id: <20190325.095737.39407904584981029.tkk@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: ns-right-command-modifier has influence to left
From: Tak Kunihiro <tkk@HIDDEN>
X-Mailer: Mew version 6.8 on Emacs 26.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 11
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 4 Rules triggered
 EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV6509=0
X-NAI-Spam-Version: 2.3.0.9418 : core <6509> : inlines <7042> : streams
 <1816683> : uri <2819087>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 42.127.236.175
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
Cc: tkk@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

On macOS, assignment for left-command key is controlled
by that for right-command key.

  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)
  
  /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),...

This does not happen with Mac mini (2012) with other parameters and
the same keyboard.




Acknowledgement sent to Tak Kunihiro <tkk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#34984; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.