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#1035: marked as done (23.0.60; DOS eol decoding bug) Date: Sat, 20 Dec 2008 08:10:07 +0000 Message-ID: References: <494CA6AE.9070609@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1229760607-23619-0" X-Trace: ger.gmane.org 1229770848 21663 80.91.229.12 (20 Dec 2008 11:00:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Dec 2008 11:00:48 +0000 (UTC) To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 20 12:01:53 2008 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 1LDzad-0007A0-Ko for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Dec 2008 12:01:48 +0100 Original-Received: from localhost ([127.0.0.1]:39227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDzZR-0003kK-Db for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Dec 2008 06:00:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDx7P-00088w-C4 for bug-gnu-emacs@gnu.org; Sat, 20 Dec 2008 03:23:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDx7N-00088G-F4 for bug-gnu-emacs@gnu.org; Sat, 20 Dec 2008 03:23:26 -0500 Original-Received: from [199.232.76.173] (port=50532 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDx7M-00088C-W8 for bug-gnu-emacs@gnu.org; Sat, 20 Dec 2008 03:23:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33042) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LDx7J-0006Q4-9U; Sat, 20 Dec 2008 03:23:21 -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 mBK8NJTG027283; Sat, 20 Dec 2008 00:23:19 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBK8A7Oo023684; Sat, 20 Dec 2008 00:10:07 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1035 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sat, 20 Dec 2008 05:57:21 -0500 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:23389 Archived-At: This is a multi-part message in MIME format... ------------=_1229760607-23619-0 Content-Disposition: inline Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Your message dated Sat, 20 Dec 2008 16:02:54 +0800 with message-id <494CA6AE.9070609@gnu.org> and subject line Re: bug#1035: 23.0.60; DOS eol decoding bug has caused the Emacs bug report #1035, regarding 23.0.60; DOS eol decoding bug 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 1035: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1035 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1229760607-23619-0 Content-Type: message/rfc822 Content-Disposition: inline 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=-6.6 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 26 Sep 2008 20:34:26 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8QKYMAa032395 for ; Fri, 26 Sep 2008 13:34:24 -0700 Received: from mail.gnu.org ([199.232.76.166]:45525 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KjJz4-00077U-6l for emacs-pretest-bug@gnu.org; Fri, 26 Sep 2008 16:32:14 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KjK14-0005Mk-Ls for emacs-pretest-bug@gnu.org; Fri, 26 Sep 2008 16:34:21 -0400 Received: from atum.ita.chalmers.se ([129.16.4.148]:61030) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjK14-0005MA-B2 for emacs-pretest-bug@gnu.org; Fri, 26 Sep 2008 16:34:18 -0400 Received: from remote5.student.chalmers.se (remote5.student.chalmers.se [129.16.29.83]) by atum.ita.chalmers.se (Postfix) with ESMTP id 5C4DB838B for ; Fri, 26 Sep 2008 22:34:12 +0200 (CEST) Received: by remote5.student.chalmers.se (Postfix, from userid 61540) id 49A222005C; Fri, 26 Sep 2008 22:34:12 +0200 (CEST) From: bojohan+mail@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) To: emacs-pretest-bug@gnu.org Subject: 23.0.60; DOS eol decoding bug Date: Fri, 26 Sep 2008 22:34:12 +0200 Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Content-Transfer-Encoding: quoted-printable Decoding a chunk of DOS text that ends in \r results in an extra chunk of garbage. (progn (with-temp-file "/tmp/bar" (insert-char ?x 10) (insert "\r")) (with-temp-buffer (let ((coding-system-for-read 'raw-text-dos)) (insert-file-contents "/tmp/bar") (buffer-size)))) =3D> 21 (expected result 11) I think the problem was introduced with this change: 2008-03-02 Kenichi Handa * coding.c (decode_coding_utf_8): When eol-type of CODING is `dos', don't decode '\r' if that is the last in the source. (decode_coding_utf_16, decode_coding_emacs_mule) (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) (decode_coding_raw_text, decode_coding_charset): Likewise. (produce_chars): Don't decode EOL here. Use EMACS_INT. --=20 Johan Bockg=C3=A5rd ------------=_1229760607-23619-0 Content-Type: message/rfc822 Content-Disposition: inline Received: (at 1035-done) by emacsbugs.donarmstrong.com; 20 Dec 2008 08:03:29 +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=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBK83P7X021310 for <1035-done@emacsbugs.donarmstrong.com>; Sat, 20 Dec 2008 00:03:27 -0800 Received: by ti-out-0910.google.com with SMTP id b6so885761tic.1 for <1035-done@emacsbugs.donarmstrong.com>; Sat, 20 Dec 2008 00:03:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=136XpilsW4tpCPIEQPxMzbjnkm6Tu2C6wq5wWYOT+nY=; b=UoO9yUqMHIBgRyOdirPGafWDdXDe8+AK9XkpDXcMRGJfeB9RjjKSWgeBM1EWo0ymIF WyF15LtOAT/MGscnZpP1p5feI/J8Ze4LzL0qvcfK9APWZnFvqwnqKswcPUcCx9w+MZWs eycbQ4H9lkFkdctzSos5x4DqyY9EA9Iwlvvl4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ejSS/apmNUZIhVYpGttxIOc41wK4JRkyf2dKzONjxmlTVppPjpYys0GI/fntQ/ciLF Hcub1WJijtNJtis9cyD91LEQYTTeW9rXuVUF99QIei1E1W5+A/+VueNeOGSqWfuUZjXl w+2yGroNPiINauu4p98Es+Gz0l31wByZU2Fgo= Received: by 10.110.2.2 with SMTP id 2mr5384791tib.53.1229760205236; Sat, 20 Dec 2008 00:03:25 -0800 (PST) Received: from ?192.168.1.3? ([118.101.181.97]) by mx.google.com with ESMTPS id b7sm3848712tic.3.2008.12.20.00.03.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Dec 2008 00:03:24 -0800 (PST) Sender: Jason Rumney Message-ID: <494CA6AE.9070609@gnu.org> Date: Sat, 20 Dec 2008 16:02:54 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: =?UTF-8?B?Sm9oYW4gQm9ja2fDpXJk?= , 1035-done@emacsbugs.donarmstrong.com Subject: Re: bug#1035: 23.0.60; DOS eol decoding bug References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id mBK8NJTG027283 Johan Bockg=C3=A5rd wrote: > Decoding a chunk of DOS text that ends in \r results in an extra chunk > of garbage. > =20 Thanks for reporting it, I have fixed this now. ------------=_1229760607-23619-0--