From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2223 Path: news.gmane.org!not-for-mail From: Peter Davis Newsgroups: gmane.emacs.gnus.user Subject: Re: Merging many different MH and mbox mail archives Date: 17 Mar 2003 15:49:02 -0500 Organization: Pageflex Inc. Message-ID: References: <3E75CBB1.10301@world.std.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668733 14380 80.91.229.2 (31 Jan 2006 00:52:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:52:13 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:22 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!skynet.be!skynet.be!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!panix!newsmaster.cc.columbia.edu!phl-feed.news.verio.net!news.bitstream.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: 199.103.147.252 Original-X-Trace: news.bitstream.com 1047933821 18810 199.103.147.252 (17 Mar 2003 20:43:41 GMT) Original-X-Complaints-To: sysops@bitstream.com Original-NNTP-Posting-Date: 17 Mar 2003 20:43:41 GMT X-Face: @Pq3?My0v;TPXbg}b;pHV{1I-kH,?FV:1$wMunQgt%u;KIx8Jl%)8E;Tag?jQQu4+Q,/QiTe@x!bk'k@uXGAj?wVZSBSj}T1X}Yql~e]uv@#]I>5F:BJ;+\k5B&3hG3ZT8_{3>#[D)SbK/9t&3TG$L7SnV3G User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Native Windows TTY Support (Windows)) Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2363 Original-Lines: 65 X-Gnus-Article-Number: 2363 Tue Jan 17 17:30:22 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2223 Archived-At: Lars Magne Ingebrigtsen writes: > Peter Davis writes: > > > 1) I'm assuming I would have to open each existing mbox of MH folder > > and respool all the messages to get them all filtered according to > > my split-fancy rules. Is there any way to automate that, so I can > > just point to a top level directory and go away for a few hours > > (days?), and have all the mail in that tree get re-spooled? > > Hm... I don't think so. Perhaps the, er, easiest way would be to > write a shell script that copies all the files from the entire > hierarchy into one biiiig directory, where you name the files with > numerical names that increase with the date. (That is, sort the > files by date first.) And then open that directory as an nnmh group, > and then respool. Hmm. Interesting possibility. The regular MH 'refile' command should work for moving the messages, keeping numbers in sequence, etc. I'd really like to get the message numbers sorted by message date, but I don't think refile can do that. > > 2) When I respool messages, will messages with duplicate message IDs > > get eliminated? I would be respooling into nnml groups. Will new > > messages being split into a group be checked for matching ID > > against messages already in that group? > > You can set `nnmail-treat-duplicates' to control that. You should > also probably increase `nnmail-message-id-cache-length'. > > Hm... but when respooling, those variables aren't really heeded. > > Ok, scratch that. Instead of respooling, use something like this: > > (setq mail-sources > '((directory :path "/home/pd/that-directory-where-all-the-messages-are/" > :suffix ""))) > > and just press `g' to fetch the mail as if it were new, which will > lead to it getting run through the splitting methods, with duplicate > suppression, etc. Interesting idea. Thanks! > > 3) For some high-volume groups, I'd like to automatically split into > > different sub-groups by year ... nnml:this.that.1979, > > nnml:this.that.1980, etc. Is there a way to set that up, and to > > have gnus create the groups automatically as needed? > > There is no pre-defined functionality in Gnus for doing this. I didn't think so. Anyone have some lisp code that will do this? Thanks very much! -pd -- -------- Peter Davis Funny stuff at http://www.pfdstudio.com The artwork formerly shown as prints List of resources for children's writers and illustrators at: http://www.pfdstudio.com/cwrl.html