On 6 May 2007, at 15:18, Stefan Monnier wrote:
Depends. First and foremost it depends on what are "€" and "£",
since there
are many different such values, all displayed identically. Check the
multibyteness of those strings, as well as the result of string-to-
char:
(let ((str "€"))
(list (multibyte-string-p str) (string-to-char str) (key-
binding str)))
(t 342604 self-insert-command)
(let ((str "£"))
(list (multibyte-string-p str) (string-to-char str) (key-
binding str)))
(t 2211 nil)
Interestingly:
(key-binding [2211] t) -> self-insert-command
(key-binding [342604] t) -> self-insert-command
or generically: (key-binding (vector (string-to-char "£")) t) ->
self-insert-command
(key-binding "£" t) -> nil
So, it seems to be a problem with the string specification of the key.
Richard Stallman wrote:
I guess this means there is some other map involved, which key-binding
does not check for. Maybe key-translation-map? Maybe a binding for a
generic character?
Neither key is defined in `key-translation-map', and I don't know how
what defines a "generic character".
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug