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.w3m Subject: Re: detect-coding-with-priority Date: Fri, 11 Jan 2008 20:30:33 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1200051069 20683 80.91.229.12 (11 Jan 2008 11:31:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2008 11:31:09 +0000 (UTC) Cc: yamaoka@jpl.org, emacs-w3m@namazu.org, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 11 12:31:29 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 1JDI6i-0007H3-MK for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2008 12:31:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDI6K-0004RE-WE for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2008 06:31:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JDI5z-00046S-5h for emacs-devel@gnu.org; Fri, 11 Jan 2008 06:30:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JDI5x-00044X-3k for emacs-devel@gnu.org; Fri, 11 Jan 2008 06:30:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDI5w-00044H-Tt for emacs-devel@gnu.org; Fri, 11 Jan 2008 06:30:41 -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 1JDI5w-0000dj-5t for emacs-devel@gnu.org; Fri, 11 Jan 2008 06:30:40 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m0BBUZXd015395; Fri, 11 Jan 2008 20:30:36 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m0BBUYGj008914; Fri, 11 Jan 2008 20:30:34 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id m0BBUYUt029532; Fri, 11 Jan 2008 20:30:34 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.68) (envelope-from ) id 1JDI5p-0005Br-S5; Fri, 11 Jan 2008 20:30:33 +0900 In-reply-to: (message from Kenichi Handa on Fri, 11 Jan 2008 18:59:05 +0900) 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-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:86738 gmane.emacs.w3m:7289 Archived-At: In article , Kenichi Handa writes: > I think the following change is the culprit. > 2008-01-09 Kenichi Handa > * coding.c (detect_coding_iso2022): New arg > latin_extra_code_state. Allow Latin extra codes only > when *latin_extra_code_state is nonzero. > (detect_coding_mask): If there is a NULL byte, detect the encoding > as UTF-16 or binary. If Latin extra codes exist, detect the > encoding as ISO-2022 only when there's no other proper encoding is > found. > I'm now investigating what's wrong. I've just installed a fix. --- Kenichi Handa handa@ni.aist.go.jp