From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53903 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: gnus-registry.el changes Date: Thu, 04 Sep 2003 18:22:05 -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: <4n65k819f6.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062714171 16855 80.91.224.253 (4 Sep 2003 22:22:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2003 22:22:51 +0000 (UTC) Original-X-From: ding-owner+M2443@lists.math.uh.edu Fri Sep 05 00:22:50 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19v2V8-0006xm-00 for ; Fri, 05 Sep 2003 00:22: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 19v2Uw-0005qK-00; Thu, 04 Sep 2003 17:22:38 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19v2Us-0005qF-00 for ding@lists.math.uh.edu; Thu, 04 Sep 2003 17:22:35 -0500 Original-Received: (qmail 31176 invoked by alias); 4 Sep 2003 22:22:34 -0000 Original-Received: (qmail 31171 invoked from network); 4 Sep 2003 22:22:34 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by sclp3.sclp.com with SMTP; 4 Sep 2003 22:22:34 -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 h84MM6q29114 for ; Thu, 4 Sep 2003 18:22:06 -0400 (EDT) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h84MM6s14281; Thu, 4 Sep 2003 18:22:06 -0400 (EDT) Original-To: Ding Mailing List 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 Mailing List User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53903 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53903 - tracking by subject: say you get messages with the same subject but no references header (yes it's true, some MUAs don't generate those! the horror!) - the registry will track them by subject. There is some minimal tuning with gnus-registry-minimum-subject-length and I simplify the subject. I had to modify quite a few backends to pass a subject to nnmail-cache-insert. Let's see how well it works. My tests were encouraging. - caching extra data: for extra data like the subject or mtime, it's all in an alist, and it's slow to traverse that repeatedly. So I cache it dynamically in a hashtable inside the registry. The secondary hashtable does not get saved with the registry. The changes were pretty major so if gnus-registry.el barfs please let me know... I tested the basics. Thanks Ted