From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#10377: closed (Re: bug#10377: unrmail fails to produce any output for a empty BABYL folder) Date: Sat, 14 Jan 2012 16:35:12 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1326576986 2393 80.91.229.12 (14 Jan 2012 21:36:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2012 21:36:26 +0000 (UTC) Cc: 10377@debbugs.gnu.org To: mark.lillibridge@hp.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 14 22:36:22 2012 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 1RmBGw-0003jg-DW for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jan 2012 22:36:22 +0100 Original-Received: from localhost ([::1]:48564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmBGv-0000wQ-WC for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jan 2012 16:36:21 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmBGs-0000w6-Ko for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2012 16:36:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmBGr-00010F-Ob for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2012 16:36:18 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmBGr-00010B-N9 for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2012 16:36:17 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RmBHZ-0008S5-WE for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2012 16:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Jan 2012 21:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10377 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10377-submit@debbugs.gnu.org id=B10377.132657696332421 (code B ref 10377); Sat, 14 Jan 2012 21:37:01 +0000 Original-Received: (at 10377) by debbugs.gnu.org; 14 Jan 2012 21:36:03 +0000 Original-Received: from localhost ([127.0.0.1]:57686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RmBGb-0008Qg-JX for submit@debbugs.gnu.org; Sat, 14 Jan 2012 16:36:02 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:37506) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RmBGY-0008QS-TZ for 10377@debbugs.gnu.org; Sat, 14 Jan 2012 16:35:59 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RmBFo-00054w-Jd; Sat, 14 Jan 2012 16:35:12 -0500 X-Spook: fraud UFO USCOI Bletchley Park 9/11 United Nations X-Ran: F&%}n$&TF`ZP[u^GT:)*^\WZyze0j*;O{I"{_Di5;9]APqy[+zWlPN1~sKby7}/)^F{MDg X-Hue: green X-Attribution: GM In-Reply-To: (Mark Lillibridge's message of "Sat, 14 Jan 2012 11:52:44 -0800") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list 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:55750 Archived-At: 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.