emacs-devel
[Top][All Lists]
Advanced

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

Re: Why all the Alt bindings by default?


From: Stefan Monnier
Subject: Re: Why all the Alt bindings by default?
Date: Thu, 27 Oct 2011 08:28:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

>> No, what I was asking is what happens if I do want to bind alt-R? I
>> think this was answered in another post i.e. you have to 'undo' the
>> key translation first.

> That's false.  Just try it.  I tried this:

>   M-x global-set-key RET
>   Alt-R
>   ignore RET

> After that, "C-h c Alt-R" says

>   ® (translated from A-R) runs the command ignore

But then if you have some other key that generates ®, it will also be
rebound to `ignore' since you have really just done
(global-set-key [?®] 'ignore)

I think these Alt bindings should either be removed, or turned into
function-key-map bindings (so they don't take precedence over real key
bindings).
Also we should address the problem that those key-bindings are only
present after loading iso-transl.el.


        Stefan



reply via email to

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