[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13599: 24.2; (max-char) is too low (and hard to change)
From: |
Stefan Monnier |
Subject: |
bug#13599: 24.2; (max-char) is too low (and hard to change) |
Date: |
Fri, 01 Feb 2013 09:27:10 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> (define-key key-translation-map (kbd "s-8") (kbd "["))
>> It works in most cases. But unfortunately read-char does not care about
>> this translation, leaving lots of functions broken.
> Why do you care about read-char?
Because he wants to be able to type [ (which isn't on his keyboard so
he wants to use s-8 for that) even in response to a read-char.
> What functions are broken after the above?
None are broken, but some don't pay attention to key-translation-map
(e.g. all those that use read-char).
> And why do you use key-translation-map and not global-map (or
> global-set-key)?
Probably so that he can use bindings such as C-x [
Stefan