From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48123 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnima-split-with-parent Date: Mon, 09 Dec 2002 17:21:53 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <84n0nfduxq.fsf@lucy.cs.uni-dortmund.de> References: <4n7kemaoaj.fsf@brainy.bwh.harvard.edu> <84n0nhrhys.fsf@lucy.cs.uni-dortmund.de> <848yz1rgpp.fsf@lucy.cs.uni-dortmund.de> <84of7xpof5.fsf@lucy.cs.uni-dortmund.de> <4n3cp789xs.fsf@brainy.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039451033 28060 80.91.224.249 (9 Dec 2002 16:23:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Dec 2002 16:23:53 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18LQhE-0007IR-00 for ; Mon, 09 Dec 2002 17:23:52 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18LQgT-0002jg-00; Mon, 09 Dec 2002 10:23:05 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 09 Dec 2002 10:23:54 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@[209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA28761 for ; Mon, 9 Dec 2002 10:23:36 -0600 (CST) Original-Received: (qmail 14814 invoked by alias); 9 Dec 2002 16:21:59 -0000 Original-Received: (qmail 14809 invoked from network); 9 Dec 2002 16:21:58 -0000 Original-Received: from perikles.informatik.uni-duisburg.de (134.91.35.3) by gnus.org with SMTP; 9 Dec 2002 16:21:58 -0000 Original-Received: from lucy.is.informatik.uni-duisburg.de (postfix@lucy.is.informatik.uni-duisburg.de [134.91.35.216]) by perikles.informatik.uni-duisburg.de (8.12.2/8.12.2) with ESMTP id gB9GMsmX132317 for ; Mon, 9 Dec 2002 17:22:54 +0100 (CET) Original-Received: by lucy.is.informatik.uni-duisburg.de (Postfix, from userid 1003) id 5124A43ACF; Mon, 9 Dec 2002 17:21:53 +0100 (CET) Original-To: ding@gnus.org In-Reply-To: <4n3cp789xs.fsf@brainy.bwh.harvard.edu> (Ted Zlatanov's message of "Mon, 09 Dec 2002 10:54:23 -0500") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48123 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48123 Ted Zlatanov writes: > On Sat, 07 Dec 2002, kai.grossjohann@uni-duisburg.de wrote: >> Ted Zlatanov writes: >> >>> On Sat, 07 Dec 2002, kai.grossjohann@uni-duisburg.de wrote: >>>> But this doesn't deal with the unqualified group names that are >>>> currently in the file. >>> >>> We convert them to the nnmail-cache-primary-backend:groupname fully >>> qualified format. Wouldn't that make sense? >> >> Usually, an unqualified group name is assumed to come from the >> primary backend (ie, gnus-select-method). So it's not sufficient to >> _just_ call the functions I gave. > > Here are the upgrade steps when running nnimap-split-with-parent, when > it needs to load the history-cache: > > 1) does the history-cache (nnmail cache version 2) file exist? if > yes, go to (3) > > 2) upgrade ~/.nnmail-cache to a new history-cache file, or create a > new history-cache file if ~/.nnmail-cache does not exist > > a) creating a new file: just touch the file > > b) upgrading: all lines get prefixed with the return value of > nnmail-cache-primary-backend, then a \t character > > 3) load the history-cache file with the > "backend\tmessage-id\tgroupname" format > > Does that makes sense? From (3) on, all work is done with the new > history-cache file. That's the right approach. > The user could even go back to using the old > nnmail-split-with-parent function in their nnmail split, since > ~/.nnmail-cache would be the same as before. Well, the file ~/.nnmail-cache isn't updated anymore, so using that isn't useful for more than a couple of days ;-) -- ~/.signature is: umop ap!sdn (Frank Nobis)