From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51538 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: message registry for Gnus Date: Wed, 16 Apr 2003 16:35:26 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4n8yuayycx.fsf@lockgroove.bwh.harvard.edu> References: <4n3cn9i6kq.fsf@lockgroove.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 1050525471 29461 80.91.224.249 (16 Apr 2003 20:37:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2003 20:37:51 +0000 (UTC) Original-X-From: ding-owner+M82@lists.math.uh.edu Wed Apr 16 22:37:50 2003 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 195tfC-0007f0-00 for ; Wed, 16 Apr 2003 22:37:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 195td4-0002Pf-00; Wed, 16 Apr 2003 15:35:38 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 195td0-0002Pa-00 for ding@lists.math.uh.edu; Wed, 16 Apr 2003 15:35:34 -0500 Original-Received: (qmail 92258 invoked by alias); 16 Apr 2003 20:35:33 -0000 Original-Received: (qmail 92253 invoked from network); 16 Apr 2003 20:35:33 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by sclp3.sclp.com with SMTP; 16 Apr 2003 20:35:33 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h3GKZQI25236 for ; Wed, 16 Apr 2003 16:35:26 -0400 (EDT) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h3GKZQv13454; Wed, 16 Apr 2003 16:35:26 -0400 (EDT) Original-To: ding@gnus.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: ding@gnus.org In-Reply-To: <4n3cn9i6kq.fsf@lockgroove.bwh.harvard.edu> (Ted Zlatanov's message of "Fri, 31 Jan 2003 12:15:33 -0500") User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:51538 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51538 On Fri, 31 Jan 2003, tzz@lifelogs.com wrote: > - track messages by ID > > - associate a Lisp structure (probably a list, hashes are too new?) > with a message ID This is working, in a first-draft-please-put-me-out-of-my-misery sort of way. I store message headers separately from message spool data. Please take a look and let me know what you think (gnus-registry.el with the definitions of gnus-registry-alist and gnus-registry-headers-alist in gnus.el). I'm pretty sure there's bugs in the code. > - store the registry in a separate file or in the newsrc.eld? Right now, the registry is stored in the newsrc.eld. This may be a problem later - it will grow quickly. We can either compress the registry or move it to a separate file; removing old registry entries would probably be OK for deleted messages but we have to be careful with copies of a message (removal of a copy means we have to keep the records for the original around). Ideas welcome. Ted