From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!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, 29 Mar 2016 16:31:28 +0000 Message-ID: References: <83r3etwc9j.fsf@gnu.org> <83lh51w9z8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114014943cfd7f052f32904d X-Trace: ger.gmane.org 1459269188 15229 80.91.229.3 (29 Mar 2016 16:33:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2016 16:33:08 +0000 (UTC) Cc: 19977@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 29 18:32:59 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1akwZc-0001X6-Ug for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2016 18:32:57 +0200 Original-Received: from localhost ([::1]:48661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akwZc-0003Tj-EC for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2016 12:32:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akwYp-0002jo-Si for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 12:32:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akwYk-0007UR-6I for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 12:32:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akwYk-0007UF-33 for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 12:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1akwYj-00033n-V3 for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 12:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Mar 2016 16:32:01 +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.145926910611740 (code B ref 19977); Tue, 29 Mar 2016 16:32:01 +0000 Original-Received: (at 19977) by debbugs.gnu.org; 29 Mar 2016 16:31:46 +0000 Original-Received: from localhost ([127.0.0.1]:43978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akwYU-00033I-3r for submit@debbugs.gnu.org; Tue, 29 Mar 2016 12:31:46 -0400 Original-Received: from mail-lf0-f53.google.com ([209.85.215.53]:34184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akwYS-000338-7w for 19977@debbugs.gnu.org; Tue, 29 Mar 2016 12:31:44 -0400 Original-Received: by mail-lf0-f53.google.com with SMTP id c62so16103783lfc.1 for <19977@debbugs.gnu.org>; Tue, 29 Mar 2016 09:31:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oM5+DhTIv5jA7CCg4+/0OHalbgr051bGKjf8dFLh7fQ=; b=jYdtrnxFJObXv6IGY9Cd5kQJjuIHtvyx5I8iKxE2cyPeP7g7LQ2Qaen5TCmyOHxec9 VH6yCvuBmKhnWLzcRZ796SpNAU6zh+57zIJbnh1s9NGihjY/MDcy5C5NyZIdymVJCwX/ ipyxYiUmwD5Q7kHvCT0V3i42iUzrxh2YCsnZyiJySzYe90cQrue+Lj9s1Fxzj9TfZ4Rn ALp+aiMG6B9Q7OqUkp8AuoCA1HCpnxxsgPqO39pub4Nod6OrAOyx5kUAW+fVL/iKTr8W u9R+eGUZFhkjrWNwZLtlWa6ajObhMmK0rXD4cIjP2rxFfTJi5PkGZOSlBfZjEnD4OXhM 6dHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oM5+DhTIv5jA7CCg4+/0OHalbgr051bGKjf8dFLh7fQ=; b=DMwfFIWV00LI1+9dVH+UqeQCaUZb8gLaFX2hKVWgQMSWYLOCwzFhmhSpa+/nT70kTf ol9P6+nZHIrFaH2T/fqvyaWB4L2ZNgluuv+ZXoHakM+Q2sA7X5l/SsYGXKkdlvOEVVfe pro1EadHPh9zHJ4GhXYgugzT2Zi47OVWvA/oLoeFa9Q6+eGCLeQaY7kd+IH90vRupvNp rIRtg/9SZJUcuN99g5PLaGA9J6CZ63iDteua+Uj3KcLpqi/cD09RFZHIMWqBZSgwQAgP Gqb2/RnsZ1sTYSmdAL5e5yeDakPzjX9cX4e3MojHrjvIQj3/2r99BKeSpaVztqkxLSBF Ub/g== X-Gm-Message-State: AD7BkJIsKQwV3brGQiKeSuVOnjwiCQiHyDc/2nK+FhLikYw+8THkhPsTv8Ml39/3jgdA6LP/AH7sZXzzpWNb/Q== X-Received: by 10.25.148.71 with SMTP id w68mr1604022lfd.23.1459269098337; Tue, 29 Mar 2016 09:31:38 -0700 (PDT) In-Reply-To: <83lh51w9z8.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115718 Archived-At: --001a114014943cfd7f052f32904d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii schrieb am Di., 29. M=C3=A4rz 2016 um 18:00 Uh= r: > > From: Philipp Stephani > > Date: Tue, 29 Mar 2016 15:45:13 +0000 > > Cc: 19977@debbugs.gnu.org > > > > Some more debugging output, using NS_KEYLOG =3D 1. The input sequence i= s > a, C-a, M-a, s-a, C-S-a, M-S-a, > > s-S-a, C-s-a, M-s-a. As you can see, 'code' is correct (A or a), except > for the last two cases. > > I guess someone who understand how keyboard input works on OS X will > have to look into this. > If I comment out the if block below the comment /* if super (default), take input manager's word so things like dvorak / qwerty layout work */ in nsterm.m, everything works. Unless somebody can explain why that if block exists at all (i.e. why [theEvent characters] instead of [theEvent charactersIgnoringModifiers] is used), then I'd suggest to remove the block completely. --001a114014943cfd7f052f32904d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Eli Za= retskii <eliz@gnu.org> schrieb am= Di., 29. M=C3=A4rz 2016 um 18:00=C2=A0Uhr:
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Tue, 29 Mar 2016 15:45:13 +0000
> Cc: 19977@d= ebbugs.gnu.org
>
> Some more debugging output, using NS_KEYLOG =3D 1. The input sequence = is a, C-a, M-a, s-a, C-S-a, M-S-a,
> s-S-a, C-s-a, M-s-a. As you can see, 'code' is correct (A or a= ), except for the last two cases.

I guess someone who understand how keyboard input works on OS X will
have to look into this.

If I comment ou= t the if block below the comment
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 /* if super (default), take input manager's word so things like
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dvorak / qwerty layo= ut work */
in nsterm.m, everything works. Unless somebody can exp= lain why that if block exists at all (i.e. why [theEvent characters] instea= d of [theEvent charactersIgnoringModifiers] is used), then I'd suggest = to remove the block completely.=C2=A0
--001a114014943cfd7f052f32904d--