From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49716 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: message registry for Gnus Date: Fri, 31 Jan 2003 12:15:33 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: <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 1044033319 16918 80.91.224.249 (31 Jan 2003 17:15:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2003 17:15:19 +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 18eel1-0004Of-00 for ; Fri, 31 Jan 2003 18:15:15 +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 18eelp-0002lw-00; Fri, 31 Jan 2003 11:16:05 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 31 Jan 2003 11:17:01 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA06562 for ; Fri, 31 Jan 2003 11:16:50 -0600 (CST) Original-Received: (qmail 87475 invoked by alias); 31 Jan 2003 17:15:49 -0000 Original-Received: (qmail 87470 invoked from network); 31 Jan 2003 17:15:49 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by 66.230.238.6 with SMTP; 31 Jan 2003 17:15:49 -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 h0VHFeW20015 for ; Fri, 31 Jan 2003 12:15:41 -0500 (EST) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h0VHFXh24878; Fri, 31 Jan 2003 12:15:33 -0500 (EST) 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 User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (sparc-sun-solaris2.8) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49716 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49716 So, I've been thinking about a message registry. What will it do? - track messages by ID - associate a Lisp structure (probably a list, hashes are too new?) with a message ID - allow every customer package to hook into the relevant functions - store the registry in a separate file or in the newsrc.eld? Before I start coding, I wanted to sort of look around and see what people think. In the context of spam.el, the registry will be used to track when a message changes groups, or is processed by a spam/ham processor. That way, we can see if a message that will be registered as spam with ifile now has been registered as ham with Bogofilter, for instance, and reverse the Bogofilter registration before registering with ifile. In Gnus terms, what are the basic message transfer functions? - message copy - message move - new message spooling - old message respooling What else? Is this easily doable? Thanks Ted