From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50348 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: spam-get-article-as-filename needed? Date: Mon, 24 Feb 2003 13:16:14 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: <4n4r6t5ytt.fsf@chubby.bwh.harvard.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046110724 27873 80.91.224.249 (24 Feb 2003 18:18:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Feb 2003 18:18:44 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18nNBa-0007FP-00 for ; Mon, 24 Feb 2003 19:18:42 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18nN9Z-0004QE-00; Mon, 24 Feb 2003 12:16:37 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 24 Feb 2003 12:17:37 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA06729 for ; Mon, 24 Feb 2003 12:17:23 -0600 (CST) Original-Received: (qmail 7625 invoked by alias); 24 Feb 2003 18:16:19 -0000 Original-Received: (qmail 7619 invoked from network); 24 Feb 2003 18:16:19 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by 66.230.238.6 with SMTP; 24 Feb 2003 18:16:19 -0000 Original-Received: from chubby.bwh.harvard.edu (chubby [134.174.9.50]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h1OIGEj26824 for ; Mon, 24 Feb 2003 13:16:14 -0500 (EST) Original-Received: (from tzz@localhost) by chubby.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h1OIGEp10025; Mon, 24 Feb 2003 13:16:14 -0500 (EST) 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: (Kevin Greiner's message of "Mon, 24 Feb 2003 11:57:04 -0600") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50348 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50348 On Mon, 24 Feb 2003, kgreiner@xpediantsolutions.com wrote: > I was looking at the compilation logs only to see that spam.el > generated a couple of warning messages concerning > nnml-current-directory and nnml-possibly-change-directory. Strange, I was not seeing those warnings. > After checking a little further, I found that > 1) The only dependencies to nnml are in > spam-get-article-as-filename. > 2) spam-get-article-as-filename is functionally equivalent to > nnml-article-to-file except that the later appears to handle > compressed files (see nnml-use-compressed-files). > 3) I can't find any calls to spam-get-article-as-filename. > > I don't want to touch spam.el since I'm not at all familiar with > that code. Still, I'd like to see the compilation warnings > resolved. > > It seems to me that the options are: > 1) Add (require 'nnml) to spam.el > 2) Delete spam-get-article-as-filename > 3) Rewrite spam-get-article-as-filename to implicitly depend on > nnml-article-as-file. For example, > (defun spam-get-article-as-filename (article) > (funcall 'nnml-article-to-file article)) The original intent was (and still is) to allow training a spam/ham backend directly from the files, rather than through the less efficient parameter passing. It's not useful yet, however, so I commented the code out for the time being. It will come back when I put a bunch of other things in place, and I'll keep in mind your issue with nnml symbols. Thanks! Ted