From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#19977: 24.4; Incorrect translation of Super modifier with Ctrl or Meta on OS X Date: Tue, 26 Dec 2017 21:16:03 +0000 Message-ID: <20171226211603.GA82103@breton.holly.idiocy.org> References: <83d1qdw7bt.fsf@gnu.org> <834mbowuxw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1514322918 13422 195.159.176.226 (26 Dec 2017 21:15:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Dec 2017 21:15:18 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) Cc: adrian.b.robert@gmail.com, 19977@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 26 22:15:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTwZ7-00035p-Id for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Dec 2017 22:15:13 +0100 Original-Received: from localhost ([::1]:57532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTwb5-0002gu-Ux for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Dec 2017 16:17:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTwaw-0002gI-PN for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 16:17:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTwas-00044D-En for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 16:17:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eTwas-00043v-AR for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 16:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eTwar-0007pK-Tt for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 16:17:01 -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, 26 Dec 2017 21:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19977 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 19977-submit@debbugs.gnu.org id=B19977.151432297530022 (code B ref 19977); Tue, 26 Dec 2017 21:17:01 +0000 Original-Received: (at 19977) by debbugs.gnu.org; 26 Dec 2017 21:16:15 +0000 Original-Received: from localhost ([127.0.0.1]:52940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTwa7-0007oA-H4 for submit@debbugs.gnu.org; Tue, 26 Dec 2017 16:16:15 -0500 Original-Received: from mail-wr0-f175.google.com ([209.85.128.175]:43496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTwa4-0007nv-8p for 19977@debbugs.gnu.org; Tue, 26 Dec 2017 16:16:12 -0500 Original-Received: by mail-wr0-f175.google.com with SMTP id w68so22910426wrc.10 for <19977@debbugs.gnu.org>; Tue, 26 Dec 2017 13:16:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=gTSyUOI/h9qDN6cHSrPrHy6vURfJ8XQpmjZQ1eNWYzs=; b=jXdV8xkT6kN9YKxt0lCtCERE36NxtBZiqg0pBhX7+IjPzgQZnCJ3lwNJR+SPV4dBlI gvBOPZcVlD3IeiN04AnkIstvLVVXaU0Z7UJ9gwuWTGzL8NmpncqCrin6kXLK3ez3Wawp YH2DPbwszI02KJw2iAi47k4/gjSpePyl9asP9IloQ8zRzCyS9Rg/PBOSMzdU7cVAgCnk PMnga9c5SnaVc8C3zpmJbvsHbgMdfC0GBESLh47w0+Vr+qrqzZZssbVIrvKMJo9m4Euf b0PnarkSly/OOqmf+flrGTT8UTlCnSackYwKvART+Cp5VN2DxbQX+cFC/pEUQqTl6GRL BTvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=gTSyUOI/h9qDN6cHSrPrHy6vURfJ8XQpmjZQ1eNWYzs=; b=tTcI1uklWmJ9xflLX8u/Hz8I9i/0Se/YOAJz/O5+eDy6H5vJXEjGx32YBuCg3w7vXw aBClAHYTKiJZIHg6y9mw9Y54u9zV5uYQ296oJ2i31PmvaTLRbEBN4IHNcPKSZl/MkIfV 2hzwJEsvnp/HrJtHuDfteplmDSY443yAva91vIzZVxUudThOo8mltLpQ+nWGJhyrB5yj lFsNQ9lgij7dOISFfHjRN5W2pok4MwPcPbm0UPktfZSjGI9nAiZIAC7zwJEEc25LVVcr bi8h5OXYcohSEd8cNvug9TteMFnU/ussymiu3rxy8JouXD2vnKEQSuTh77itVSM73nyD 17jQ== X-Gm-Message-State: AKGB3mKV/Bbz2aLsoueIHi4fLMHNp7cIUHshBkzSZkjFSOikok5c25vl nl7mS/V49xnHHoodMMhWuus= X-Google-Smtp-Source: ACJfBotk+5e1yLOV5j+TKp0LwTSPKokeWAOp+zU3KBKiY/RvSBlGq26r64ZjDyoqplktgnOhfJ4udA== X-Received: by 10.223.158.73 with SMTP id v9mr519688wre.73.1514322966394; Tue, 26 Dec 2017 13:16:06 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-e50b-ef10-9192-e044.holly.idiocy.org. [2001:8b0:3f8:8129:e50b:ef10:9192:e044]) by smtp.gmail.com with ESMTPSA id 187sm26820133wmu.19.2017.12.26.13.16.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Dec 2017 13:16:05 -0800 (PST) Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141517 Archived-At: On Tue, Dec 26, 2017 at 08:14:59PM +0000, Philipp Stephani wrote: > Alan Third schrieb am Di., 26. Dez. 2017 um 18:42 Uhr: > > > Do you think this patch is still good? > > > > I think so, modulo the caveats mentioned in the comments. Do you want me to > rebase and commit it? As far as I can tell from the comments with the patch installed we should be no worse off than we are at the moment? I can’t quite work this out from a quick look at the code, but is it the case that when option or command is bound to meta or super then it acts as a control‐like modifier, but when it’s unbound then it acts as a shift‐like modifier? So this should give us the same behaviour for both keys that we have with option just now? > > I reckon the issues with command-key modifiers should be fixed, even if > > it's just a new variable that disables the shift-like behaviour of > > command. > > > > > Do you mean "should be fixed" as in "I believe it's fixed" or as in "I want > it to be fixed, but it's not yet fixed"? Definitely the latter. > If the latter, I'm not sure whether the macOS event model allows us to do > this. As mentioned in the comments in the patch, some information just > appears to be lost entirely. I recently found myself using this lovely binding: (define-key global-map [C-s-268632064] 'ns-do-show-character-palette) and it seems crazy to me that the default behaviour of Emacs requires us to use 268632064 instead of SPC when we could tell people using unusual keyboard layouts to set a variable or something instead. As for losing data, as long as it’s no worse than what we have at the moment, which I believe you said is the case in a previous email, then I don’t see a problem with that. But perhaps I’ve misunderstood and there’s some worse behaviour? Thanks! -- Alan Third