unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
Cc: 34984@debbugs.gnu.org
Subject: bug#34984: ns-right-command-modifier has influence to left
Date: Thu, 28 Mar 2019 21:52:29 +0000	[thread overview]
Message-ID: <20190328215229.GB52808@breton.holly.idiocy.org> (raw)
In-Reply-To: <B439F84D-942C-40EB-8C05-C3CFC66FD34E@misasa.okayama-u.ac.jp>

On Tue, Mar 26, 2019 at 12:46:18PM +0900, Tak Kunihiro wrote:
> Dear Alan,
> 
> > Can you replicate the issue with the master branch?
> > The modifier handling has been almost completely rewritten in it.
> 
> I tested on 27.0.50.  The results are the same.

Thanks.

> I connected USB keyboard not specifically designed for macOS.
> I swap `Option Key' and `Command Key’ using on Keyboard panel 
> in System Preferences.  I do not use third-party key remapping
> software.

I can replicate this. The key is to swap command and option. I also
see it using my swapped caps lock ‐> ctrl. It shows up as right
control when I would expect it to be left.

Unfortunately I’m not sure what we can do about it. I don’t think we
have any way of determining whether the keys have been swapped. And
even if we did, whether the keyboard is a USB one.

Someone with an Apple developer account could raise it on radar, but
as the keycodes we’re using to determine left vs right are unofficial
I don’t know if Apple would do anything.

For the record the Mac port has the same issue.

Sorry, I can’t think of any way round it.
-- 
Alan Third





  reply	other threads:[~2019-03-28 21:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-25  0:57 bug#34984: ns-right-command-modifier has influence to left Tak Kunihiro
2019-03-25 21:41 ` Alan Third
2019-03-26  3:46   ` Tak Kunihiro
2019-03-28 21:52     ` Alan Third [this message]
2019-03-29  8:35       ` Nick Helm
2019-03-29  8:42       ` Tak Kunihiro

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=20190328215229.GB52808@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=34984@debbugs.gnu.org \
    --cc=tkk@misasa.okayama-u.ac.jp \
    /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).