all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* MacOS (emacsformacosx) c-spc, does not run set-mark-command
@ 2021-03-24 21:17 Uwe Brauer
  2021-03-25  7:40 ` Pankaj Jangid
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Uwe Brauer @ 2021-03-24 21:17 UTC (permalink / raw)
  To: help-gnu-emacs


Hi

Does anybody know how to achieve the traditional binding of 
C-space to set-mark-command on MacOS (for emacsformacos)?

Shift arrow down works, but will not work for a lot of features in org
mode.

Thanks 

Uwe Brauer 




^ permalink raw reply	[flat|nested] 11+ messages in thread

* MacOS (emacsformacosx) c-spc, does not run set-mark-command
@ 2021-03-24 21:18 Uwe Brauer
  2021-03-24 21:32 ` Tim Cross
  0 siblings, 1 reply; 11+ messages in thread
From: Uwe Brauer @ 2021-03-24 21:18 UTC (permalink / raw)
  To: emacs-orgmode



Hi

Does anybody know how to achieve the traditional binding of 
C-space to set-mark-command on MacOS (for emacsformacos)?

Shift arrow down works, but will not work for a lot of features in org
mode.

Thanks 

Uwe Brauer 



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command
  2021-03-24 21:18 MacOS (emacsformacosx) c-spc, does not run set-mark-command Uwe Brauer
@ 2021-03-24 21:32 ` Tim Cross
  2021-03-24 22:38   ` Diego Zamboni
  0 siblings, 1 reply; 11+ messages in thread
From: Tim Cross @ 2021-03-24 21:32 UTC (permalink / raw)
  To: emacs-orgmode


Uwe Brauer <oub@mat.ucm.es> writes:

> Hi
>
> Does anybody know how to achieve the traditional binding of 
> C-space to set-mark-command on MacOS (for emacsformacos)?
>
> Shift arrow down works, but will not work for a lot of features in org
> mode.
>

Have you verified c-space is not being used by the macOS UI as a
shortcut for something like spotlight search?

I now use spacemacs, but when I used my own setup, I don't recall having
to do anything special to get this behaviour apart from disabling macOS
shortcuts. 

-- 
Tim Cross


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command
  2021-03-24 21:32 ` Tim Cross
@ 2021-03-24 22:38   ` Diego Zamboni
  2021-03-24 22:54     ` Tim Cross
  0 siblings, 1 reply; 11+ messages in thread
From: Diego Zamboni @ 2021-03-24 22:38 UTC (permalink / raw)
  To: Tim Cross; +Cc: Org-mode

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]

I have seen differences in this behavior depending on the Emacs build. The
emacs-mac port (https://github.com/railwaycat/homebrew-emacsmacport) seems
to intercept certain Mac-specific keybindings such as C-space and C-M-space
and gives them their "Mac meaning", e.g. to bring up Spotlight or the
symbol chooser. I could never figure out how to disable this behavior.

Now I use emacs-plus (https://github.com/d12frosted/homebrew-emacs-plus)
and this no longer happens.

--Diego



On Wed, Mar 24, 2021 at 10:34 PM Tim Cross <theophilusx@gmail.com> wrote:

>
> Uwe Brauer <oub@mat.ucm.es> writes:
>
> > Hi
> >
> > Does anybody know how to achieve the traditional binding of
> > C-space to set-mark-command on MacOS (for emacsformacos)?
> >
> > Shift arrow down works, but will not work for a lot of features in org
> > mode.
> >
>
> Have you verified c-space is not being used by the macOS UI as a
> shortcut for something like spotlight search?
>
> I now use spacemacs, but when I used my own setup, I don't recall having
> to do anything special to get this behaviour apart from disabling macOS
> shortcuts.
>
> --
> Tim Cross
>
>

[-- Attachment #2: Type: text/html, Size: 1788 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command
  2021-03-24 22:38   ` Diego Zamboni
@ 2021-03-24 22:54     ` Tim Cross
  2021-03-25  7:24       ` Uwe Brauer
  0 siblings, 1 reply; 11+ messages in thread
From: Tim Cross @ 2021-03-24 22:54 UTC (permalink / raw)
  To: Diego Zamboni; +Cc: Org-mode


Diego Zamboni <diego@zzamboni.org> writes:

> I have seen differences in this behavior depending on the Emacs build. The emacs-mac port (https://github.com/railwaycat/homebrew-emacsmacport)
> seems to intercept certain Mac-specific keybindings such as C-space and C-M-space and gives them their "Mac meaning", e.g. to bring up Spotlight or the
> symbol chooser. I could never figure out how to disable this behavior.
>
> Now I use emacs-plus (https://github.com/d12frosted/homebrew-emacs-plus) and this no longer happens.
>

Normally, you need to disable those 'shortcuts' at the OS level i.e.
under the keyboard shortucts item in macOS preferences panel. Problem is
any macOS shortcut will grab the keys before Emacs sees them. Not sure
how the emacs-plus version gets around this. 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command
  2021-03-24 22:54     ` Tim Cross
@ 2021-03-25  7:24       ` Uwe Brauer
  2021-03-25  8:00         ` Diego Zamboni
  2021-03-25  8:30         ` Tim Cross
  0 siblings, 2 replies; 11+ messages in thread
From: Uwe Brauer @ 2021-03-25  7:24 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

>>> "TC" == Tim Cross <theophilusx@gmail.com> writes:

> Diego Zamboni <diego@zzamboni.org> writes:

>> I have seen differences in this behavior depending on the Emacs
>> build. The emacs-mac port
>> (https://github.com/railwaycat/homebrew-emacsmacport)
>> seems to intercept certain Mac-specific keybindings such as C-space
>> and C-M-space and gives them their "Mac meaning", e.g. to bring up
>> Spotlight or the
>> symbol chooser. I could never figure out how to disable this behavior.
>> 
>> Now I use emacs-plus (https://github.com/d12frosted/homebrew-emacs-plus) and this no longer happens.
>> 

> Normally, you need to disable those 'shortcuts' at the OS level i.e.
> under the keyboard shortucts item in macOS preferences panel. Problem is
> any macOS shortcut will grab the keys before Emacs sees them. Not sure
> how the emacs-plus version gets around this. 

Right, it seems and issue of the OS shortcuts as C-space is for
switching keyboards (US->spanish>etc etc).[1]

Do you know how to change or disable them?

Uwe 



Footnotes:
[1]  the same happens on Linux/KDE


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command
  2021-03-24 21:17 Uwe Brauer
@ 2021-03-25  7:40 ` Pankaj Jangid
  2021-03-25  8:37 ` Stefan Möding
  2021-03-25  8:50 ` Gregory Heytings
  2 siblings, 0 replies; 11+ messages in thread
From: Pankaj Jangid @ 2021-03-25  7:40 UTC (permalink / raw)
  To: help-gnu-emacs

Uwe Brauer <oub@mat.ucm.es> writes:

> Does anybody know how to achieve the traditional binding of 
> C-space to set-mark-command on MacOS (for emacsformacos)?

I use the alternate arrangement i.e. ‘C-@’. This requires pressing three
keys - Control, Shift and [2/@] on my keyboard.

C-space is used by the OS for some other things. You should be able to
disable that in preferences and use it in Emacs.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command
  2021-03-25  7:24       ` Uwe Brauer
@ 2021-03-25  8:00         ` Diego Zamboni
  2021-03-25  8:30         ` Tim Cross
  1 sibling, 0 replies; 11+ messages in thread
From: Diego Zamboni @ 2021-03-25  8:00 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

On Thu, 25 Mar 2021 at 08:28, Uwe Brauer <oub@mat.ucm.es> wrote:

> Right, it seems and issue of the OS shortcuts as C-space is for
> switching keyboards (US->spanish>etc etc).[1]
>
> Do you know how to change or disable them?
>
> Uwe
>
>
>
> Footnotes:
> [1]  the same happens on Linux/KDE


On macOS, these shortcuts can be changed in the Keyboard preference panel.

--Diego


>
>

[-- Attachment #2: Type: text/html, Size: 945 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command
  2021-03-25  7:24       ` Uwe Brauer
  2021-03-25  8:00         ` Diego Zamboni
@ 2021-03-25  8:30         ` Tim Cross
  1 sibling, 0 replies; 11+ messages in thread
From: Tim Cross @ 2021-03-25  8:30 UTC (permalink / raw)
  To: emacs-orgmode


Uwe Brauer <oub@mat.ucm.es> writes:

>>>> "TC" == Tim Cross <theophilusx@gmail.com> writes:
>
>> Diego Zamboni <diego@zzamboni.org> writes:
>
>>> I have seen differences in this behavior depending on the Emacs
>>> build. The emacs-mac port
>>> (https://github.com/railwaycat/homebrew-emacsmacport)
>>> seems to intercept certain Mac-specific keybindings such as C-space
>>> and C-M-space and gives them their "Mac meaning", e.g. to bring up
>>> Spotlight or the
>>> symbol chooser. I could never figure out how to disable this behavior.
>>> 
>>> Now I use emacs-plus (https://github.com/d12frosted/homebrew-emacs-plus) and this no longer happens.
>>> 
>
>> Normally, you need to disable those 'shortcuts' at the OS level i.e.
>> under the keyboard shortucts item in macOS preferences panel. Problem is
>> any macOS shortcut will grab the keys before Emacs sees them. Not sure
>> how the emacs-plus version gets around this. 
>
> Right, it seems and issue of the OS shortcuts as C-space is for
> switching keyboards (US->spanish>etc etc).[1]
>
> Do you know how to change or disable them?
>

I'm not on a mac at present, but from memory it is under system preferences ->
keyborad -> shortcuts.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command
  2021-03-24 21:17 Uwe Brauer
  2021-03-25  7:40 ` Pankaj Jangid
@ 2021-03-25  8:37 ` Stefan Möding
  2021-03-25  8:50 ` Gregory Heytings
  2 siblings, 0 replies; 11+ messages in thread
From: Stefan Möding @ 2021-03-25  8:37 UTC (permalink / raw)
  To: help-gnu-emacs

Uwe Brauer <oub@mat.ucm.es> writes:

> Does anybody know how to achieve the traditional binding of 
> C-space to set-mark-command on MacOS (for emacsformacos)?

I think the mapping is intercepted by MacOS to start the Spotlight
search.  Open Preferences, got to Keyboard -> Shortcuts -> Spotlight and
disable the keyboard shortcut.

-- 
Stefan



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command
  2021-03-24 21:17 Uwe Brauer
  2021-03-25  7:40 ` Pankaj Jangid
  2021-03-25  8:37 ` Stefan Möding
@ 2021-03-25  8:50 ` Gregory Heytings
  2 siblings, 0 replies; 11+ messages in thread
From: Gregory Heytings @ 2021-03-25  8:50 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: help-gnu-emacs


>
> Does anybody know how to achieve the traditional binding of C-space to 
> set-mark-command on MacOS (for emacsformacos)?
>

I don't understand your question.  C-SPC should work out of the box I 
think, at least it does here.  The M-SPC (just-one-space) does not with 
default settings, because M-SPC is used for Spotlight search, but you can 
deactive this easily in the preferences if you want.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-03-25  8:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-24 21:18 MacOS (emacsformacosx) c-spc, does not run set-mark-command Uwe Brauer
2021-03-24 21:32 ` Tim Cross
2021-03-24 22:38   ` Diego Zamboni
2021-03-24 22:54     ` Tim Cross
2021-03-25  7:24       ` Uwe Brauer
2021-03-25  8:00         ` Diego Zamboni
2021-03-25  8:30         ` Tim Cross
  -- strict thread matches above, loose matches on Subject: below --
2021-03-24 21:17 Uwe Brauer
2021-03-25  7:40 ` Pankaj Jangid
2021-03-25  8:37 ` Stefan Möding
2021-03-25  8:50 ` Gregory Heytings

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.