From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37446 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Backend writing Date: Sat, 04 Aug 2001 02:41:20 +0200 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172860 13917 80.91.224.250 (21 Oct 2002 04:01:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:01:00 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 1079 invoked from network); 4 Aug 2001 00:40:17 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 4 Aug 2001 00:40:17 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.3/8.11.3) with ESMTP id f740ePw00927 for ; Sat, 4 Aug 2001 02:40:26 +0200 Original-To: ding@gnus.org In-Reply-To: (prj@po.cwru.edu's message of "Fri, 03 Aug 2001 20:20:10 -0400") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 34 Xref: main.gmane.org gmane.emacs.gnus.general:37446 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37446 prj@po.cwru.edu (Paul Jarc) writes: > Simon Josefsson writes: >> I think nnmaildir is different though, don't you hide the renumbering >> from Gnus (by translating back and forth between old and new >> numbering)? > > I have external, non-numeric article identifications that never change > for a given article during its lifetime. Gnus never sees those; I > translate them to article numbers. That mapping does change from one > Gnus session to another, to keep the numbers small and consecutive. Oh! How do the cache/agent like this? Maybe the cache/agent isn't really useful together with nnmaildir though. But I doubt it would work, which is sort of bad. You couldn't have the nnmaildir spool NFS mounted and use the agent when you don't have network connectivity, could you? Do you also frob group info to renumber the marks? When do you do this? Do you use nnchoke-request-update-info? >> Nnimap doesn't, it simply present the servers article numbers to >> Gnus and hopes for the best. (And assuming uidvalidity doesn't >> change, the IMAP design guarantee that Gnus will be happy. Problem >> is when uidvalidity change...). > > Ah, ok. So the only IMAP-level identification of an article is > subject to change during an article's lifetime? Or is there another, > non-volatile piece of identification that just isn't used? No. The article number in IMAP is intended to not change during the life-time of an article, but IMAP has a concept of UIDVALIDITY so clients can find out if there has been a renumbering. The client must then delete all cached copies of the article. Most server never change uidvalidity unless something major happens, but some have a more liberal interpretation..