[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; Cannot isearch for non-ascii chars with emacs -nw -Q
From: |
Stefan Monnier |
Subject: |
Re: 23.0.60; Cannot isearch for non-ascii chars with emacs -nw -Q |
Date: |
Wed, 27 Feb 2008 11:13:18 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> > C-s à ¶ à ¶ à ¶ C-g C-g C-g C-g ESC x r e p o TAB r
>> Hmm... "Ã ¶" in latin-1 is "0xC3 0xB6" which is the utf-8 codes for ö,
>> so the C-h l output indicates your terminal sends utf-8 sequences and
>> Emacs gets them fine, but if you say that instead of ö you saw some ¶,
>> it may indicate that your keyboard-coding-system somehow is set to use
>> latin-1 coding system rather than utf-8, or maybe the binary codes get
>> treated as latin-1 by the unicode-charset.
> It seems that something is broken in isearch-x.el (although
> unicode merge didn't change it). I'm now investigating.
Thanks.
> But, perhaps, it's time to implement the decoding of
> keyboard input by C. After multi-tty merge, we have the
> function tty_read_avail_input. I think that is the right
> place to do that decoding.
Now that we've moved the keyboard decoding to input-event-map, I'm not
sure what would be the benefit. Of course, if we can just reuse C code
and get rid of the encoded-kbd code, that's good.
Stefan
Re: 23.0.60; Cannot isearch for non-ascii chars with emacs -nw -Q, Tassilo Horn, 2008/02/27