From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#44533: 27.1; Mac special key modifiers not functioning as expected Date: Tue, 10 Nov 2020 11:11:44 +0000 Message-ID: <20a05d56-c273-471a-a23c-b9c2f62a8c2c_IMAP_ADDED_MISSING@ORVILLE> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9227"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44533@debbugs.gnu.org, Andrii Kolomoiets To: YH Tan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 10 12:14:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcRbJ-0002JW-Eb for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 12:14:13 +0100 Original-Received: from localhost ([::1]:57308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcRbI-0001xS-Ch for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 06:14:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcRZD-00074i-03 for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 06:12:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcRZC-0004cC-Et for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 06:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcRZC-0000xG-AA for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 06:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Nov 2020 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44533 X-GNU-PR-Package: emacs Original-Received: via spool by 44533-submit@debbugs.gnu.org id=B44533.16050067183660 (code B ref 44533); Tue, 10 Nov 2020 11:12:02 +0000 Original-Received: (at 44533) by debbugs.gnu.org; 10 Nov 2020 11:11:58 +0000 Original-Received: from localhost ([127.0.0.1]:36571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcRZ7-0000wx-Py for submit@debbugs.gnu.org; Tue, 10 Nov 2020 06:11:58 -0500 Original-Received: from wilbur.contactoffice.com ([212.3.242.68]:45598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcRZ5-0000wi-03 for 44533@debbugs.gnu.org; Tue, 10 Nov 2020 06:11:56 -0500 Original-Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by wilbur.contactoffice.com (Postfix) with ESMTP id A82F0308C; Tue, 10 Nov 2020 12:11:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1605006708; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; l=1344; bh=fr1EXu9zj6KTSjqL1CGtX+XiPWrh77viqk1FTkVpDGs=; b=fD9u5dhxqH+L9JRzlUElSjGQstQ/tf1NyjAucN0SdosWqGzomxgXEZESxGbLdz2r Ko6JqU7NfqveacfhzM4w11ydBp6ScoZUga5uY1kxOrXbWWXIXMDms6tLHFJafwTcnk6 Qd0ml2QBPzZh06Sk9IB2ic/jPuJs5uesvpICmRMZb7aJQSwFcd5WClay/6+Kr0FwArx f8ndcds/HhTPoMD46TSnzQ8TYBM0teJRFN8gxdlsPNRkdaNlfjHZHFOzalmzL/KRS5g 4GBDKFZeWsH0DBm6+Chq6h8HxkoszXgvWcVgY1cw2ZDPg9hSnHRhdz0Ms72nY78/1Sv 4OBffuNt7w== Original-Received: by smtp.mailfence.com with ESMTPA ; Tue, 10 Nov 2020 12:11:45 +0100 (CET) Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 104DA20265F2D4; Tue, 10 Nov 2020 11:11:44 +0000 (GMT) Mail-Followup-To: Alan Third , YH Tan , 44533@debbugs.gnu.org, Andrii Kolomoiets Content-Disposition: inline In-Reply-To: X-ContactOffice-Account: com:241649512 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193001 Archived-At: 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