From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72064 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Add `nnregistry', for use in `gnus-refer-article-method' Date: Mon, 27 Sep 2010 22:57:54 +0200 Message-ID: <87mxr2lx9p.fsf@gnu.org> References: <8763d8opn4.fsf@gnu.org> <87iqgmqxmg.fsf@gnu.org> <874odb893n.fsf@gnu.org> <87k4m76nsm.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1285621107 846 80.91.229.12 (27 Sep 2010 20:58:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Sep 2010 20:58:27 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20437@lists.math.uh.edu Mon Sep 27 22:58:25 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P0KmF-0004Sa-LV for ding-account@gmane.org; Mon, 27 Sep 2010 22:58:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P0Km8-0005M9-6C; Mon, 27 Sep 2010 15:58:16 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P0Km6-0005Lr-DD for ding@lists.math.uh.edu; Mon, 27 Sep 2010 15:58:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P0Km4-0007px-Vg for ding@lists.math.uh.edu; Mon, 27 Sep 2010 15:58:14 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P0Km4-0001XA-00 for ; Mon, 27 Sep 2010 22:58:12 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P0Klz-0004N6-Sv for ding@gnus.org; Mon, 27 Sep 2010 22:58:07 +0200 Original-Received: from yoda.fdn.fr ([80.67.169.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 22:58:07 +0200 Original-Received: from ludo by yoda.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 22:58:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: yoda.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?iso-8859-1?Q?Vend=E9miaire?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:5xNTw3iFjhd1dvPaUbSAKva0Ohw= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72064 Archived-At: Hi Ted, Ted Zlatanov writes: > On Sat, 10 Jul 2010 17:07:13 +0200 ludo@gnu.org (Ludovic Courtès) wrote: > > LC> My copyright assignment is now on file (at last), and I’d like > LC> ‘nnregistry’ to “get in” (see the referred message). Can somebody look > LC> into it? I still have to update the manual. > > Thanks for working on that. I don't think the backend interface has > changed but maybe Lars has a comment. Have you tested it with the > latest Gnus? No. I’m planning to switch to No Gnus real soon but haven’t dared yet. :-) > LC> In addition, I think it’d be great to change the default value of > LC> ‘gnus-refer-article-method’ to include ‘nnregistry’ > > Is it safe if the registry is not enabled? It calls ‘gnus-registry-fetch-group’, which should just return ‘nil’ if the registry is not enabled (IIUC), so that should be safe. > LC> and also change the default value of ‘gnus-registry-max-entries’ to > LC> at least 5000. > > That's kind of dangerous. Searching the registry is pretty fast > (although still O(n) unless you know the exact message-ID) but saving > and loading it can get really slow, plus memory usage will get worse. > So I'd make this a recommendation in the manual but not a default. Hmm, OK. Thanks, Ludo’.