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 15:45:13 +0000 Message-ID: References: <83r3etwc9j.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fa3feca3c56052f31ea2c X-Trace: ger.gmane.org 1459266391 28119 80.91.229.3 (29 Mar 2016 15:46:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2016 15:46:31 +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 17:46:23 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 1akvqU-0002ss-Km for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2016 17:46:18 +0200 Original-Received: from localhost ([::1]:48168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akvqQ-0003xv-Tz for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2016 11:46:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akvqH-0003pF-BD for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 11:46:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akvqE-0001nP-0L for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 11:46:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akvqD-0001nF-Ry for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 11:46:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1akvqD-0000Ia-Mh for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 11:46: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 15:46: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.14592663291105 (code B ref 19977); Tue, 29 Mar 2016 15:46:01 +0000 Original-Received: (at 19977) by debbugs.gnu.org; 29 Mar 2016 15:45:29 +0000 Original-Received: from localhost ([127.0.0.1]:43954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akvph-0000Hl-GO for submit@debbugs.gnu.org; Tue, 29 Mar 2016 11:45:29 -0400 Original-Received: from mail-lf0-f46.google.com ([209.85.215.46]:33601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akvpg-0000HY-Eu for 19977@debbugs.gnu.org; Tue, 29 Mar 2016 11:45:28 -0400 Original-Received: by mail-lf0-f46.google.com with SMTP id g124so12711503lfg.0 for <19977@debbugs.gnu.org>; Tue, 29 Mar 2016 08:45:28 -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=kV9rMiVPF3mpfBIL9hKl7IK8IvF32sGTr2cLNUlB+wg=; b=RaHOVJ0JexmZ4IthC6qoNeoj6qMjjI4ExDxTpWU82QD/1al+vAArzy7c5Ypy37LKiw 56jvo/aBzvPNgrWifG2Kj0GM1lv52DEOD0v4yTHDTQN1ba8m3OLH2mO+FwhLhjoXHP56 athUjJNshdBj25vEGNoS5Xv0EijCWs8P0cKTLW6DHmXBgBwygwTSGBevrDvqWtRsOLau rw09vGmOEjQL5wwACiSEVLB5YUKE7kDg0EWUvF8FwzZbC0qZ9ggCfX+4N0pNAu+8dS8w kKnrXYBK4jPoe5+0J9igWkRCynmSo4hsDdIhLbspsdyeRazUurjw3AAJmviords7pY5m oEiA== 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=kV9rMiVPF3mpfBIL9hKl7IK8IvF32sGTr2cLNUlB+wg=; b=eT84W3oC+A/kTOCC0peiliGePMxe64arCD32sX7iik25wp+ETnJgQ5hhgKXkY448XE 6Vl45II/yxKP7POAa2narPCNSpo4ZdE6GXXOHb8uR8bxKO/enXtnmNZSfuHeja+91uT4 r+1EfaLrNH/oj/VSJPFTLlJJZ/AKggC/zxqkfwW2McNzx56mrZC08CLKY3RbDJgYKsUB h7ISb5ChR4R3rWfNFIVujokvLZNgM+hPmLf25RrqZP6x8uZw/vtfDTv3tHeAGuwBzbBw ZFUmDtZNTR9UUuKBJjb/F/lZGeivFxrD11MRYop/VGHQzcVvQRhH/Pz2MsBe64xH/1ZY sirw== X-Gm-Message-State: AD7BkJKHFWYn2eaZvD+kYuhrCKjZ1UD1YHZIvdSzdBsI7zxRaLhcd7pbmPPey+xPgBI8T7rQWoHh3YT43jjAcg== X-Received: by 10.25.137.67 with SMTP id l64mr1291198lfd.158.1459266322576; Tue, 29 Mar 2016 08:45:22 -0700 (PDT) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115713 Archived-At: --001a113fa3feca3c56052f31ea2c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Philipp Stephani schrieb am Di., 29. M=C3=A4rz 2016= um 17:29 Uhr: > >> What do you get if you type s-a? >> > > This works as expected (i.e. I get whatever is bound to s-a, and s-a > appears in lossage). It's only the combination of C-s and M-s that gets > translated incorrectly. > 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. keyDown: code =3D61 fnKey =3D0 flags =3D 100 mods =3D 0 keyDown: Begin compose sequence. 2016-03-29 17:37:57.711 Emacs[59410:2534138] insertText 'a' len =3D 1 keyDown: code =3D61 fnKey =3D0 flags =3D 40101 mods =3D 4000000 keyDown: code =3D61 fnKey =3D0 flags =3D 80120 mods =3D 8000000 keyDown: code =3D61 fnKey =3D0 flags =3D 100108 mods =3D 800000 keyDown: code =3D41 fnKey =3D0 flags =3D 60103 mods =3D 6000000 keyDown: code =3D41 fnKey =3D0 flags =3D a0122 mods =3D a000000 keyDown: code =3D41 fnKey =3D0 flags =3D 12010a mods =3D 2800000 keyDown: code =3D1 fnKey =3D0 flags =3D 140109 mods =3D 4800000 keyDown: code =3De5 fnKey =3D0 flags =3D 180128 mods =3D 8800000 --001a113fa3feca3c56052f31ea2c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Philip= p Stephani <p.stephani2@gmail.c= om> schrieb am Di., 29. M=C3=A4rz 2016 um 17:29=C2=A0Uhr:

What do you get if you type s-a?

This works as expected (i= .e. I get whatever is bound to s-a, and s-a appears in lossage). It's o= nly the combination of C-s and M-s that gets translated incorrectly.
<= /div>

Some more debugging output, usi= ng 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), exc= ept for the last two cases.

keyDown: code =3D= 61 fnKey = =3D0 flags = =3D 100 mod= s =3D 0
keyDown: Begin compose sequence.
2016-03-29 17:= 37:57.711 Emacs[59410:2534138] insertText 'a' len =3D 1
keyDown: cod= e =3D61 fnK= ey =3D0 fla= gs =3D 40101 mods =3D 4000000
keyDown: code =3D61 fnKey =3D0 flags =3D 80120 mods =3D 8000000
keyDo= wn: code =3D61 fnKey =3D0 flags =3D 100108 mods =3D 800000
keyDown: code =3D41 fnKey =3D0 flags =3D 60103 mods =3D 6000000
keyDown: code =3D41 fnKey =3D0 flags =3D a0122 mods =3D a000000
keyDown: code =3D41 fnKey =3D0 flags =3D 12010a mods =3D 280000= 0
keyDown: code =3D1 fnKey =3D0 flags =3D 140109 mods =3D 4800000
keyDown: code =3De5 fnKey =3D0 flags =3D 180= 128 mods = =3D 8800000

--001a113fa3feca3c56052f31ea2c--