From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9426 Path: main.gmane.org!not-for-mail From: Christopher Davis Newsgroups: gmane.emacs.gnus.general Subject: Re: nnfolder comments (may apply to other backends too) Date: 15 Jan 1997 10:26:44 -0500 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.100) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035149454 18376 80.91.224.250 (20 Oct 2002 21:30:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:30:54 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.4/8.8.4) with SMTP id HAA23290 for ; Wed, 15 Jan 1997 07:44:09 -0800 Original-Received: from loiosh.kei.com (ckd@loiosh.kei.com [192.88.144.32]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 15 Jan 1997 16:27:55 +0100 Original-Received: (from ckd@localhost) by loiosh.kei.com (8.8.4/8.8.4) id KAA09517; Wed, 15 Jan 1997 10:26:45 -0500 (EST) Original-To: ding@ifi.uio.no (list of ding) X-Attribution: ckd In-Reply-To: larsi@ifi.uio.no's message of 14 Jan 97 23:30:10 GMT Original-Lines: 40 X-Mailer: Gnus v5.2.40/XEmacs 19.15 Xref: main.gmane.org gmane.emacs.gnus.general:9426 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9426 JV> == Jan Vroonhof LMI> == Lars Magne Ingebrigtsen JV> nnmail could just as well suck in a file in the procmail directory JV> with same name as the group. I mean there is no need for a suffix if JV> you keep a separate directory. LMI> You may keep other files in the spool directory that aren't related LMI> to mail thingies at all. But it should be possible to run without the suffix if you *do* keep a separate directory. This has kept me from moving to Gnus for mail as yet. The only files in the spool directory that aren't spools are hidden (dot) files anyway, which should be ignored. I do it this way because I have a number of tools that do things like monitor the size and mtime/atime of files in that directory to give me a multi-file "biff", and they use the name of the file as the title of the mailbox. A redundant suffix would just clutter up their output needlessly, or force me to rewrite all of them to use it--including some that are just shell aliases with a special set of completions. All the code is built so that to create a new spool file the only files that I have to change are .procmailrc and .vm, and if I get better at lisp I'll fix it so .vm doesn't need changing. Code like the following, for example: #!/usr/bin/perl $spooldir = "$ENV{'HOME'}/Mail/spool"; chdir($spooldir) || die "can't chdir"; foreach (<*>) { ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) = stat($_); next if ($size == 0); print (($atime < $mtime)?" ** ":" "); print $_,"\n"; }