I have emacs 25.2 installed on my Mac. Yesterday I updated the OS to High Sierra and the command C-M-<SPC>
to highlight s-expressions is not working any more. Can you help me?
Thanks
I always switched 'option' with 'command' for emacs in OS X.
(setq mac-command-modifier 'meta)
(setq mac-option-modifier 'super)
Given these key bindings in OS X (10.13.4) and Emacs (25.3, installed via homebrew), the C-M-<SPC>
works as expected on my mac.
(setq mac-option-modifier 'meta)
, which worked. Using (setq mac-option-modifier 'super)
stops the meta key from working altogether. And again, M-SPC
works. But for some reason, when I do C-M-SPC
, no signal is sent. Even when setting both mac-command-modifier
and mac-option-modifier
.
– Nutritioustim
Apr 16 '18 at 04:48
c-h k
followed by C-M-SPC
? If not, it's the OS X that catch the key sequence, then you may need to check which one occupy that key bindings by checking system preferences
-> keyboard
-> shortcuts
. If yes, Emacs is catching the key bindings, you will also know which function has been attached to the key bindings, you can change that keybindings by rebinding the keys via define-key
.etc.
– phye
Apr 17 '18 at 04:24
ns-alternate-modifier
and ns-command-modifier
. As is revealed here, mac-modif...
might be of interest, but it ought to be true by default. Check also your keyboard settings for the Ctrl-Opt-Space, may be assigned to some other OS command (this is my case, and disabling that command make the C-M-system preferences
-> keyboard
-> shortcuts
, C-M-Space
was being captured by Input Sources > Select next source in input menu. Cheers.
– Nutritioustim
Apr 20 '18 at 00:52
mark-sexp
) – Juancho Nov 20 '17 at 13:04mark-sexp
is also bound toC-M-@
and that works – elena Nov 20 '17 at 15:18C-M-g
combination works.C-SPC
andM-SPC
both work. ButC-M-SPC
seems to not send a signal to the emacs system. Very bizarre. Any ideas here? – Nutritioustim Apr 11 '18 at 00:33Esc C-SPC
seems to work... – Andrew Swann Apr 12 '18 at 07:45M-SPC
. But for some reason, when I doC-M-SPC
, no signal is sent. – Nutritioustim Apr 16 '18 at 04:44emacs -Q
and pressC-h k
C-M-SPC
? – Maxim Kim Apr 16 '18 at 14:11