From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: ^M in the info files Date: Fri, 08 Aug 2008 10:28:00 +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 1218158917 27832 80.91.229.12 (8 Aug 2008 01:28:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2008 01:28:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 08 03:29:28 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 1KRGnF-0000VW-UE for ged-emacs-devel@m.gmane.org; Fri, 08 Aug 2008 03:29:26 +0200 Original-Received: from localhost ([127.0.0.1]:50474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRGmJ-0002WV-4M for ged-emacs-devel@m.gmane.org; Thu, 07 Aug 2008 21:28:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRGmE-0002Tq-GN for emacs-devel@gnu.org; Thu, 07 Aug 2008 21:28:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRGmA-0002Op-F8 for emacs-devel@gnu.org; Thu, 07 Aug 2008 21:28:21 -0400 Original-Received: from [199.232.76.173] (port=59587 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRGmA-0002OS-6E for emacs-devel@gnu.org; Thu, 07 Aug 2008 21:28:18 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:43988) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRGm8-0008FE-L2 for emacs-devel@gnu.org; Thu, 07 Aug 2008 21:28:17 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id m781S2lc015025; Fri, 8 Aug 2008 10:28:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id m781S29S013167; Fri, 8 Aug 2008 10:28:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id m781S0gU015562; Fri, 8 Aug 2008 10: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 1KRGls-0004Xh-5h; Fri, 08 Aug 2008 10:28:00 +0900 In-reply-to: (lekktu@gmail.com) 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 9 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:102186 Archived-At: In article , "Juanma Barranquero" writes: > On Thu, Aug 7, 2008 at 05:47, Kenichi Handa wrote: > > I don't see any bad effect to it. But, as I'm not familiar > > with the code of info, I don't know which place is the best > > to bind that variable. > I've tried implementing your suggestion; see the attached patch. Thank you! > It works for uncompressed info files, and for compressed ones when > auto-compression-mode is off. > However, when auto-compression-mode is on, the conversion depends on > the settings of `file-coding-system-alist' for the given compression > method. You handled inhibit_iso_escape_detection only in detect_coding. Isn't the problem fixed by modifing the detect_coding_system too. That funciton does code detection when called from detect-coding-region/string. --- Kenichi Handa handa@ni.aist.go.jp