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

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

Re: Rebinding international characters


From: Stefan Monnier
Subject: Re: Rebinding international characters
Date: 05 Aug 2004 11:22:39 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> There is something else with the "subtle" interaction that is quite
> peculiar.  `function-key-map' gets applied before `key-translation-map'.
> Hence, `function-key-map' overrides `key-translation-map' which
> overrides regular keybindings which override `function-key-map'.

Yes, this is a known problem which I pointed out last time I worked on
this code.  Fixing it is very difficult.  Luckily it rarely if ever
introduces problems.

> Circular overriding is not exactly ideal.

There's nothing circular about it, AFAICT.

> + Note however that actual key bindings can have an effect on
> + @code{key-translation-map}, even though they are overridden by it.
> + Indeed, actual key bindings override @code{function-key-map} and thus
> + may alter the key sequence that @code{key-translation-map} receives.
> + Clearly, it is better to avoid to avoid this type of situation.

I'm not sure it's worth documenting.  The whole thing is difficult enough
to understand without entering into those details.


        Stefan




reply via email to

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