GNU bug report logs - #51449
28.0.50; iso-transl overwrites alt key bindings

Previous Next

Package: emacs;

Reported by: "Mark Bestley" <gnu <at> bestley.co.uk>

Date: Wed, 27 Oct 2021 21:02:03 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 51449 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Mark Bestley <gnu <at> bestley.co.uk>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 51449 <at> debbugs.gnu.org
Subject: Re: bug#51449: 28.0.50; iso-transl overwrites alt key bindings
Date: Thu, 28 Oct 2021 08:40:18 +0000
[Message part 1 (text/plain, inline)]
>
> (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 ยข
>

That's because iso-transl uses key-translation-map, which happens before 
the key is searched in the global-map.

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 space 
bar, an alt key on the right of the space bar.

This bug report was last modified 2 years and 303 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.