From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Devon Sean McCullough Newsgroups: gmane.emacs.bugs Subject: bug#28215: 26.0.50; Option-Clover-H Date: Fri, 25 Aug 2017 16:52:57 +0800 Message-ID: <5003CACE-8869-4F87-ABB8-E287DA7A2A50@jovi.net> References: <0FA7C1C0-CA6F-402A-BF7E-62FB3A3D82CC@jovi.net> <20170824193447.GA46573@breton.holly.idiocy.org> <20170824202427.GA47224@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1503651250 28014 195.159.176.226 (25 Aug 2017 08:54:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 Aug 2017 08:54:10 +0000 (UTC) Cc: 28215@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 25 10:54:03 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 1dlANK-0006jK-A3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Aug 2017 10:53:58 +0200 Original-Received: from localhost ([::1]:52143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlANQ-0001HM-W7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Aug 2017 04:54:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlAMT-0000pd-RH for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2017 04:53:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlAMQ-0005Qd-Pl for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2017 04:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44858) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dlAMQ-0005QQ-Lq for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2017 04:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dlAMQ-0001CO-BF for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2017 04:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Devon Sean McCullough Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Aug 2017 08:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28215 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28215-submit@debbugs.gnu.org id=B28215.15036511794600 (code B ref 28215); Fri, 25 Aug 2017 08:53:02 +0000 Original-Received: (at 28215) by debbugs.gnu.org; 25 Aug 2017 08:52:59 +0000 Original-Received: from localhost ([127.0.0.1]:53539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlAMN-0001C8-JQ for submit@debbugs.gnu.org; Fri, 25 Aug 2017 04:52:59 -0400 Original-Received: from gateway34.websitewelcome.com ([192.185.149.77]:36987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlAML-0001Bz-3O for 28215@debbugs.gnu.org; Fri, 25 Aug 2017 04:52:57 -0400 Original-Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway34.websitewelcome.com (Postfix) with ESMTP id AA3E99B9B6 for <28215@debbugs.gnu.org>; Fri, 25 Aug 2017 03:52:55 -0500 (CDT) Original-Received: from leaf.websitewelcome.com ([192.185.82.99]) by cmsmtp with SMTP id lALNd1wgM7GnJlALNdhKTy; Fri, 25 Aug 2017 03:51:57 -0500 Original-Received: from 121.139.198.203.static.netvigator.com ([203.198.139.121]:56201 helo=devons-air.lan) by leaf.websitewelcome.com with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1dlAMJ-0049y3-62; Fri, 25 Aug 2017 03:52:55 -0500 In-Reply-To: <20170824202427.GA47224@breton.holly.idiocy.org> X-Mailer: Apple Mail (2.3124) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - leaf.websitewelcome.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jovi.net X-BWhitelist: no X-Source-IP: 203.198.139.121 X-Exim-ID: 1dlAMJ-0049y3-62 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 121.139.198.203.static.netvigator.com (devons-air.lan) [203.198.139.121]:56201 X-Source-Auth: devon2011@jovi.net X-Email-Count: 1 X-Source-Cap: am92aW5ldDtkZXZvbjtsZWFmLndlYnNpdGV3ZWxjb21lLmNvbQ== X-Local-Domain: yes 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:136187 Archived-At: > On Aug 25, 2017, at 4:24 AM, Alan Third wrote: >=20 > On Thu, Aug 24, 2017 at 08:34:47PM +0100, Alan Third wrote: >> It looks like the problem is at nsterm.m:6122. I don=E2=80=99t = understand what >> the point of that code is. It looks like it=E2=80=99s trying to work = around >> some problem with different keyboard layouts. >=20 > Attached is a patch that adds the M-s-h shortcut, and removes the code > that treats the super key as special. >=20 > If anyone can tell me why that code was there that would be great, but > it seems to work fine without it. It=E2=80=99s been there since the NS = port > was merged into GNU Emacs, so I wonder if it=E2=80=99s required on = some old > *step implementation. Could it be trying to support Apple > System Preferences... > Keyboard > Input Sources > + > English > = DQ Dvorak - Qwerty =E2=8C=98 which IIRC is a Dvorak layout but with Qwerty Command-keychords already ingrained in Mac users' muscle memory? Peace =E2=80=94Devon P.S. DV Dvorak layout vs. DQ Dvorak - Qwerty =E2=8C=98 layout Apple key labels -> Emacs 26.0.50 events Dvorak Qwerty DV DQ H J h h D H d d =E2=8C=98H =E2=8C=98J s-h s-j =E2=87=A7=E2=8C=98H =E2=87=A7=E2=8C=98J s-H s-H =E2=8C=A5=E2=8C=98H =E2=8C=A5=E2=8C=98J M-s-=CB=99 = M-s-=E2=88=86 =E2=8C=98D =E2=8C=98H s-d s-h =E2=87=A7=E2=8C=98D =E2=87=A7=E2=8C=98H s-D s-D =E2=8C=A5=E2=8C=98D =E2=8C=A5=E2=8C=98H M-s-=E2=88=82 = M-s-=CB=99 Special characters in all layouts per Keyboard Viewer or (setq = ns-option-modifier 'none) Key Chord Character Unicode Name Option-D =E2=88=82 PARTIAL DIFFERENTIAL Option-H =CB=99 DOT ABOVE=20 Option-J =E2=88=86 INCREMENT P.P.S. /System/Library/Input Methods/KeyboardViewer.app shows keyboard = layout, tracking input source & bucky bit state in real time. Turns out there are eight different Option layouts, one = for each Control/Shift/Command combination. Perhaps C-q quoted-insert should access these MacOSX alternate layouts = by binding ns-option-modifier to none for NS, similarly current-input-mode/set-input-mode for tty input and finally = insert the next input key sans bucky bits.=