From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#876: marked as done (^M in some Windows info files because of null-byte detection) Date: Sat, 10 Jan 2009 11:25:07 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1231586707-28728-0" X-Trace: ger.gmane.org 1231587967 8364 80.91.229.12 (10 Jan 2009 11:46:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2009 11:46:07 +0000 (UTC) To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 10 12:47:19 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LLcJB-0004jK-VE for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2009 12:47:18 +0100 Original-Received: from localhost ([127.0.0.1]:45528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLcHv-0004gE-BB for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2009 06:45:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLcFf-0004GU-LA for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 06:43:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLcFc-0004FR-JF for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 06:43:37 -0500 Original-Received: from [199.232.76.173] (port=35254 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLcFc-0004FC-74 for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 06:43:36 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56965) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LLcFT-0003eR-P7; Sat, 10 Jan 2009 06:43:28 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0ABhODp001073; Sat, 10 Jan 2009 03:43:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0ABP7FP028805; Sat, 10 Jan 2009 03:25:07 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 876 X-Emacs-PR-Package: emacs,w32 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23965 Archived-At: This is a multi-part message in MIME format... ------------=_1231586707-28728-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 10 Jan 2009 13:15:51 +0200 with message-id and subject line Re: ^M in the info files has caused the Emacs bug report #876, regarding ^M in some Windows info files because of null-byte detection to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 876: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D876 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1231586707-28728-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Sep 2008 16:39:16 +0000 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m83GdCMp020090 for ; Wed, 3 Sep 2008 09:39:13 -0700 Received: by an-out-0708.google.com with SMTP id b20so521850ana.9 for ; Wed, 03 Sep 2008 09:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=DM+0XtGBkzZdmbbLy41rhQPxmkv3axcvbWrY2s0C2xQ=; b=eIV4lyVa27FSKwoWhx49WWHe3LgOKKvRvPLSYCb8dirmUqfu7MicwEKPft1ILmuFj3 6nmfKXJEjaeM8kxWPMrCTQuGPR5Hs54bGMYW1VY3Co7Ldux7Rglg2qBV0DDzD57FL6oa pfE4x3GofpIddRIuiji9doBZFXtcQFF2oyI6c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=NQcYcOc6pHSEuyBVqmDxFLEAsYiP9d5diImcDCbfV3T93RhjK6fqKPduuFvzVbIpZA 7np+PvcihWfU8d3XZGKQ9/uBzk1sX1Aesd6EiLzB9RSp7bbxnzOp9547vCnyb3nfv0Qm vydl3QHqTs2GRE9VpdaDI1Jy6gobWFvpHfBMc= Received: by 10.100.109.13 with SMTP id h13mr9243596anc.158.1220459951725; Wed, 03 Sep 2008 09:39:11 -0700 (PDT) Received: by 10.100.194.19 with HTTP; Wed, 3 Sep 2008 09:39:11 -0700 (PDT) Message-ID: Date: Wed, 3 Sep 2008 18:39:11 +0200 From: "Juanma Barranquero" To: "Emacs Bug Tracker" Subject: ^M in some Windows info files because of null-byte detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Some info files in Windows (for example, the Emacs FAQ) are displayed with spurious ^M characters because of recent changes in null byte detection. Kenichi Handa proposed a new inhibit-null-byte-detection variable. Stefan Monnier counter-proposed inhibit-coding-systems. emacs-devel discussion: http://lists.gnu.org/archive/html/emacs-devel/2008-06/msg00739.html http://lists.gnu.org/archive/html/emacs-devel/2008-07/msg00215.html http://lists.gnu.org/archive/html/emacs-devel/2008-07/msg00225.html http://lists.gnu.org/archive/html/emacs-devel/2008-08/msg00293.html ------------=_1231586707-28728-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 876-done) by emacsbugs.donarmstrong.com; 10 Jan 2009 11:16:00 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout6.012.net.il (mtaout6.012.net.il [84.95.2.16]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0ABFtY3027138 for <876-done@emacsbugs.donarmstrong.com>; Sat, 10 Jan 2009 03:15:57 -0800 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> for 876-done@emacsbugs.donarmstrong.com; Sat, 10 Jan 2009 13:15:55 +0200 (IST) 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) Date: Sat, 10 Jan 2009 13:15:51 +0200 From: Eli Zaretskii Subject: Re: ^M in the info files In-reply-to: X-012-Sender: halo1@inter.net.il To: 876-done@emacsbugs.donarmstrong.com Cc: emacs-devel@gnu.org, bug-gnu-emacs@gnu.org, emacs-pretest-bug@gnu.org Reply-to: Eli Zaretskii Message-id: References: <00aa01c951a0$4535a2d0$0200a8c0@us.oracle.com> > 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. ------------=_1231586707-28728-0--