From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13789 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus registry permanence and spam-log-to-registry Date: Mon, 22 Mar 2010 08:05:44 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87r5nc1p7b.fsf@lifelogs.com> References: <87tys8lofy.fsf@nifty.my-fqdn.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273018242 14585 80.91.229.12 (5 May 2010 00:10:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 00:10:42 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed May 05 02:10:40 2010 connect(): No such file or directory Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9SCG-0001GD-26 for gegu-info-gnus-english@m.gmane.org; Wed, 05 May 2010 02:10:40 +0200 Original-Received: from localhost ([127.0.0.1]:35241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9SCF-0005FG-B8 for gegu-info-gnus-english@m.gmane.org; Tue, 04 May 2010 20:10:39 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 43 Original-X-Trace: news.albasani.net YVc7SgoVkC0vkP5LMcnMuhPpv2MZ9os/0oPJs8cdeRW0jthpkINRkQv3hdshT5vSxeRibSjhyWPTPZ2A8cG8GpD+KetMOY4g2vxvgkjNWKAAA5zjVfAiWkY9p+r2ouWS Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Mon, 22 Mar 2010 13:05:44 +0000 (UTC) X-User-ID: E68GC2Y32CCKre6J0omuEjqZZnPClzq8xsG6OxdHz2c= 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" Cancel-Lock: sha1:zvxMcB6p5ogYYkJinimK/xafcGg= sha1:aPiZf+ml58/gc9E3dOj+LxCk5ng= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.91 (gnu/linux) X-NNTP-Posting-Host: 7Qe+EHJfQYuX5L/6OqNPHdqGBYckdU2WwOOXjYArw6Q= Original-Xref: usenet.stanford.edu gnu.emacs.gnus:84159 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13789 Archived-At: On Mon, 22 Mar 2010 10:01:53 +0100 "Peter G" wrote: PG> I'm trying to set up the spam.el package in my .gnus.el, so that I'm PG> going to have simple spam-handling. PG> My current setup is almost working, save for the simple problem that PG> everytime I first start up gnus in emacs, I'm being interactively PG> prompted whether i eant to "enable the gnus registry" and that I have to PG> look into 'gnus-registry-install' if I want it to be set permanent. PG> Problem is, I already have set 'gnus-registry-install'. So what am I PG> missing? PG> Relevant part of .gnus.el: PG> (require 'gnus-registry) PG> (gnus-registry-initialize) PG> (setq gnus-registry-install t PG> gnus-registry-max-entries 20000) It's because of this code in gnus-registry.el: (when (or (eq gnus-registry-install t) (gnus-registry-install-p)) (gnus-registry-initialize)) I'll change the docs for the `gnus-registry-install' variable but for now you should set it before the require or use Customize. The reason it's a bit annoying like this is that loading the registry involves hooks and a large data structure. Loading it inadvertently could slow Gnus down a lot on older machines. Sorry for the inconvenience. The rest of your setup looks good. You could use the (spam-initialize 'backend1 'backend2) form to enable the backends directly. You don't have to set them before calling spam-initialize, unlike the gnus-registry initialization. Ted