unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: YH Tan <astyh83@gmail.com>
Cc: 44533@debbugs.gnu.org, Andrii Kolomoiets <andreyk.mad@gmail.com>
Subject: bug#44533: 27.1; Mac special key modifiers not functioning as expected
Date: Tue, 10 Nov 2020 11:11:44 +0000	[thread overview]
Message-ID: <20a05d56-c273-471a-a23c-b9c2f62a8c2c_IMAP_ADDED_MISSING@ORVILLE> (raw)
In-Reply-To: <D9E79A00-0A1A-4BFD-8057-3D2A9C6C4DE3@gmail.com>

On Mon, Nov 09, 2020 at 11:23:13PM +0800, YH Tan wrote:
> The functioning of certain special key modifiers doesn't seem to work as
> expected in 27.1.
> 
> For example, when I do:
> 
> (setq mac-left-option-modifier 'nil)
            ^^^^
> 
> nothing happens to the left option key, which retains its meta function. 

You should be using mac-option-modifier, not mac-left-option-modifier.

> If I use: 
> 
> (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. 
> 
> The error can be replicated with emacs -Q and evaluating the above
> functions. 

I can't replicate this.

> option+up/down/left/right doesn’t do anything on its own in the system.
>
> In org-mode ‘C-h k’ just ignores the meta key and returns the arrow or
> RET key (in the case of org-insert-heading). Only things like ‘M-x’
> works with the reset right option in this case.

This actually sounds suspiciously like you've remapped fn as option in
the system preferences. The fn key has some strange behaviours when
used with "control" keys like the arrows.

Do you have any other remapping set up? Are you using a USB keyboard?

-- 
Alan Third





  parent reply	other threads:[~2020-11-10 11:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-09 15:23 bug#44533: 27.1; Mac special key modifiers not functioning as expected YH Tan
2020-11-09 20:14 ` Andrii Kolomoiets
     [not found]   ` <ED2E9441-302C-4D7F-85E2-4E01027E7205@gmail.com>
2020-11-10  9:55     ` Andrii Kolomoiets
2020-11-10 11:11 ` Alan Third [this message]
2020-11-10 12:09   ` YH Tan
2020-11-10 13:11     ` Alan Third
2020-11-13 16:47       ` Alan Third
2020-12-14 20:39         ` Alan Third

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20a05d56-c273-471a-a23c-b9c2f62a8c2c_IMAP_ADDED_MISSING@ORVILLE \
    --to=alan@idiocy.org \
    --cc=44533@debbugs.gnu.org \
    --cc=andreyk.mad@gmail.com \
    --cc=astyh83@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).