unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Devon Sean McCullough <Emacs-Hacker2017@jovi.net>
To: Alan Third <alan@idiocy.org>
Cc: 28215@debbugs.gnu.org
Subject: bug#28215: 26.0.50; Option-Clover-H
Date: Fri, 25 Aug 2017 16:52:57 +0800	[thread overview]
Message-ID: <5003CACE-8869-4F87-ABB8-E287DA7A2A50@jovi.net> (raw)
In-Reply-To: <20170824202427.GA47224@breton.holly.idiocy.org>

> On Aug 25, 2017, at 4:24 AM, Alan Third <alan@idiocy.org> wrote:
> 
> 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’t understand what
>> the point of that code is. It looks like it’s trying to work around
>> some problem with different keyboard layouts.
> 
> Attached is a patch that adds the M-s-h shortcut, and removes the code
> that treats the super key as special.
> 
> If anyone can tell me why that code was there that would be great, but
> it seems to work fine without it. It’s been there since the NS port
> was merged into GNU Emacs, so I wonder if it’s required on some old
> *step implementation.

Could it be trying to support
Apple > System Preferences... > Keyboard > Input Sources > + > English > DQ Dvorak - Qwerty ⌘
which IIRC is a Dvorak layout but with Qwerty Command-keychords
already ingrained in Mac users' muscle memory?

	Peace
		—Devon

P.S. DV Dvorak layout vs. DQ Dvorak - Qwerty ⌘ layout
     Apple key labels -> Emacs 26.0.50 events

	Dvorak	Qwerty	DV	DQ
	H	J	h	h
	D	H	d	d
	⌘H	⌘J	s-h	s-j
	⇧⌘H	⇧⌘J	s-H	s-H
	⌥⌘H	⌥⌘J	M-s-˙	M-s-∆
	⌘D	⌘H	s-d	s-h
	⇧⌘D	⇧⌘H	s-D	s-D
	⌥⌘D	⌥⌘H	M-s-∂	M-s-˙

    Special characters in all layouts per Keyboard Viewer or (setq ns-option-modifier 'none)
	Key Chord	Character	Unicode Name
	Option-D	∂       	PARTIAL DIFFERENTIAL
	Option-H	˙       	DOT ABOVE 
	Option-J	∆       	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.




  reply	other threads:[~2017-08-25  8:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-24 10:35 bug#28215: 26.0.50; Option-Clover-H Devon Sean McCullough
2017-08-24 19:34 ` Alan Third
2017-08-24 20:24   ` Alan Third
2017-08-25  8:52     ` Devon Sean McCullough [this message]
2017-08-26  9:06       ` Alan Third

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5003CACE-8869-4F87-ABB8-E287DA7A2A50@jovi.net \
    --to=emacs-hacker2017@jovi.net \
    --cc=28215@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).