GNU bug report logs -
#51449
28.0.50; iso-transl overwrites alt key bindings
Previous Next
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
View this message in rfc822 format
> Date: Wed, 27 Oct 2021 21:42:19 +0100
> From: "Mark Bestley" <gnu <at> bestley.co.uk>
>
> 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.
>
> 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
>
> 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.
>
> This makes it impossible to use Alt as a modifier key
>
> load-history shows
>
> ("/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/subdirs.el")
> ("/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/subdirs.el")
> ("/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/leim/leim-list.el")
> ("/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/international/iso-transl.elc"
> iso-transl-dead-key-alist iso-transl-char-map iso-transl-language-alist iso-transl-ctl-x-8-map
> (defun . iso-transl-define-keys)
> (defun . iso-transl-set-language)
> (provide . iso-transl))
> ("/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/tooltip.elc"
> (require . syntax)
>
> In emacs 27 iso-transl was not called that early and only seem to be
> called by describe-bindings and so could be overridden as shown in Aquamacs
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 does,
if you have no use for them, or rebind them after changing Alt to be 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.)
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.