bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51449: 28.0.50; iso-transl overwrites alt key bindings


From: Gregory Heytings
Subject: bug#51449: 28.0.50; iso-transl overwrites alt key bindings
Date: Thu, 28 Oct 2021 08:40:18 +0000



(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.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]