From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#51449: 28.0.50; iso-transl overwrites alt key bindings Date: Wed, 27 Oct 2021 21:48:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="sw4wCFH3MX" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26905"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51449@debbugs.gnu.org To: Mark Bestley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 27 23:49:14 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 1mfqnK-0006rm-C3 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 23:49:14 +0200 Original-Received: from localhost ([::1]:36772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfqnJ-0008KI-2r for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 17:49:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfqn8-0008IV-A6 for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 17:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfqn8-0002cC-0D for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 17:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfqn7-0007xs-MF for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 17:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Oct 2021 21:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51449 X-GNU-PR-Package: emacs Original-Received: via spool by 51449-submit@debbugs.gnu.org id=B51449.163537133330602 (code B ref 51449); Wed, 27 Oct 2021 21:49:01 +0000 Original-Received: (at 51449) by debbugs.gnu.org; 27 Oct 2021 21:48:53 +0000 Original-Received: from localhost ([127.0.0.1]:50739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfqmy-0007xW-NJ for submit@debbugs.gnu.org; Wed, 27 Oct 2021 17:48:52 -0400 Original-Received: from heytings.org ([95.142.160.155]:38406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfqmv-0007xI-Fc for 51449@debbugs.gnu.org; Wed, 27 Oct 2021 17:48:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1635371328; bh=x3UkzWR43mk7vd4AN0kISKZP4W6xYtwyWVE97yf9LDE=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=MSfLg8PQ6GoSk6oI+8mGfH+iDyBN2DQhdJZdBPMjbG+9Tp+NilFBcZPsiVajYD1Y/ PpqM/hctW5OryCWyCByugMNyWL4lRy74RKYSQEc6NGOVZ7sAIrjuyZRpiB9RuEBPDO A1PzHxBrNwUsWjAC3Ly6UXYD19iMI8ujWuxqURNtZCtt2TwkMsl+4Yvm/YtDJsyZuA 0LKzHtBVaFYzs5X8wtRvdzugBGYtCIo0tzyIzQ3rMbNLCppNwfcdwcfNQWJwh6a0i3 wRMG01dk0Rpi5ONbMjJsLVxVxexSGtcYweBbJhzVc3STXjpFsNdSmhbzgP4dAqy3YM f2Sukq1142NZw== In-Reply-To: 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:218475 Archived-At: --sw4wCFH3MX Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Your bug report is difficult to understand. > > In emacs -Q just need something to get the Alt key bound > e.g. > (setq=C2=A0 mac-command-modifier 'alt) > > The when you Type A-c you get =C2=A2 and you cannot bind it yourself. > If you do this, A-c should display "A-c is undefined", which is indeed the= =20 case, it's not bound to any command (in emacs -Q). > > On a mac I want the key by space to be Alt as that is what is printed on= =20 > my PC keyboard. I suspect this is true with PCs > If you want the key on the left of the space bar to be the Meta key in=20 Emacs (which is what the Alt key usually does), you should do: (setq=20 mac-command-modifier 'meta). > > The issue is that (require 'iso-transl) is called before the user can=20 > alter its behaviour and that iso-transl.el then binds to various A-c and= =20 > other keys. > The use of the Alt modifier is indeed hardcoded in iso-transl. If you=20 want to use it, you can chose another modifier key on your keyboard, for=20 example: (setq mac-right-command-modifier 'alt). In that case the key on= =20 the left of your space bar will be Meta, and the key on the right of your= =20 space bar will be Alt. --sw4wCFH3MX--