From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54189 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 10:42:38 -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: <4nbrsqzd41.fsf@lockgroove.bwh.harvard.edu> References: <4ny8vwnb04.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 1065710658 16560 80.91.224.253 (9 Oct 2003 14:44:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2003 14:44:18 +0000 (UTC) Original-X-From: ding-owner+M2730@lists.math.uh.edu Thu Oct 09 16:44:11 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 1A7c1T-00054P-00 for ; Thu, 09 Oct 2003 16:44:11 +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 1A7c0e-0003de-00; Thu, 09 Oct 2003 09:43:20 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A7c0W-0003dW-00 for ding@lists.math.uh.edu; Thu, 09 Oct 2003 09:43:12 -0500 Original-Received: from clifford.bwh.harvard.edu (clifford.bwh.harvard.edu [134.174.9.41]) by justine.libertine.org (Postfix) with ESMTP id 3C7823A004E for ; Thu, 9 Oct 2003 09:43:10 -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 h99Egp729725 for ; Thu, 9 Oct 2003 10:42:51 -0400 (EDT) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h99EgcQ07201; Thu, 9 Oct 2003 10:42:38 -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 In-Reply-To: <4ny8vwnb04.fsf@lockgroove.bwh.harvard.edu> (Ted Zlatanov's message of "Tue, 07 Oct 2003 14:44:27 -0400") 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:54189 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54189 On Tue, 07 Oct 2003, tzz@lifelogs.com wrote: > Speaking for those two packages, it has been the #1 problem that > people have to set a variable (gnus-registry-install or > spam-install-hooks) and then do a require of the .el file. How > could I make it so setting any of the two variables above will load > its appropriate package when Gnus is loaded? I can just put code > into gnus.el, but I thought maybe there was a "right" way of loading > packages like that. Anyone? If this is not yet standardized in Gnus, I'll go ahead and put some code in gnus.el that will look in a table of symbols and if the symbol is set, will load the corresponding library. I just want to make sure I'm not missing something obvious. Ted