From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Lillibridge Newsgroups: gmane.emacs.bugs Subject: bug#7743: unrmail loses extra blank line at end of message Date: Sat, 19 Nov 2011 12:28:00 -0800 Message-ID: References: Reply-To: mark.lillibridge@hp.com NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1321734547 5702 80.91.229.12 (19 Nov 2011 20:29:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2011 20:29:07 +0000 (UTC) Cc: 7743@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 19 21:29:03 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RRrX4-0000V0-RR for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Nov 2011 21:29:03 +0100 Original-Received: from localhost ([::1]:46010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRrX4-0006u2-BU for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Nov 2011 15:29:02 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRrX1-0006tt-Ld for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2011 15:29:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RRrX0-0003VN-N6 for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2011 15:28:59 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRrX0-0003VI-Lc for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2011 15:28:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RRrY2-0001vN-BB for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2011 15:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Lillibridge Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Nov 2011 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7743 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 7743-submit@debbugs.gnu.org id=B7743.13217345527304 (code B ref 7743); Sat, 19 Nov 2011 20:30:02 +0000 Original-Received: (at 7743) by debbugs.gnu.org; 19 Nov 2011 20:29:12 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RRrXD-0001tl-Qz for submit@debbugs.gnu.org; Sat, 19 Nov 2011 15:29:11 -0500 Original-Received: from madara.hpl.hp.com ([192.6.19.124]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RRrXB-0001tc-8y for 7743@debbugs.gnu.org; Sat, 19 Nov 2011 15:29:10 -0500 Original-Received: from mailhub-pa1.hpl.hp.com (mailhub-pa1.hpl.hp.com [15.25.115.25]) by madara.hpl.hp.com (8.14.4/8.14.4/HPL-PA Relay) with ESMTP id pAJKS388025873 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 19 Nov 2011 12:28:03 -0800 Original-Received: from ts-rhel5 (ts-rhel5.hpl.hp.com [15.25.118.27]) by mailhub-pa1.hpl.hp.com (8.14.3/8.14.3/HPL-PA Hub) with ESMTP id pAJKS0e7000482; Sat, 19 Nov 2011 12:28:00 -0800 In-reply-to: (message from Glenn Morris on Wed, 16 Nov 2011 02:52:53 -0500) X-Scanned-By: MIMEDefang 2.71 on 15.0.152.124 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 19 Nov 2011 15:30:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54067 Archived-At: Glenn wrote: > Mark Lillibridge wrote: > > > As of at least Emacs 23.1 and still present in version 24, unrmail > > throws away the last blank line of a message if present. > > This sounds very believable, but I am having a hard time convinving > myself. > > I used the system `mail' command to send myself a few mails ending in > blank lines. I used Emacs 22.3 to convert the resulting mail spool file > to Babyl, then the current trunk's unrmail to convert that Babyl back to > mbox. The mbox I got back was identical to the original mail spool > (modulo the addition of X-RMAIL-ATTRIBUTES and X-Coding-System) headers. > > So I cannot see that blank lines are going missing (unless going from > Babyl to mbox adds one, and going the other way subtracts one?). You got it! Examine the BABYL file and you will see that Rmail 22.3 has added an extra blank line after each of your messages. That was a recent (pre transformation to 23) RMAIL bug, I believe. My older email does not have these extra blank lines. I haven't reported all the Rmail 22 bugs I've found because they are moot at this point. - Mark PS, I will send you (Glenn) my relevant test files in case you didn't keep yours.