Subject: bug#10377: closed (Re: bug#10377: unrmail fails to produce any output for a empty BABYL folder)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 06 Jan 2012 08:42:01 +0000

Your bug report

#10377: 23.3; unrmail fails to produce any output for a empty BABYL folder

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
10377: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10377
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#10377: unrmail fails to produce any output for a empty BABYL folder
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Fri, 06 Jan 2012 03:37:42 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.0.93

Mark Lillibridge wrote:

> I spoke too soon; this bug also exists in Emacs 22.

And Emacs 21, which perhaps shows how important this issue is.

Anyway, I made unrmail give an explicit message (but still do nothing)
if the input file has no messages.

Subject: 23.3; unrmail fails to produce any output for a empty BABYL folder
From: Mark Lillibridge <[email-masked]>
To: [email-masked]
Date: Tue, 27 Dec 2011 10:31:18 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

ts-rhel5 [128]% ls
RMAIL

ts-rhel5 [129]% cat RMAIL 
BABYL OPTIONS: -*- rmail -*-
Version: 5
Labels:
Note:   This is the header of an rmail file.
Note:   If you are seeing it in rmail,
Note:    it means the file has no messages in it.
                                                            
ts-rhel5 [131]% ~/bin/emacs-23.3-install/bin/emacs -batch -f batch-unrmail RMAIL 
Writing messages to /home/mdl/Tmp/now/RMAIL.mail...
Writing messages to /home/mdl/Tmp/now/RMAIL.mail...done
Done

ts-rhel5 [132]% ls
RMAIL

    There should be a RMAIL.mail file of 0 bytes above as promised by
the output messages.  This file is correctly created by the version of
unrmail in Emacs 22 and for non-empty folders by Emacs 23 unrmail.

- Mark