[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kbd vs read-key-sequence
From: |
Juanma Barranquero |
Subject: |
Re: kbd vs read-key-sequence |
Date: |
Thu, 1 Mar 2007 13:48:38 +0100 |
On 3/1/07, Stefan Monnier <address@hidden> wrote:
Looks like a bug in our w32 code, where we somehow fail to decode the chars
before returning them from read-key-sequence.
I honestly cannot say whether it is a bug in the w32 code, or the
consequence of the complexity of input decoding (with
keyboard-translate-table, translation-table-for-input,
function-key-map, key-translation-map, coding systems and whatnot).
In any case:
;; Kubuntu 6.10
read-char / read-event => 2234
(aref translation-table-for-input 2234) => 2234
(lookup-key key-translation-map [186]) => nil
;; Windows XP SP2
read-char / read-event => 186
(aref translation-table-for-input 2234) => nil
(lookup-key key-translation-map [186]) => encoded-kb-self-insert-ccl
Juanma
- Re: kbd vs read-key-sequence, Stefan Monnier, 2007/03/01
- Re: kbd vs read-key-sequence,
Juanma Barranquero <=
- Re: kbd vs read-key-sequence, Stefan Monnier, 2007/03/01
- Re: kbd vs read-key-sequence, Juanma Barranquero, 2007/03/01
- Re: kbd vs read-key-sequence, Stefan Monnier, 2007/03/01
- Re: kbd vs read-key-sequence, Juanma Barranquero, 2007/03/01
- Re: kbd vs read-key-sequence, Juanma Barranquero, 2007/03/01
- Re: kbd vs read-key-sequence, Jason Rumney, 2007/03/02
- Re: kbd vs read-key-sequence, Juanma Barranquero, 2007/03/02
- Re: kbd vs read-key-sequence, Stefan Monnier, 2007/03/02
- Re: kbd vs read-key-sequence, Juanma Barranquero, 2007/03/02
- Re: kbd vs read-key-sequence, Jason Rumney, 2007/03/02