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 11:53:25 +0100 Message-ID: <280ee409-8f30-41ef-8613-c5e161862c2d@www.fastmail.com> References: <83sfwltyfz.fsf@gnu.org> <83cznptrkf.fsf@gnu.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="28569"; 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: "Eli Zaretskii" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 28 12:54:24 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 1mg337-0007EK-Tn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 12:54:23 +0200 Original-Received: from localhost ([::1]:45244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg335-0003eM-Uv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 06:54:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg32o-0003ZF-O0 for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 06:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mg32o-0005mi-Cb for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 06:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mg32o-0000Q0-Bw for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2021 06:54: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 10:54: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.16354184351592 (code B ref 51449); Thu, 28 Oct 2021 10:54:02 +0000 Original-Received: (at 51449) by debbugs.gnu.org; 28 Oct 2021 10:53:55 +0000 Original-Received: from localhost ([127.0.0.1]:51445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mg32h-0000Pb-D2 for submit@debbugs.gnu.org; Thu, 28 Oct 2021 06:53:55 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:36967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mg32d-0000PH-Eq for 51449@debbugs.gnu.org; Thu, 28 Oct 2021 06:53:53 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 32BB95C019A; Thu, 28 Oct 2021 06:53:46 -0400 (EDT) Original-Received: from imap42 ([10.202.2.92]) by compute5.internal (MEProxy); Thu, 28 Oct 2021 06:53:46 -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=LA T37IUq+n4ynQgcnhAOd4uoEpkocATtpe9hTG3ArJU=; b=LB21kh0OwMnKO0T+Dh GM1tVZ4lCjoXZ+ku34TTzxK11BwQmMPggktpxMuq8xNjv7sqkgq37tVOukNCWyX8 Pe+Vklo+mY8zDxz9j4SfeKveMwrd+Bxg2TKLmvR2Y6w4UOz+uy63Ah2LP9XzAKdS /3u1foBW45B0o50pnqqpZmvG700f471dFSe3+Prv+d6j9wpOyJGFjH7muMFpHvHM jmz/fqGVD77I+ceGhx1BhMTGHO9qsrGIhlOTx+4JENIAnahKWaCfk1ziaxRjerMf V4otUQtuK5zZZYTkDzq1HLAh+WCo2nniCNr+PzZHX1rN4gOREUmvcRHdH4lp4fE7 GO7w== 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=LAT37IUq+n4ynQgcnhAOd4uoEpkocATtpe9hTG3Ar JU=; b=kC8CPvcyz5PtCRh27OmRJ/asAsJOAc/xaFq4yy8RjsSFcbOKOhuKCMBM3 Hfc1h5iCWlZTNvJe0+f23u+1X10SD7iNRQ6PIIN9iNkUaxCyIE+zlvgFYjkeTntW aei3SN/3XuSnwL9u0diAUUODxSeA62zmSsabcNOTgDOao/84GFhNIxpMr7EDqv2s 7xWmFZyQXeF/ldVll6FwOKO6hTmoBVNULxzfsPv5FfP0MFX+B3ATcC9KSoVt50+A d5HkZquLUWOlOuja1X3xSapMBvoPzrMEqPo1vwF0d52Ewn7MvAX6VOe/ymP6uJ7j GE3tj5E+hjo2DgVsGDKxxk/Aq2YCw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdegvddgfedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfofgr rhhkuceuvghsthhlvgihfdcuoehgnhhusegsvghsthhlvgihrdgtohdruhhkqeenucggtf frrghtthgvrhhnpeegveejvefgffdtgffgtedvhedtgefhgeekuedtueeuffejffeuuddt udevudetleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehgnhhusegsvghsthhlvgihrdgtohdruhhk X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id B7BA52180075; Thu, 28 Oct 2021 06:53:45 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <83cznptrkf.fsf@gnu.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:218503 Archived-At: On Thu, 28 Oct 2021, at 10:41, Eli Zaretskii wrote: >> Date: Thu, 28 Oct 2021 09:12:54 +0100 >> From: "Mark Bestley" >> Cc: 51449@debbugs.gnu.org >>=20 >> On Thu, 28 Oct 2021, at 08:12, Eli Zaretskii wrote: >>=20 >> > >> > iso-transl is preloaded now. But I don't think I understand why it >> > gets in your way: can't you unbind the bindings that iso-transl doe= s, >> > if you have no use for them, or rebind them after changing Alt to b= e a >> > modifier key if you do have use for iso-transl? >> > >> > (Caveat: I don't use a Mac, so I may be missing some Mac-specific >> > issue here.) >>=20 >> In scratch buffer on emacs - Q >>=20 >>=20 >> (setq mac-command-modifier 'alt) >>=20 >> (global-set-key (kbd "A-c") 'info) >> (global-set-key (kbd "A-z") 'info) >>=20 >> Then A-z runs info but A-c just inserts =C2=A2 > > I'm not arguing against facts, I asked why you cannot undo what > iso-transl does. For example, disable key-translation-map, or > redefine its entries as you see fit. Mainly because I did not know the depths of emacs and what to do with ke= y-translation-map and getting annoyed with something happening without m= e asking for it and being totally surprised by the change in bindings es= pecially as I thought users had complete control of A- bindings, only C-= x were reserved for emacs use. (Ie I had not require iso-trans myself) I have now undone the iso-trans changes as Gregory suggested=20 (dolist (transl-char iso-transl-char-map) (let ((vec (vconcat (car transl-char)))) (aset vec 0 (logior (aref vec 0) ?\A-\^@)) (define-key key-translation-map vec nil))))) --=20 Mark