From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40958 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: can back end keep track of *all* group info? Date: Sun, 23 Dec 2001 17:25:54 -0500 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: owner-ding@hpc.uh.edu 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 1035176433 3685 80.91.224.250 (21 Oct 2002 05:00:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:00:33 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 28635 invoked from network); 23 Dec 2001 22:26:49 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 23 Dec 2001 22:26:49 -0000 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 16IH4M-0008UW-00; Sun, 23 Dec 2001 16:26:10 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 23 Dec 2001 16:26:00 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA03182 for ; Sun, 23 Dec 2001 16:25:49 -0600 (CST) Original-Received: (qmail 28578 invoked by alias); 23 Dec 2001 22:25:55 -0000 Original-Received: (qmail 28573 invoked from network); 23 Dec 2001 22:25:55 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (qmail-remote@129.22.96.25) by gnus.org with SMTP; 23 Dec 2001 22:25:55 -0000 Original-Received: (qmail 5502 invoked by uid 500); 23 Dec 2001 22:26:16 -0000 Original-To: Paul Grayson In-Reply-To: (Paul Grayson's message of "21 Dec 2001 23:50:57 -0600") Mail-Copies-To: nobody Mail-Followup-To: pgrayson+ding@ks.uiuc.edu, ding@gnus.org Original-Lines: 48 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40958 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40958 Regarding the subject: backends can store articles and marks, but not group parameters. At least, not as well. Paul Grayson wrote: > I'm writing a simple server that will allow me to access a huge > maildir (10,000+ messages). You might have a look at nnmaildir. It's in CVS now and is documented (for now) at . > I split the messages virtually - my server applies splitting rules > *while* you browse through your mail. nnmaildir doesn't mind if you do that. > My server keeps track of marks, nnmaildir also does that. Without knowing how your server does it, it's tough to say how hard it would be to hook them together. > I don't want my server to count the total number of messages in a > group - that will take too long - nnmaildir keeps a list of articles (not their contents, though) in memory for each group. I suppose that might be a problem for you. > and I want to avoid the nnimap problem of always having the > unread/flagged count out of sync with the server. nnmaildir renumbers its articles when you close and reopen the server, so those counts aren't so far off. The price of this is that nnmaildir doesn't work with the Gnus Agent or cache. > I love everything Gnus does, and really want to use it as a front end > to this server - is there any way to write it a back end? There's some material in the manual about the backend interface. That's where I started when writing nnmaildir. > I've experimented a little, and it seems that Gnus generally > requests much more information than it uses, but checks too rarely > (with, for example, nnchoke-request-update-info) to keep the > information up-to-date. Yes, it's noticeably skewed toward NNTP. paul