GNU bug report logs - #10377
23.3; unrmail fails to produce any output for a empty BABYL folder

Previous Next

Package: emacs;

Reported by: mark.lillibridge <at> hp.com

Date: Tue, 27 Dec 2011 18:35:02 UTC

Severity: minor

Found in version 23.3

Fixed in version 24.0.93

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: mark.lillibridge <at> hp.com
Subject: bug#10377: closed (Re: bug#10377: unrmail fails to produce any
 output for a empty BABYL folder)
Date: Fri, 06 Jan 2012 08:42:01 +0000
[Message part 1 (text/plain, inline)]
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 10377 <at> debbugs.gnu.org.

-- 
10377: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10377
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 10377-done <at> debbugs.gnu.org
Subject: Re: bug#10377: unrmail fails to produce any output for a empty BABYL
	folder
Date: Fri, 06 Jan 2012 03:37:42 -0500
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.

[Message part 3 (message/rfc822, inline)]
From: Mark Lillibridge <mark.lillibridge <at> hp.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3; unrmail fails to produce any output for a empty BABYL folder
Date: Tue, 27 Dec 2011 10:31:18 -0800
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



This bug report was last modified 13 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.