Subject: Re: bug#44533: 27.1; Mac special key modifiers not functioning as expected

From: Andrii Kolomoiets <[email-masked]>
Date: Mon, 09 Nov 2020 22:14:44 +0200

YH Tan <[email-masked]> writes:

> (setq mac-option-modifier 'nil)
> (setq mac-right-option-modifier 'meta)
>
> the left option key is revived, but the right option key fails to capture
> some of the regular meta keybindings, such as org-do-promote/demote,
> org-move-subtree-up/down etc. 

Is it possible that those keybindings are handled by your OS?

For example, I'm using following settings:

(custom-set-variables
 '(ns-command-modifier 'control)
 '(ns-right-command-modifier 'super))

When I press Command-TAB, Emacs doesn't "see" C-TAB (or s-TAB) because
Command-TAB is used by OS to switch to another application.

Use 'C-h k' to see what key is pressed and what command it invokes.