Gnus development mailing list
 help / color / mirror / Atom feed
* Trouble with spam.el and ifile
@ 2003-01-07 16:52 David Z Maze
  2003-01-07 19:47 ` Ted Zlatanov
  0 siblings, 1 reply; 12+ messages in thread
From: David Z Maze @ 2003-01-07 16:52 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 338 bytes --]

I've been using ifile-gnus.el for spam sorting, and figured I'd try
spam.el's newfangled ifile support.  Really fresh CVS...

Problem 1: Gnus tries to feed all of my mail into a "non-spam" group.
It looks like the sense of spam-ifile-all-categories is backwards in
the code from what the documentation says; inverting the test fixes
it.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 561 bytes --]

--- spam.el.orig        Tue Jan  7 11:41:17 2003
+++ spam.el     Tue Jan  7 11:41:22 2003
@@ -522,7 +522,7 @@
        (if (not (eobp))
            (setq category (buffer-substring (point) (spam-point-at-eol))))
        (when (not (zerop (length category))) ; we need a category here
-         (if spam-ifile-all-categories
+         (if (not spam-ifile-all-categories)
              (when (string-equal spam-ifile-spam-category category)
                (setq return spam-split-group))
            (setq return category)))))  ; always accept the ifile category

[-- Attachment #3: Type: text/plain, Size: 551 bytes --]


Problem 2: Spam doesn't actually seem to get noticed by ifile, and if
I visit my spam group the articles are marked "Y" rather than "H".  My
.gnus file has, inside a setq block:

      spam-junk-mailgroups '("mail.misc.spam")
      spam-split-group "mail.misc.spam"
      spam-use-ifile t

My nnmail-split-fancy begins with (: spam-split) as pretty much the
first thing.  Any hints?

-- 
David Maze             dmaze@mit.edu          http://www.mit.edu/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-01-08 16:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-07 16:52 Trouble with spam.el and ifile David Z Maze
2003-01-07 19:47 ` Ted Zlatanov
2003-01-07 21:05   ` David Z Maze
2003-01-07 22:07     ` Ted Zlatanov
2003-01-07 22:32       ` David Z Maze
2003-01-07 22:42         ` David Z Maze
2003-01-08  4:55           ` Ted Zlatanov
2003-01-08 15:11         ` Ted Zlatanov
2003-01-08 16:07           ` David Z Maze
2003-01-08 16:15             ` David Z Maze
2003-01-08 16:25             ` Ted Zlatanov
2003-01-08 16:18           ` Ted Zlatanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).