From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs,gmane.emacs.bugs Subject: Re: ^M in the info files Date: Sat, 10 Jan 2009 13:15:51 +0200 Message-ID: References: <00aa01c951a0$4535a2d0$0200a8c0@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1231586177 3747 80.91.229.12 (10 Jan 2009 11:16:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2009 11:16:17 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, bug-gnu-emacs@gnu.org, emacs-devel@gnu.org To: 876-done@emacsbugs.donarmstrong.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 10 12:17:28 2009 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 1LLbqJ-00063k-KN for ged-emacs-devel@m.gmane.org; Sat, 10 Jan 2009 12:17:28 +0100 Original-Received: from localhost ([127.0.0.1]:47469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLbp3-00055r-F1 for ged-emacs-devel@m.gmane.org; Sat, 10 Jan 2009 06:16:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLbow-00055P-Nw for emacs-devel@gnu.org; Sat, 10 Jan 2009 06:16:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLbou-00054G-8V for emacs-devel@gnu.org; Sat, 10 Jan 2009 06:16:01 -0500 Original-Received: from [199.232.76.173] (port=58378 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLbop-000527-V0; Sat, 10 Jan 2009 06:15:55 -0500 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:57564) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LLbon-0000Rb-Ha; Sat, 10 Jan 2009 06:15:53 -0500 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KD900A005VKN800@i-mtaout6.012.net.il>; Sat, 10 Jan 2009 13:15:55 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.238.249]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KD900GKW5YIG4N0@i-mtaout6.012.net.il>; Sat, 10 Jan 2009 13:15:55 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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:107747 gmane.emacs.pretest.bugs:23666 gmane.emacs.bugs:23964 Archived-At: > Date: Sat, 29 Nov 2008 00:39:27 +0200 > From: Eli Zaretskii > Cc: lekktu@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, > handa@m17n.org > > > From: "Drew Adams" > > Date: Fri, 28 Nov 2008 13:28:34 -0800 > > Cc: 'Juanma Barranquero' , emacs-devel@gnu.org > > > > Whatever happened to this thread and the associated bugs: #876, #1117, #1284? > > > > It sounds like there were alternative proposals about how to fix this, but there > > was no discussion to try to reach a consensus or a decision. Is that where > > things were left? > > > > Meanwhile, it's still impossible to use the index in Info manuals on Windows, > > and it's impossible to use some manuals (e.g. Viper) at all. > > Don't worry, this will get fixed before Emacs 23 is ready for release. > > I will work on it soon if no one beats me to it. (Fore some value of "soon", sorry.) I fixed this bug. There were two suggestions for how to fix this: one by Handa-san in this message: http://lists.gnu.org/archive/html/emacs-devel/2008-08/msg00293.html followed by a tentative patch by Juanma here: http://lists.gnu.org/archive/html/emacs-devel/2008-08/msg00316.html The other suggestion was by Stefan: http://lists.gnu.org/archive/html/emacs-devel/2008-08/msg00373.html I decided I liked the first alternative better, since it has much more local effect than the other one. What Stefan suggested implied messing with coding priorities, and I didn't feel that was TRT at this late stage in Emacs 23.1 development. The changes I installed are more thorough than what Juanma posted: they change both detect_coding and detect_coding_system, and also bind inhibit-null-byte-detection in a couple more places in info.el. The result was tested on GNU/Linux, MS-Windows, and MS-DOS, both with compressed and uncompressed Info files, with auto-compression-mode both on and off.