GNU bug report logs -
#7458
Distinguishing between left/right command and control keys in OSX
Previous Next
Reported by: Robert Clancy <robclancy <at> gmail.com>
Date: Sun, 21 Nov 2010 11:13:02 UTC
Severity: normal
Merged with 8514
Found in version 23.3
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7458 in the body.
You can then email your comments to 7458 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7458
; Package
emacs
.
(Sun, 21 Nov 2010 11:13:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Robert Clancy <robclancy <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 21 Nov 2010 11:13:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This is feature request for OSX users. As of revno 100102, one can set
ns-right-alternate-modifier
to change what the right alt key does. I would like to be able to
change what right command does. In particular I would like to be able
to set
ns-right-command-modifier
to give meta but also to allow the operating system to catch left
command.
A relevant patch for aquamacs is given at
http://lists.aquamacs.org/pipermail/aquamacs-devel/2009-December/003890.html
Thanks,
Rob
Reply sent
to
Jan Djärv <jan.h.d <at> swipnet.se>
:
You have taken responsibility.
(Sun, 21 Nov 2010 13:08:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Robert Clancy <robclancy <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 21 Nov 2010 13:08:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 7458-done <at> debbugs.gnu.org (full text, mbox):
Added to trunk. As emacs-23 is in prestest, I didn't change there.
Note that Aquaemacs value none corresponds to left in Emacs, see
http://debbugs.gnu.org/cgi-bin/bugreport.cgi?bug=7150.
Jan D.
Robert Clancy skrev 2010-11-21 12.17:
> This is feature request for OSX users. As of revno 100102, one can set
> ns-right-alternate-modifier
> to change what the right alt key does. I would like to be able to change what
> right command does. In particular I would like to be able to set
> ns-right-command-modifier
> to give meta but also to allow the operating system to catch left command.
>
> A relevant patch for aquamacs is given at
> http://lists.aquamacs.org/pipermail/aquamacs-devel/2009-December/003890.html
>
> Thanks,
> Rob
>
>
>
>
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7458
; Package
emacs
.
(Mon, 22 Nov 2010 08:52:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 7458 <at> debbugs.gnu.org (full text, mbox):
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.
Thanks,
Rob
On 21 Nov 2010, at 13:12, Jan Djärv wrote:
> Added to trunk. As emacs-23 is in prestest, I didn't change there.
> Note that Aquaemacs value none corresponds to left in Emacs, see http://debbugs.gnu.org/cgi-bin/bugreport.cgi?bug=7150
> .
>
> Jan D.
>
>
> Robert Clancy skrev 2010-11-21 12.17:
>> This is feature request for OSX users. As of revno 100102, one can
>> set
>> ns-right-alternate-modifier
>> to change what the right alt key does. I would like to be able to
>> change what
>> right command does. In particular I would like to be able to set
>> ns-right-command-modifier
>> to give meta but also to allow the operating system to catch left
>> command.
>>
>> A relevant patch for aquamacs is given at
>> http://lists.aquamacs.org/pipermail/aquamacs-devel/2009-December/003890.html
>>
>> Thanks,
>> Rob
>>
>>
>>
>>
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7458
; Package
emacs
.
(Wed, 24 Nov 2010 08:54:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 7458 <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7458
; Package
emacs
.
(Wed, 24 Nov 2010 14:48:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 7458 <at> debbugs.gnu.org (full text, mbox):
New fix checked in. I think we are getting there, but slowly...
Jan D.
Robert Clancy skrev 2010-11-24 09.58:
> 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.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7458
; Package
emacs
.
(Wed, 24 Nov 2010 15:48:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 7458 <at> debbugs.gnu.org (full text, mbox):
It seems to work perfectly now.
Thanks very much for that, its made my Emacs experience a lot more
enjoyable.
Rob
On 24 Nov 2010, at 14:53, Jan Djärv wrote:
> New fix checked in. I think we are getting there, but slowly...
>
> Jan D.
>
>
> Robert Clancy skrev 2010-11-24 09.58:
>> 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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 23 Dec 2010 12:24:04 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Chong Yidong <cyd <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 12 Mar 2012 03:19:01 GMT)
Full text and
rfc822 format available.
Merged 7458 8514.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 12 Mar 2012 17:15:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 10 Apr 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.