From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37624 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Cache/Agent unification Date: Thu, 09 Aug 2001 09:35:40 +0100 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 1035173004 14807 80.91.224.250 (21 Oct 2002 04:03:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:03:24 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 5644 invoked from network); 9 Aug 2001 08:34:31 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 9 Aug 2001 08:34:31 -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 f798YVw14388 for ; Thu, 9 Aug 2001 10:34:32 +0200 Original-To: ding@gnus.org In-Reply-To: (prj@po.cwru.edu's message of "Wed, 08 Aug 2001 11:59:33 -0400") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 17 Xref: main.gmane.org gmane.emacs.gnus.general:37624 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37624 prj@po.cwru.edu (Paul Jarc) writes: > Simon Josefsson writes: > > All this assumes backends never re-use article numbers, of course. >> I think we could introduce a uidvalidity-like concept in the cache >> system fairly easily, if some backends wants to renumber articles. Quoting.. err. > Or, if the backand interface overhaul ever happens, we could let > backends identify articles by arbitrary opaque-to-Gnus Lisp forms. > Gnus could still use numbers internally, if that's convenient, but the > cache/agent stuff would have to use the forms from the backends for > persistent identification. I think using integers is slow enough today, using opaque types would be significantly slower.