From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50349 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: spam-get-article-as-filename needed? Date: Mon, 24 Feb 2003 12:32:09 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: <4n4r6t5ytt.fsf@chubby.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046111678 561 80.91.224.249 (24 Feb 2003 18:34:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Feb 2003 18:34:38 +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 18nNQH-00006Q-00 for ; Mon, 24 Feb 2003 19:33:54 +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 18nNOw-0004YX-00; Mon, 24 Feb 2003 12:32:30 -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:33:30 -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 MAA06819 for ; Mon, 24 Feb 2003 12:33:19 -0600 (CST) Original-Received: (qmail 8282 invoked by alias); 24 Feb 2003 18:32:13 -0000 Original-Received: (qmail 8277 invoked from network); 24 Feb 2003 18:32:13 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 24 Feb 2003 18:32:13 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18nNe1-000862-00 for ; Mon, 24 Feb 2003 19:48:05 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 44 Original-NNTP-Posting-Host: h-66-134-21-50.hstqtx02.covad.net Original-X-Trace: quimby.gnus.org 1046112485 30986 66.134.21.50 (24 Feb 2003 18:48:05 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 24 Feb 2003 18:48:05 GMT User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 Cancel-Lock: sha1:sdz1UGEbEApCzQkD+Itv/sCWEEc= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50349 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50349 Ted Zlatanov writes: > 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. If you compile in the same emacs as you are running gnus, you won't see these as gnus will have already loaded nnml. I only see this sort of message when I compile in a new emacs that has never run gnus. >> 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. That's what I hoped to hear. Kevin