From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: YH Tan Newsgroups: gmane.emacs.bugs Subject: bug#44533: 27.1; Mac special key modifiers not functioning as expected Date: Tue, 10 Nov 2020 20:09:03 +0800 Message-ID: <9A29D888-6780-46EC-90ED-36FB9D800480@gmail.com> References: <20a05d56-c273-471a-a23c-b9c2f62a8c2c_IMAP_ADDED_MISSING@ORVILLE> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24469"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44533@debbugs.gnu.org, Andrii Kolomoiets To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 10 13:10:19 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 1kcSTZ-0006Dx-OW for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 13:10:17 +0100 Original-Received: from localhost ([::1]:45218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcSTY-0006vX-Nj for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 07:10:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcSTK-0006vD-Me for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 07:10:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53330) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcSTK-000791-Cq for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 07:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcSTK-0002Se-85 for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 07:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: YH Tan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Nov 2020 12:10: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.16050101539402 (code B ref 44533); Tue, 10 Nov 2020 12:10:02 +0000 Original-Received: (at 44533) by debbugs.gnu.org; 10 Nov 2020 12:09:13 +0000 Original-Received: from localhost ([127.0.0.1]:36643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcSSX-0002Ra-LC for submit@debbugs.gnu.org; Tue, 10 Nov 2020 07:09:13 -0500 Original-Received: from mail-pg1-f179.google.com ([209.85.215.179]:37434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcSSV-0002RN-MV for 44533@debbugs.gnu.org; Tue, 10 Nov 2020 07:09:12 -0500 Original-Received: by mail-pg1-f179.google.com with SMTP id h6so9990031pgk.4 for <44533@debbugs.gnu.org>; Tue, 10 Nov 2020 04:09:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Cn+OAZQGd/QIknBHRHpgEIDpMEvU5XsBh8DA5483bpE=; b=VB3uPrgS13sYcyMbS5INoNk+/NHbNsVFOC/0jaFso7OZ/RpyCzbjo7nKLn1tTsECAC i76hVIVOANaNRHr1JNNwdFopVRJq3aRnWFteIsdw8FOoMqr7zXnn21ARcx4E4T2xh/Ga xtkyQtzgLQ4yFwhCXDsvAUw7VERAzMx3tar9uVGI0fg7aJlAVMb7pgQbRr2m6iPcUue5 hTDuxX36Xafx8tI6i8Vq5ePxv0yg3SR7XcVmlis/R45yV+TXLk+TA5rRG6Et0kaZ+cgW z3zQy2pM7XasDFGKg0LrMZYJNmxHkZwgad406YU5497sx4j+TDK7FHJxY5nU/SOMkAzu Mc9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Cn+OAZQGd/QIknBHRHpgEIDpMEvU5XsBh8DA5483bpE=; b=KSXZADpXUTYbQnButBJZ3MYCJa9gFGbWw9GhoMrdXH4ijOkaCLFCRO4gMnx/5G1dKw fcbb99Xi3x+EdTiOeYje93B5u8n4LuGZb/w7+IspAJc4WfbYbcVFXZYinlBP7fhlwPNu T5g4o0dpRr9u/zvZF+f7VDdNYrmgivaRIsTtOKjjvgPgxyphHyJcGrQNd6fVcp6EcvOW P+P7tNxVn9CF0L/OuvsxjJa8a8X0/kq4fuNG/aX7EfP0Xf4+IvyzPnfNUrhbNjoH7NaR k43mtiZ1QUo9bdadGYfJW0NJCR5kut4VQ6fngjOY3q99N+4iinR1oPC0+FpuI5fYTkIl vD4A== X-Gm-Message-State: AOAM532gH6hNkg0f9RPw4ySJLO0/0NynTfB9lI0XSkqInUFarc8k1AJD ODNPpiGpmkMHUsV8POsj9zo= X-Google-Smtp-Source: ABdhPJxTXe1AoC276YhJ96+Y6nEfi3VoNzlXkd6o3c7S5/zJQ0jnJV01dxvgQ5VhG1C5zjSW7W+mpw== X-Received: by 2002:a17:90b:395:: with SMTP id ga21mr4688930pjb.219.1605010145734; Tue, 10 Nov 2020 04:09:05 -0800 (PST) Original-Received: from [10.20.16.27] ([140.112.218.108]) by smtp.gmail.com with ESMTPSA id o132sm14520137pfg.100.2020.11.10.04.09.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Nov 2020 04:09:05 -0800 (PST) In-Reply-To: <20a05d56-c273-471a-a23c-b9c2f62a8c2c_IMAP_ADDED_MISSING@ORVILLE> X-Mailer: Apple Mail (2.3445.104.15) 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:193002 Archived-At: > On Nov 10, 2020, at 19:11, Alan Third wrote: >=20 > 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. >>=20 >> For example, when I do: >>=20 >> (setq mac-left-option-modifier 'nil) > ^^^^ >>=20 >> nothing happens to the left option key, which retains its meta = function.=20 >=20 > You should be using mac-option-modifier, not mac-left-option-modifier. This would reset both option keys. I would like to retain meta on the = right.=20 >=20 >> If I use:=20 >>=20 >> (setq mac-option-modifier 'nil) >> (setq mac-right-option-modifier 'meta) >>=20 >> 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.=20 >>=20 >> The error can be replicated with emacs -Q and evaluating the above >> functions.=20 >=20 > I can't replicate this. >=20 >> option+up/down/left/right doesn=E2=80=99t do anything on its own in = the system. >>=20 >> In org-mode =E2=80=98C-h k=E2=80=99 just ignores the meta key and = returns the arrow or >> RET key (in the case of org-insert-heading). Only things like = =E2=80=98M-x=E2=80=99 >> works with the reset right option in this case. >=20 > 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. >=20 Yes. I do have:=20 (setq mac-function-modifier 'meta) which maps function to meta. You mean this can actually interfere with = the right-option meta key?=20 I=E2=80=99ve been using the same setup for previous versions of emacs = without problem.=20 > Do you have any other remapping set up? Are you using a USB keyboard? >=20 > --=20 > Alan Third