Article View: comp.mail.mh
Article #2049Re: Reading presorted mail with emacs ...
From: Kai Grossjohann
Date: Tue, 22 Jul 1997 00:00
Date: Tue, 22 Jul 1997 00:00
40 lines
2555 bytes
2555 bytes
>>>>> Stefan Waldherr writes: Stefan> I use procmail to presort my mail into various folders and Stefan> exmh to read it. [...] I would like to read my mail with Stefan> Emacs. [...] mh-e doesn't help since the mail is already Stefan> presorted into lots of folders and there is no way to Stefan> display new mail in all folders, right? Is gnus, which I use Stefan> for news reading, of any help or are do I have other Stefan> options? Hm. I think there's a list-folders command for mh-e. A *long* time ago, I wrote mh-f.el, the purpose of which being exactly to get an overview over mails in different folders. You might try it, get it from ls6-ftp.cs.uni-dortmund.de:/pub/emacs. Beware, though. I now use Gnus and mh-f is unsupported. If you use Gnus, the nnmh backend might be for you, as the other poster said. However, I'd like to warn you that you're asking for trouble by having procmail deliver mail directly into folders. What happens if procmail and you try to both write into the same folder at the same time? You're going to lose mail, sooner or later. At least with Gnus, you are. I'm unsure whether exmh and procmail lock the folders in a way that they both understand. If you intend to use Gnus for your mail reading, I advise you to tell procmail to write its mail into spool files and to tell Gnus to get the mail from the spool files into the folders. You'll need to set nnmail-use-procmail and nnmail-procmail-directory and nnmail-procmail-suffix. Let's say nnmail-use-procmail is t and nnmail-procmail-directory is ~/proc.spool and nnmail-procmail-suffix is ".in", then Gnus will read ~/proc.spool/foo.bar.in for incoming mail for the foo.bar folder. kai -- A large number of young women don't trust men with beards. (BFBS Radio)
Technical Details
Message-ID:
<vafhgdnos4h.fsf@ls6.cs.uni-dortmund.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<upkvi24s4s4.fsf@mind.learning.cs.cmu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1016f0,3701161b404a7dc4 X-Google-Attributes: gid1016f0,public X-Google-Thread: 102b9a,3701161b404a7dc4 X-Google-Attributes: gid102b9a,public X-Google-Thread: fe14c,3701161b404a7dc4 X-Google-Attributes: gidfe14c,public From: Kai Grossjohann <grossjohann@ls6.cs.uni-dortmund.de> Subject: Re: Reading presorted mail with emacs ... Date: 1997/07/22 Message-ID: <vafhgdnos4h.fsf@ls6.cs.uni-dortmund.de> X-Deja-AN: 258199399 Sender: grossjoh@petty References: <upkvi24s4s4.fsf@mind.learning.cs.cmu.edu> Organization: University of Dortmund, Germany Reply-To: Kai Grossjohann <grossjohann@ls6.cs.uni-dortmund.de> Newsgroups: comp.mail.mh,gnu.emacs.gnus,comp.emacs