GNU bug report logs - #42915
27.1; Setting ns-function-modifier to control breaks control for certain keys

Previous Next

Package: emacs;

Reported by: "Ryan C. Thompson" <rct <at> thompsonclan.org>

Date: Tue, 18 Aug 2020 14:23:02 UTC

Severity: normal

Tags: moreinfo, patch

Found in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 42915 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: "Ryan C. Thompson" <rct <at> thompsonclan.org>
Cc: 42915 <at> debbugs.gnu.org
Subject: Re: bug#42915: 27.1; Setting ns-function-modifier to control breaks
 control for certain keys
Date: Wed, 19 Aug 2020 00:50:44 +0200 (CEST)
[Message part 1 (text/plain, inline)]
On Tue, Aug 18, 2020 at 10:22:18AM -0400, Ryan C. Thompson wrote:
> On a mac, run:
> 
> emacs -Q --eval "(setq ns-function-modifier 'control)"
> 
> Then try C-right, C-home, and similar key combinations. Emacs will act as if
> control is not being held down, i.e. C-right will run right-char instead of
> right-word. Indeed, C-h k C-right shows the key binding for right, not
> C-right. However, other key combinations, such as C-f, work as expected.
> 
> As far as I can tell, this only started happening after I updated to Emacs
> 27. I was previously using this config with Emacs 26.3 and never saw this
> issue. So I believe this is a new bug in Emacs 27.

Can you please try the attached patch?

Note that there may be some change to how "function" keys, like return
and the arrow keys, are handled when using the fn key. I can't
remember exactly how they worked with Emacs 26, but I believe the new
behaviour should be more consistent across the board.
-- 
Alan Third
[0001-Handle-fn-functions-keys-better-on-NS-bug-42915.patch (text/plain, attachment)]

This bug report was last modified 3 years and 312 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.