I've been using bbdb/gnus-split-method for some years now to split my
incoming email to different folders.  I have been using the
"gnus-privet" field successfully, but have never been able to activate
the gnus-public part.  This is the splitting override for mailing lists
that lets you file all mailing list email in one folder, regardless of
the writer of the email.  I could not find any references to such
success in Google ether.
I finally steeped throw the lisp code, and I think I found a bug, and
here is the diff:
 diff -c bbdb-gnus.el.bad  bbdb-gnus.el
*** bbdb-gnus.el.bad    Mon Jun 11 11:55:59 2001
--- bbdb-gnus.el        Sun Jun 10 23:15:59 2001
***************
*** 641,647 ****
        (cond
         ((and rgx pub
           (goto-char (point-min))
!          (re-search-forward "^From \\([^ \n]+\\)[ \n]" nil t)
           (string-match rgx (buffer-substring (match-beginning 1) (match-end 1))))
          (cons pub 3))
         (prv
--- 641,647 ----
        (cond
         ((and rgx pub
           (goto-char (point-min))
!          (re-search-forward "^From: \\([^ \n]+\\)[ \n]" nil t)
           (string-match rgx (buffer-substring (match-beginning 1) (match-end 1))))
          (cons pub 3))
         (prv
the problem was that the regexp that was suppose to catch the "From:"
line seems to be wrong, and so the sender address never matched, and the
gnus-public option was never used.
Dose this make sense?  has anyone here managed to use the "gnus-public"
option as is?
          thanks, Matan
-- 
Matan Ninio             
-----------------------------------------
VI VI VI - The Roman Number of The Beast

_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to