all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Clancy <robclancy@gmail.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 7458@debbugs.gnu.org
Subject: bug#7458: Distinguishing between left/right command and control keys in OSX
Date: Wed, 24 Nov 2010 08:58:23 +0000	[thread overview]
Message-ID: <2F9622C1-596A-4853-A534-D4B0821A2210@gmail.com> (raw)
In-Reply-To: <4CECC45E.2070009@swipnet.se>

Now when I try to use right command as meta, emacs always picks it up  
as meta+super and OSX catches it. So I have errors like:
M-s-x	when I press <right-command>-x
and
<C-M-s-268632086> is undefined when I press C-<right-command>-v

However, if I set ns-command-modifier to nil (as opposed to super),  
everything appears to work correctly.

Rob

On 24 Nov 2010, at 07:53, Jan Djärv wrote:

> I checked in a new fix.
>
> 	Jan D.
>
>
> Jan D. skrev 2010-11-22 11.52:
>> Robert Clancy skrev 2010-11-22 09:45:
>>> Thanks for that. When I set
>>> ns-right-command-modifier
>>> to meta, Emacs correctly interprets commands like:
>>> M-v
>>> but if I try to use a command like C-M-v, Emacs says:
>>> <C-M-268632086> is undefined.
>>> I presume that OSX is still catching the command key although  
>>> Emacs can
>>> interpret it as meta.
>>>
>>> If I set ns-command-modifier to meta I do not have this problem.
>>>
>>> Also, if I set ns-right-control-modifier to meta, Emacs does not
>>> interpret right control correctly. That is it inteprets
>>> <right control>-v as C-v
>>> and
>>> C-<right control>-v as C-v
>>> when ns-right-control-modifier is set to meta.
>>>
>>
>> I'll check.
>>
>>> Thanks,
>>> Rob
>>>
>>> Should I file a separate bug report?
>>
>> No, it is in the scope of this one.
>>
>> Jan D.






  parent reply	other threads:[~2010-11-24  8:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-21 11:17 bug#7458: Distinguishing between left/right command and control keys in OSX Robert Clancy
2010-11-21 13:12 ` Jan Djärv
2010-11-22  8:56   ` Robert Clancy
     [not found]   ` <26D52A39-2EDE-40AC-BC2F-B98B79A1FF04@gmail.com>
     [not found]     ` <4CEA4B52.2030302@swipnet.se>
     [not found]       ` <4CECC45E.2070009@swipnet.se>
2010-11-24  8:58         ` Robert Clancy [this message]
2010-11-24 14:53           ` Jan Djärv
2010-11-24 15:52             ` Robert Clancy

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

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

  git send-email \
    --in-reply-to=2F9622C1-596A-4853-A534-D4B0821A2210@gmail.com \
    --to=robclancy@gmail.com \
    --cc=7458@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.