* OS X: M-s and C-s modifiers generate weird keystrokes
@ 2015-02-27 7:13 Philipp Stephani
2015-03-01 16:42 ` Philipp Stephani
0 siblings, 1 reply; 5+ messages in thread
From: Philipp Stephani @ 2015-02-27 7:13 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
Hi,
I realized that on my OS X system (OS X 10.10.2, GNU Emacs 24.4.1
(x86_64-apple-darwin14.1.0, NS apple-appkit-1344.72)
of 2015-02-23 on p) the key modifiers C, M, s, and C-M work as expected,
but C-s and M-s produce unexpected keys (according to the messages buffer):
C-s-a produces C-s-268632065, and M-s-a produces M-s-å. Is this expected,
or should I report a bug?
Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OS X: M-s and C-s modifiers generate weird keystrokes
2015-02-27 7:13 OS X: M-s and C-s modifiers generate weird keystrokes Philipp Stephani
@ 2015-03-01 16:42 ` Philipp Stephani
0 siblings, 0 replies; 5+ messages in thread
From: Philipp Stephani @ 2015-03-01 16:42 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
Philipp Stephani <p.stephani2@gmail.com> schrieb am Fri Feb 27 2015 at
08:13:55:
> Hi,
>
> I realized that on my OS X system (OS X 10.10.2, GNU Emacs 24.4.1
> (x86_64-apple-darwin14.1.0, NS apple-appkit-1344.72)
> of 2015-02-23 on p) the key modifiers C, M, s, and C-M work as expected,
> but C-s and M-s produce unexpected keys (according to the messages buffer):
> C-s-a produces C-s-268632065, and M-s-a produces M-s-å. Is this expected,
> or should I report a bug?
>
> Thanks
>
Since I don't think this behavior is intentional, I filed bug#19977.
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.915.1425021241.31049.help-gnu-emacs@gnu.org>]
* Re: OS X: M-s and C-s modifiers generate weird keystrokes
[not found] <mailman.915.1425021241.31049.help-gnu-emacs@gnu.org>
@ 2015-02-27 7:52 ` Pascal J. Bourguignon
2015-02-28 6:36 ` Philipp Stephani
[not found] ` <mailman.985.1425105408.31049.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 5+ messages in thread
From: Pascal J. Bourguignon @ 2015-02-27 7:52 UTC (permalink / raw)
To: help-gnu-emacs
Philipp Stephani <p.stephani2@gmail.com> writes:
> I realized that on my OS X system (OS X 10.10.2, GNU Emacs 24.4.1
> (x86_64-apple-darwin14.1.0, NS apple-appkit-1344.72)
> of 2015-02-23 on p) the key modifiers C, M, s, and C-M work as expected,
> but C-s and M-s produce unexpected keys (according to the messages buffer):
> C-s-a produces C-s-268632065, and M-s-a produces M-s-å. Is this expected,
> or should I report a bug?
How do you type s- on a MacOSX keyboard?
I use a DasKeyboard 3 keyboard, with "System
Preferences"/"Keyboard"/"Modifier Keys…" set to
Caps Lock -> Control
Control -> Control
Option -> Command
Command -> Option
(there's no Hyper or super choice here);
and consequently, I get the following map to emacs
(http://www.emacsformacosx.com) modifiers:
C- RET
S- S-
C- A- M- SPC M-a A- C-p C-
(notice the C-p bound to the second form the right bottom key, which I
cannot change to anything more useful).
--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OS X: M-s and C-s modifiers generate weird keystrokes
2015-02-27 7:52 ` Pascal J. Bourguignon
@ 2015-02-28 6:36 ` Philipp Stephani
[not found] ` <mailman.985.1425105408.31049.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 5+ messages in thread
From: Philipp Stephani @ 2015-02-28 6:36 UTC (permalink / raw)
To: Pascal J. Bourguignon, help-gnu-emacs
Pascal J. Bourguignon <pjb@informatimago.com> schrieb am Fri Feb 27 2015 at
09:00:21:
> Philipp Stephani <p.stephani2@gmail.com> writes:
>
> > I realized that on my OS X system (OS X 10.10.2, GNU Emacs 24.4.1
> > (x86_64-apple-darwin14.1.0, NS apple-appkit-1344.72)
> > of 2015-02-23 on p) the key modifiers C, M, s, and C-M work as expected,
> > but C-s and M-s produce unexpected keys (according to the messages
> buffer):
> > C-s-a produces C-s-268632065, and M-s-a produces M-s-å. Is this expected,
> > or should I report a bug?
>
>
> How do you type s- on a MacOSX keyboard?
>
> I use a DasKeyboard 3 keyboard, with "System
> Preferences"/"Keyboard"/"Modifier Keys…" set to
>
> Caps Lock -> Control
> Control -> Control
> Option -> Command
> Command -> Option
>
> (there's no Hyper or super choice here);
>
> and consequently, I get the following map to emacs
> (http://www.emacsformacosx.com) modifiers:
>
>
> C- RET
> S- S-
> C- A- M- SPC M-a A- C-p C-
>
> (notice the C-p bound to the second form the right bottom key, which I
> cannot change to anything more useful).
>
>
>
I have a MS Natural ergonomic keyboard with Ctrl mapped to Cmd and Cmd
mapped to Ctrl in System Preferences. The keys on the bottom row are
labelled Ctrl, Windows, Alt, Space, Alt, Menu, Ctrl. OS X maps the first
three to Cmd, Option, Ctrl. With all the customization options in the "ns"
group in Emacs (from Homebrew) being set to their defaults, left and right
Cmd (that is, the keys labelled Ctrl for me) are mapped to Super, Option
(labelled Windows) is mapped to Meta, and Ctrl (labelled Alt) is mapped to
Ctrl. (Here it would be possible to also add mappings for Hyper and Alt.)
For the Option key Emacs seems to merge the bindings of OS X (Option+a = å)
and Emacs (Option = M), but only if the Super modifier is also pressed. No
idea what happens for Super+Ctrl.
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.985.1425105408.31049.help-gnu-emacs@gnu.org>]
* Re: OS X: M-s and C-s modifiers generate weird keystrokes
[not found] ` <mailman.985.1425105408.31049.help-gnu-emacs@gnu.org>
@ 2015-02-28 7:16 ` Pascal J. Bourguignon
0 siblings, 0 replies; 5+ messages in thread
From: Pascal J. Bourguignon @ 2015-02-28 7:16 UTC (permalink / raw)
To: help-gnu-emacs
Philipp Stephani <p.stephani2@gmail.com> writes:
> Pascal J. Bourguignon <pjb@informatimago.com> schrieb am Fri Feb 27 2015 at
> 09:00:21:
>
>> Philipp Stephani <p.stephani2@gmail.com> writes:
>>
>> > I realized that on my OS X system (OS X 10.10.2, GNU Emacs 24.4.1
>> > (x86_64-apple-darwin14.1.0, NS apple-appkit-1344.72)
>> > of 2015-02-23 on p) the key modifiers C, M, s, and C-M work as expected,
>> > but C-s and M-s produce unexpected keys (according to the messages
>> buffer):
>> > C-s-a produces C-s-268632065, and M-s-a produces M-s-å. Is this expected,
>> > or should I report a bug?
>>
>>
>> How do you type s- on a MacOSX keyboard?
>>
>> I use a DasKeyboard 3 keyboard, with "System
>> Preferences"/"Keyboard"/"Modifier Keys…" set to
>>
>> Caps Lock -> Control
>> Control -> Control
>> Option -> Command
>> Command -> Option
>>
>> (there's no Hyper or super choice here);
>>
>> and consequently, I get the following map to emacs
>> (http://www.emacsformacosx.com) modifiers:
>>
>>
>> C- RET
>> S- S-
>> C- A- M- SPC M-a A- C-p C-
>>
>> (notice the C-p bound to the second form the right bottom key, which I
>> cannot change to anything more useful).
>>
>>
>>
> I have a MS Natural ergonomic keyboard with Ctrl mapped to Cmd and Cmd
> mapped to Ctrl in System Preferences. The keys on the bottom row are
> labelled Ctrl, Windows, Alt, Space, Alt, Menu, Ctrl. OS X maps the first
> three to Cmd, Option, Ctrl. With all the customization options in the "ns"
> group in Emacs (from Homebrew) being set to their defaults, left and right
> Cmd (that is, the keys labelled Ctrl for me) are mapped to Super, Option
> (labelled Windows) is mapped to Meta, and Ctrl (labelled Alt) is mapped to
> Ctrl. (Here it would be possible to also add mappings for Hyper and Alt.)
> For the Option key Emacs seems to merge the bindings of OS X (Option+a = å)
> and Emacs (Option = M), but only if the Super modifier is also pressed. No
> idea what happens for Super+Ctrl.
Notice how I carefully configured my keyboard to distinguish A- from M-.
--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-01 16:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-27 7:13 OS X: M-s and C-s modifiers generate weird keystrokes Philipp Stephani
2015-03-01 16:42 ` Philipp Stephani
[not found] <mailman.915.1425021241.31049.help-gnu-emacs@gnu.org>
2015-02-27 7:52 ` Pascal J. Bourguignon
2015-02-28 6:36 ` Philipp Stephani
[not found] ` <mailman.985.1425105408.31049.help-gnu-emacs@gnu.org>
2015-02-28 7:16 ` Pascal J. Bourguignon
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.