From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#19977: 24.4; Incorrect translation of Super modifier with Ctrl or Meta on OS X Date: Tue, 26 Dec 2017 20:14:59 +0000 Message-ID: References: <83r3etwc9j.fsf@gnu.org> <83lh51w9z8.fsf@gnu.org> <83d1qdw7bt.fsf@gnu.org> <834mbowuxw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114fcfe09659e0056143f0eb" X-Trace: blaine.gmane.org 1514319257 10058 195.159.176.226 (26 Dec 2017 20:14:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Dec 2017 20:14:17 +0000 (UTC) Cc: adrian.b.robert@gmail.com, 19977@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 26 21:14:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTvc4-0002CD-PG for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Dec 2017 21:14:13 +0100 Original-Received: from localhost ([::1]:55491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTve2-0003I9-KS for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Dec 2017 15:16:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTvdt-0003HI-On for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 15:16:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTvdq-0003QV-ST for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 15:16:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eTvdq-0003Q8-OW for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 15:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eTvdq-0006Md-A2 for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 15:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Dec 2017 20:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19977 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 19977-submit@debbugs.gnu.org id=B19977.151431931824407 (code B ref 19977); Tue, 26 Dec 2017 20:16:02 +0000 Original-Received: (at 19977) by debbugs.gnu.org; 26 Dec 2017 20:15:18 +0000 Original-Received: from localhost ([127.0.0.1]:52921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTvd8-0006Lb-5A for submit@debbugs.gnu.org; Tue, 26 Dec 2017 15:15:18 -0500 Original-Received: from mail-qk0-f176.google.com ([209.85.220.176]:46849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTvd6-0006LP-AK for 19977@debbugs.gnu.org; Tue, 26 Dec 2017 15:15:16 -0500 Original-Received: by mail-qk0-f176.google.com with SMTP id b132so14465524qkc.13 for <19977@debbugs.gnu.org>; Tue, 26 Dec 2017 12:15:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0oKesRHuuHSYVeDT9GMAZEBYJCAvnXAuk7oQlk91Cso=; b=OmWCM65BZfabp+aUGqWzffT8dNZEQrCwSNrw+4gYVJJsytol9t8IXguJDFe/OJexd0 EJ+xUQzY7SuWjfqXEEQiRzBxPQFN93vjx8MBuhYqaOdr+0diWK/+XdDencYyGa8O7tbO EMqobTS26fE4bnYJV9w9H09cwEkQsaBpyMyQeHVFmmEKEkWY0qr8WgnkJW7ZZsc/Lzdj obFXsO65UqHqTuDZucLudsxOIk6wmMDcLjDNcWF7PGHvrNOLI5/0NitrnlUXTFc+rlXf ab8U1XYNGxYWN4fm5fgr+W28k1bJ4pJsJK5UPol/b89C6kdkZevUhUcokz5Y88cihmx5 WMCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0oKesRHuuHSYVeDT9GMAZEBYJCAvnXAuk7oQlk91Cso=; b=r6eqzNFb1eajVTS8n9DEX+gpJ4DHtraQZj/FM6vCXUwmsqAxViGZ3Yr+eFi7CLP1/G m2bqAxUaq+0rSspoYbee02moDLXj9wgudekEHXx47568tVmjvpx6tcxMiGfYGqqfJano gWRt5QJoT7Pli4nJfunyN4Gk+dGn8XocSVZE1wyJ6KhBMicnhbDxPHytlcFhTWhe/VTw 6OLJ1Ai5Hi89MclvcY3A4MpuZIOb4qcwsYFgQ0pHl4/WpgMzn+cnRog7xQHaa1KsGGQF F8xhaguq9QrGpjD5u2W1OnAORmWx2GP2dRuDu6yGKC8Ysmlypt/C1NE/XTz10rhSMpse yMQg== X-Gm-Message-State: AKGB3mILXB2Wyn2Thdh7wj4BewFf4HW2I1I2W+Yl2WNKCbJnGJIj2GnS MMO8KhLOwKQC4fio9u4Ml8HY4vYp0TBTjwh8PF0= X-Google-Smtp-Source: ACJfBov6T3lrK1a0u++wzKB9PR1VX/PyttjoLC3Aph+6W2295v3Hr2eJ8NGwYdRykvnCRED1omFal8rP7mQswULPmLM= X-Received: by 10.55.162.23 with SMTP id l23mr25370267qke.29.1514319310640; Tue, 26 Dec 2017 12:15:10 -0800 (PST) In-Reply-To: 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: 208.118.235.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:141516 Archived-At: --001a114fcfe09659e0056143f0eb Content-Type: text/plain; charset="UTF-8" Alan Third schrieb am Di., 26. Dez. 2017 um 18:42 Uhr: > Philipp Stephani writes: > > > I've attached a patch that should keep the aforementioned input methods > working (by setting ns-command-modifier to none) and allow Command and > Option to be treated as either shift-like or control-like modifiers. > > In my tests input now works as expected with the Dvorak - Querty and > similar input methods if ns-command-modifier is none. Also various key > combinations with Super work now if it's set to super. > > One thing that might be unexpected is that e.g. Command-Control-A will > be interpreted as Control-A if ns-command-modifier is none, even if > Command-A would insert something other than A. It seems this is > (undesirable) behavior is actually already present at head. > > Hi Philipp, > > Do you think this patch is still good? > I think so, modulo the caveats mentioned in the comments. Do you want me to rebase and commit it? > > I reckon the issues with command-key modifiers should be fixed, even if > it's just a new variable that disables the shift-like behaviour of > command. > > Do you mean "should be fixed" as in "I believe it's fixed" or as in "I want it to be fixed, but it's not yet fixed"? If the former, could you point me to the commit that fixed it? If the latter, I'm not sure whether the macOS event model allows us to do this. As mentioned in the comments in the patch, some information just appears to be lost entirely. --001a114fcfe09659e0056143f0eb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Alan T= hird <alan@idiocy.org> schrieb= am Di., 26. Dez. 2017 um 18:42=C2=A0Uhr:
Philipp Stephani <p.stephani2@gmail.com> writes:

> I've attached a patch that should keep the aforementioned input me= thods working (by setting ns-command-modifier to none) and allow Command an= d Option to be treated as either shift-like or control-like modifiers.
> In my tests input now works as expected with the Dvorak - Querty and s= imilar input methods if ns-command-modifier is none. Also various key combi= nations with Super work now if it's set to super.
> One thing that might be unexpected is that e.g. Command-Control-A will= be interpreted as Control-A if ns-command-modifier is none, even if Comman= d-A would insert something other than A. It seems this is (undesirable) beh= avior is actually already present at head.

Hi Philipp,

Do you think this patch is still good?

= I think so, modulo the caveats mentioned in the comments. Do you want me to= rebase and commit it?
=C2=A0

I reckon the issues with command-key modifiers should be fixed, even if
it's just a new variable that disables the shift-like behaviour of
command.


Do you mean "should be fixed"= ; as in "I believe it's fixed" or as in "I want it to be= fixed, but it's not yet fixed"?

If the f= ormer, could you point me to the commit that fixed it?
If the lat= ter, I'm not sure whether the macOS event model allows us to do this. A= s mentioned in the comments in the patch, some information just appears to = be lost entirely.
--001a114fcfe09659e0056143f0eb--