GNU bug report logs -
#10377
23.3; unrmail fails to produce any output for a empty BABYL folder
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10377 in the body.
You can then email your comments to 10377 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10377
; Package
emacs
.
(Tue, 27 Dec 2011 18:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
mark.lillibridge <at> hp.com
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 27 Dec 2011 18:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10377
; Package
emacs
.
(Tue, 27 Dec 2011 23:09:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 10377 <at> debbugs.gnu.org (full text, mbox):
I spoke too soon; this bug also exists in Emacs 22.
- Mark
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Fri, 06 Jan 2012 08:42:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
mark.lillibridge <at> hp.com
:
bug acknowledged by developer.
(Fri, 06 Jan 2012 08:42:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 10377-done <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10377
; Package
emacs
.
(Sat, 14 Jan 2012 19:54:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 10377 <at> debbugs.gnu.org (full text, mbox):
GNU bug Tracking System <help-debbugs <at> gnu.org> writes:
> [1:text/plain Hide]
> 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.
> 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.
Please reopen this bug; the above "fix" does not fix the bug. You
have to understand that unrmail in batch mode is used to process a set
of BABYL files to produce a parallel set of mbox files. For example,
find Rmail -type f -exec grep -q '^BABYL OPTIONS' {} \; \
-exec ~/bin/emacs-22.3-install/bin/emacs -batch \
-f batch-unrmail {} \; >& log
Users likely would use further scripts to automatically move the
resulting *.mail mbox files into place. The correct behavior is simply
to produce a zero length output file with no messages.
- Mark
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10377
; Package
emacs
.
(Sat, 14 Jan 2012 21:37:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 10377 <at> debbugs.gnu.org (full text, mbox):
Mark Lillibridge wrote:
> have to understand that unrmail in batch mode is used to process a set
> of BABYL files to produce a parallel set of mbox files. For example,
>
> find Rmail -type f -exec grep -q '^BABYL OPTIONS' {} \; \
> -exec ~/bin/emacs-22.3-install/bin/emacs -batch \
> -f batch-unrmail {} \; >& log
>
> Users likely would use further scripts to automatically move the
> resulting *.mail mbox files into place. The correct behavior is simply
> to produce a zero length output file with no messages.
BABYL files with no messages are a fringe case of an obsolete format.
Since unrmail has never produced output for these files, I'm not going
to spend any more time on changing this now. If this is something you
actually need to handle in practice on a frequent basis, I suggest using
a handful of extra shell commands to check for empty BABYL files and
treat them separately.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10377
; Package
emacs
.
(Sun, 15 Jan 2012 19:29:01 GMT)
Full text and
rfc822 format available.
Message #22 received at 10377 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> Mark Lillibridge wrote:
>
> > have to understand that unrmail in batch mode is used to process a set
> > of BABYL files to produce a parallel set of mbox files. For example,
> >
> > find Rmail -type f -exec grep -q '^BABYL OPTIONS' {} \; \
> > -exec ~/bin/emacs-22.3-install/bin/emacs -batch \
> > -f batch-unrmail {} \; >& log
> >
> > Users likely would use further scripts to automatically move the
> > resulting *.mail mbox files into place. The correct behavior is simply
> > to produce a zero length output file with no messages.
>
>
> BABYL files with no messages are a fringe case of an obsolete format.
> Since unrmail has never produced output for these files, I'm not going
> to spend any more time on changing this now. If this is something you
> actually need to handle in practice on a frequent basis, I suggest using
> a handful of extra shell commands to check for empty BABYL files and
> treat them separately.
I'm fine with you marking this as "won't fix" -- it is an obscure
case after all -- but I wanted to make clear that the bug still exists.
- Mark
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 13 Feb 2012 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 84 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.