From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54195 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: loading spam.el and gnus-registry.el with set variables only Date: Thu, 09 Oct 2003 15:51:55 -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: <4nzngarxyc.fsf@lockgroove.bwh.harvard.edu> References: <4ny8vwnb04.fsf@lockgroove.bwh.harvard.edu> <4nbrsqzd41.fsf@lockgroove.bwh.harvard.edu> <4n8ynutho4.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 1065729170 29347 80.91.224.253 (9 Oct 2003 19:52:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2003 19:52:50 +0000 (UTC) Original-X-From: ding-owner+M2736@lists.math.uh.edu Thu Oct 09 21:52:48 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 1A7gq7-0006xH-00 for ; Thu, 09 Oct 2003 21:52:48 +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 1A7gpq-0004aQ-00; Thu, 09 Oct 2003 14:52:30 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A7gpm-0004aL-00 for ding@lists.math.uh.edu; Thu, 09 Oct 2003 14:52:26 -0500 Original-Received: from clifford.bwh.harvard.edu (clifford.bwh.harvard.edu [134.174.9.41]) by justine.libertine.org (Postfix) with ESMTP id B5C613A004E for ; Thu, 9 Oct 2003 14:52:24 -0500 (CDT) 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 h99Jq8715118 for ; Thu, 9 Oct 2003 15:52:09 -0400 (EDT) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h99JptG09579; Thu, 9 Oct 2003 15:51:55 -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: =?iso-8859-1?q?=28Re=EDner?= Steib's message of "Thu, 09 Oct 2003 21:37:10 +0200") 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:54195 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54195 On Thu, 09 Oct 2003, 4.uce.03.r.s@nurfuerspam.de wrote: On Thu, Oct 09 2003, Ted Zlatanov wrote: > >> Let me know if the attached patch looks OK. > > I don't understand the need and the use of the variable > `spam-install-hooks': It's legacy, I didn't want to disable it or people may suddenly find their spam.el setup broken. Decisions, decisions... > (defcustom spam-install-hooks (or > spam-use-dig > spam-use-blacklist > [...] > spam-use-stat > spam-use-spamoracle) > "Whether the spam hooks should be installed, default to t if one > of > the spam-use-* variables is set." [...]) > I.e. `spam-install-hooks' is always t when you load `spam.el'? If > you use the `spam-initialize' function, why do you need the variable > `spam-install-hooks' at all? If no spam-use-* variables are set, spam-install-hooks remains nil. That way you can load spam.el without installing the hooks (for customization), and also you can force the installation of the hooks without using a spam-use-* backend. > If it's not used anymore, you may issue a warning if it's bound > while loading `spam.el', i.e. if someone wants to use the obsoleted > interface. I may do that, is there any place this is done so I can see the error message I should be using? > Then, I'd add "(push ...) to `spam-install-hooks-function' and > rename it to `spam-initialize'. OK, thanks! Ted