From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Mark Bestley" Newsgroups: gmane.emacs.bugs Subject: bug#51449: 28.0.50; iso-transl overwrites alt key bindings Date: Thu, 28 Oct 2021 09:51:29 +0100 Message-ID: References: <83sfwltyfz.fsf@gnu.org> <8ff3b131c525abbe4682@heytings.org> Mime-Version: 1.0 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="20657"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-1369-gd055fb5e7c-fm-20211018.002-gd055fb5e Cc: 51449@debbugs.gnu.org To: "Gregory Heytings" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 28 10:52:15 2021 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 1mg18v-00052G-Jb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 10:52:14 +0200 Original-Received: from localhost ([::1]:37496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg18s-0001ZO-D8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 04:52:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg18k-0001ZG-KL for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 04:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39777) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mg18k-0007A6-CE for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 04:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mg18k-00051F-6S for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 04:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Mark Bestley" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Oct 2021 08:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51449 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 51449-submit@debbugs.gnu.org id=B51449.163541112119287 (code B ref 51449); Thu, 28 Oct 2021 08:52:02 +0000 Original-Received: (at 51449) by debbugs.gnu.org; 28 Oct 2021 08:52:01 +0000 Original-Received: from localhost ([127.0.0.1]:51323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mg18j-000510-1U for submit@debbugs.gnu.org; Thu, 28 Oct 2021 04:52:01 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:50935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mg18d-00050g-RF for 51449@debbugs.gnu.org; Thu, 28 Oct 2021 04:51:59 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 807A15C028C; Thu, 28 Oct 2021 04:51:50 -0400 (EDT) Original-Received: from imap42 ([10.202.2.92]) by compute5.internal (MEProxy); Thu, 28 Oct 2021 04:51:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bestley.co.uk; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=e/ ywy/CRFkOvkt7lWKP+zH3IlozI4Z7oR5VxH62CoDU=; b=E/u+sLho+r53X3wn5e msixZkj41hT/RBFk3vdTfWgAqSkyCuZi3ufy8JwY2ao4lCk1C80ppzP9+hcM/Mxd epPk2kHKOfnJMRDTCO/sACSamNzmp+CVUDBHHoNvkuOY/KzwtCPyUuqOpvXTxRqd ddoUJ2YcYYZ5YkvQfhvQKO0je6TAjT+Dl18a7tSGPFmmU6RWtYZnFEVkeR6rdEa4 485kn5XMP3Y6YgifSL1r0SDokn9v77Ju+7ew/310LXhIucw9FaoYGanxh19TWkps ThoKeFypABtKE0mKdIIQW/vL5T0y9vSGZ4ciHHwfuH9hQk40PlaSViApsiDO6oaT ajMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=e/ywy/CRFkOvkt7lWKP+zH3IlozI4Z7oR5VxH62Co DU=; b=A3zug/1hdSZpSzPw7s3SW5NT3sWfhL8hfWTv3nmKAbordlu2OR463hFuU zhsDRooAnAb5+as7HA3XEv67T/Pl4Zt2sJbSp4fRb88DgWgqe+eq75IY3Xl1Q8wU xEn2u2tuIEmoTG+AKX+K66RzsO92jpHu02idblELpdagR5nuNZ3X0IKpnDlHoZO6 bMrXfsyjF1Xme6d2v0FpU/Iu7CE32Ar8eV12ZLhWEj/derno+2A1EYLbxY9YPK45 Z0Lkw3qdqRcz07hHtlcEuPOcuDZsIf4Ofjrk7rPqUtsVkSsZ8nBHppMFziTk80ef GAKEg96k+0Tn6I+f4VW2YeRDB9PVw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdegvddgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfofgr rhhkuceuvghsthhlvgihfdcuoehgnhhusegsvghsthhlvgihrdgtohdruhhkqeenucggtf frrghtthgvrhhnpeeiteffffelffdvueeuteduleetteffieffhffgkeekleevteffjeff leetheehueenucffohhmrghinhepvghmrggtshifihhkihdrohhrghenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgnhhusegsvghsthhlvgih rdgtohdruhhk X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 155372180075; Thu, 28 Oct 2021 04:51:50 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <8ff3b131c525abbe4682@heytings.org> 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:218495 Archived-At: On Thu, 28 Oct 2021, at 09:40, Gregory Heytings wrote: >> >> (setq mac-command-modifier 'alt) >> >> (global-set-key (kbd "A-c") 'info) >> (global-set-key (kbd "A-z") 'info) >> >> Then A-z runs info but A-c just inserts =C2=A2 >> > > That's because iso-transl uses key-translation-map, which happens befo= re=20 > the key is searched in the global-map. > Yes I now remember debugging this a few years ago. > But what do you want to do exactly? As I said earlier, > > (setq mac-command-modifier 'meta) > (setq mac-right-command-modifier 'alt) > > should I think give you what you want: a meta key on the left of the s= pace=20 > bar, an alt key on the right of the space bar. What I want is to make A-c run the command I want - ie be able to bind i= t. The issue is that the code I use Mac-key-mode (and also Aquamacs) uses A-c as copy to match other M= acOS programs. I would say the bigger issue is that as Eli Zaretskii said I should be = able to rebind A-c=20 Another way but I think not as good would be to make the A- bindings by = iso-trans only occur if I ask for them. >From Eli's email saying I can unbind the keys - how do I do that? In earlier emacs iso-transl was not loaded early (I think was only used = in describe-bindings) so that we could work around this. --=20 Mark