unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gregory Heytings <gregory@heytings.org>
To: Mark Bestley <gnu@bestley.co.uk>
Cc: 51449@debbugs.gnu.org
Subject: bug#51449: 28.0.50; iso-transl overwrites alt key bindings
Date: Wed, 27 Oct 2021 21:48:47 +0000	[thread overview]
Message-ID: <e2898e04cfc762c60a72@heytings.org> (raw)
In-Reply-To: <abeb39e3-cbbb-4cc4-b025-ef3df3011c90@www.fastmail.com>

[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]


Your bug report is difficult to understand.

>
> In emacs -Q just need something to get the Alt key bound
> e.g.
> (setq  mac-command-modifier 'alt)
>
> The when you Type A-c you get ¢ and you cannot bind it yourself.
>

If you do this, A-c should display "A-c is undefined", which is indeed the 
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 
> 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 
Emacs (which is what the Alt key usually does), you should do: (setq 
mac-command-modifier 'meta).

>
> The issue is that (require 'iso-transl) is called before the user can 
> alter its behaviour and that iso-transl.el then binds to various A-c and 
> other keys.
>

The use of the Alt modifier is indeed hardcoded in iso-transl.  If you 
want to use it, you can chose another modifier key on your keyboard, for 
example: (setq mac-right-command-modifier 'alt).  In that case the key on 
the left of your space bar will be Meta, and the key on the right of your 
space bar will be Alt.

  reply	other threads:[~2021-10-27 21:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 20:42 bug#51449: 28.0.50; iso-transl overwrites alt key bindings Mark Bestley
2021-10-27 21:48 ` Gregory Heytings [this message]
2021-10-28  7:12 ` Eli Zaretskii
2021-10-28  8:12   ` Mark Bestley
2021-10-28  8:40     ` Gregory Heytings
2021-10-28  8:51       ` Mark Bestley
2021-10-28  8:57         ` Gregory Heytings
2021-10-28  9:41     ` Eli Zaretskii
2021-10-28 10:53       ` Mark Bestley
2022-09-19 20:15         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e2898e04cfc762c60a72@heytings.org \
    --to=gregory@heytings.org \
    --cc=51449@debbugs.gnu.org \
    --cc=gnu@bestley.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).