From: David Z Maze <dmaze@MIT.EDU>
Subject: Trouble with spam.el and ifile
Date: Tue, 07 Jan 2003 11:52:01 -0500 [thread overview]
Message-ID: <y68heckykb2.fsf@multics.mit.edu> (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
next reply other threads:[~2003-01-07 16:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-07 16:52 David Z Maze [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=y68heckykb2.fsf@multics.mit.edu \
--to=dmaze@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).