Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-25 Thread Tim Cross


Uwe Brauer  writes:

 "TC" == Tim Cross  writes:
>
>> Diego Zamboni  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.




Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-25 Thread Diego Zamboni
On Thu, 25 Mar 2021 at 08:28, Uwe Brauer  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


>
>


Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-25 Thread Uwe Brauer
>>> "TC" == Tim Cross  writes:

> Diego Zamboni  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



smime.p7s
Description: S/MIME cryptographic signature


Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-24 Thread Tim Cross


Diego Zamboni  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. 



Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-24 Thread Diego Zamboni
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  wrote:

>
> Uwe Brauer  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
>
>


Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-24 Thread Tim Cross


Uwe Brauer  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



MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-24 Thread Uwe Brauer



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