From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Cannot isearch for non-ascii chars with emacs -nw -Q Date: Wed, 27 Feb 2008 16:28:02 +0900 Message-ID: References: <87oda4d6h8.fsf@fastmail.fm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=ISO-2022-JP-2 X-Trace: ger.gmane.org 1204097322 21070 80.91.229.12 (27 Feb 2008 07:28:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2008 07:28:42 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, thorn+news@fastmail.fm To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 27 08:29:08 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JUGiu-0002L7-GC for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2008 08:29:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUGiO-00065N-GA for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2008 02:28:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUGiK-000659-Cf for emacs-devel@gnu.org; Wed, 27 Feb 2008 02:28:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUGiI-00064x-1D for emacs-devel@gnu.org; Wed, 27 Feb 2008 02:28:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUGiH-00064u-Qz for emacs-devel@gnu.org; Wed, 27 Feb 2008 02:28:25 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUGiH-0007Jl-DR for emacs-devel@gnu.org; Wed, 27 Feb 2008 02:28:25 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JUGiH-0001c7-5S for emacs-pretest-bug@gnu.org; Wed, 27 Feb 2008 02:28:25 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JUGiD-0007Iq-Cd for emacs-pretest-bug@gnu.org; Wed, 27 Feb 2008 02:28:24 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUGiC-0007HI-KX for emacs-pretest-bug@gnu.org; Wed, 27 Feb 2008 02:28:21 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m1R7S6ax025212; Wed, 27 Feb 2008 16:28:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m1R7S5aL013999; Wed, 27 Feb 2008 16:28:05 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id m1R7S2KZ014968; Wed, 27 Feb 2008 16:28:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1JUGhu-00044X-4c; Wed, 27 Feb 2008 16:28:02 +0900 In-reply-to: (message from Stefan Monnier on Tue, 26 Feb 2008 22:10:26 -0500) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90573 gmane.emacs.pretest.bugs:21304 Archived-At: In article , Stefan Monnier writes: > > C-s $(D**(B $B"y(B $(D**(B $B"y(B $(D**(B $B"y(B C-g C-g C-g C-g ESC x r e p o TAB r > Hmm... "$(D**(B $B"y(B" in latin-1 is "0xC3 0xB6" which is the utf-8 codes for $(D+S(B, > 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 $(D+S(B you saw some $B"y(B, > 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. 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. --- Kenichi Handa handa@ni.aist.go.jp