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 17:42:48 +0000 Message-ID: References: <83r3etwc9j.fsf@gnu.org> <83lh51w9z8.fsf@gnu.org> <83d1qdw7bt.fsf@gnu.org> <834mbowuxw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1514310075 16570 195.159.176.226 (26 Dec 2017 17:41:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Dec 2017 17:41:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (darwin) 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 18:41:10 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 1eTtDx-0003rv-0Y for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Dec 2017 18:41:09 +0100 Original-Received: from localhost ([::1]:50284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTtFv-0007CW-R7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Dec 2017 12:43:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTtFp-0007BY-6T for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 12:43:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTtFm-0008Gq-2g for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 12:43:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44173) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eTtFl-0008Gg-Vg for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 12:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eTtFl-0002f5-NJ for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2017 12:43: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 17:43: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.151431018010223 (code B ref 19977); Tue, 26 Dec 2017 17:43:01 +0000 Original-Received: (at 19977) by debbugs.gnu.org; 26 Dec 2017 17:43:00 +0000 Original-Received: from localhost ([127.0.0.1]:52854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTtFj-0002ep-Nw for submit@debbugs.gnu.org; Tue, 26 Dec 2017 12:42:59 -0500 Original-Received: from mail-wr0-f174.google.com ([209.85.128.174]:46252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTtFh-0002eb-Dn for 19977@debbugs.gnu.org; Tue, 26 Dec 2017 12:42:57 -0500 Original-Received: by mail-wr0-f174.google.com with SMTP id g17so25785441wrd.13 for <19977@debbugs.gnu.org>; Tue, 26 Dec 2017 09:42:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=wRg04CoFa58IMjzbjzlbybwlhq9cRRSaE/s1Q2FJXHo=; b=oXazzVfhJnLM8IKbUmM+HN8Y+vks2wlk6gBHEI3cCmHFXUt8TvIRBECzGGh47HE+u5 BSvmvQur62Wj18e8aUS9O/MLwJcUw1hXotTaecRFPkuUSCpXbimJwWcAqNy4ob+grHoo zoCU3BzEUBonctBamcvGsqLyqCyTK8opwL0GlKFUJu7caUcL4tZyQ2t43Zno+GTnxnVf bBFKPaRFZM3kIfUMtV71agYD6jXNqTmqM9C+D+h2buJzgfePV7+48dZei0Ow0DfhOsv9 ROLAdKLfX6SPP7I9Xre9g3B0B9Gq4TmcEygqkg3bWOwp2qi+2UCTSRVbObT7+zIgdJn6 jUxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=wRg04CoFa58IMjzbjzlbybwlhq9cRRSaE/s1Q2FJXHo=; b=bb0GckAn5jL3HHO6X2OwdtipQqeAXzGKAfGodzBXqODqyZtjPmAkdjrdm6yZcphUDi +LrNrXC+5rKTm442dl0cFUJ0+wvfTU9z8k278mlN98qpWlmvCgb8MSrd1uKQlxfrp4mc X7qEw9xIPPeJdgXEkFE0FC3/pKT1Lx9L9y63bdnCnpfs9FLtUT8+hJDG4rullKsVi8M6 7BC2Yu47kSseRu8X0QtJniX6PtPkSsEKvX8EX1Lsw324y4VRlaqI6laQtU3UY6tu7ZSE 7AsZCpws30IMMAcwwCbpmuQnoWFYz4xENZ7EcrVR9yXpToTvwx8hfY95aa6VH5+6weIq ryvg== X-Gm-Message-State: AKGB3mLaZzdHRlSu4ntHwnRJR2dud9NFy+Oi88vXKdgtmpL1yVJtkdqf V8pwAimc3bvOI38ndBmxKPJIvMjhT6g= X-Google-Smtp-Source: ACJfBovpvO9XoAN0JIDZ0axpD7NjbT44bXYSQ0L+988pBlV89bjZ1wC3RM8mTp8fHqocsB55myFUVA== X-Received: by 10.223.171.207 with SMTP id s73mr16702419wrc.79.1514310171298; Tue, 26 Dec 2017 09:42:51 -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 v10sm10349835wra.15.2017.12.26.09.42.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Dec 2017 09:42:50 -0800 (PST) In-Reply-To: (Philipp Stephani's message of "Wed, 30 Mar 2016 17:35:30 +0000") 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:141511 Archived-At: Philipp Stephani writes: > I've attached a patch that should keep the aforementioned input methods working (by setting ns-command-modifier to none) and allow Command and Option to be treated as either shift-like or control-like modifiers. > In my tests input now works as expected with the Dvorak - Querty and similar input methods if ns-command-modifier is none. Also various key combinations with Super work now if it's set to super. > One thing that might be unexpected is that e.g. Command-Control-A will be interpreted as Control-A if ns-command-modifier is none, even if Command-A would insert something other than A. It seems this is (undesirable) behavior is actually already present at head. Hi Philipp, Do you think this patch is still good? 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. -- Alan Third