From: Kai Grossjohann Date: Fri, 13 Apr 2001 15:57:46 +0000 (+0000) Subject: (nnmail-split-fancy-with-parent): Add docstring. X-Git-Url: http://cgit.sxemacs.org/?a=commitdiff_plain;h=2135f2f7ddd30b24d68a71e0c74a1e889444be95;p=gnus (nnmail-split-fancy-with-parent): Add docstring. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a9677f729..1c1790bb1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2001-04-13 Kai Gro,A_(Bjohann + + * nnmail.el (nnmail-split-fancy-with-parent): Add docstring. + 2001-04-12 19:00:00 ShengHuo ZHU From Jason Merrill diff --git a/lisp/nnmail.el b/lisp/nnmail.el index e04d17268..c28abd564 100644 --- a/lisp/nnmail.el +++ b/lisp/nnmail.el @@ -1435,6 +1435,15 @@ See the documentation for the variable `nnmail-split-fancy' for documentation." ;; Function for nnmail-split-fancy: look up all references in the ;; cache and if a match is found, return that group. (defun nnmail-split-fancy-with-parent () + "Split this message into the same group as its parent. +This function can be used as an entry in `nnmail-split-fancy', for +example like this: (: nnmail-split-fancy) +For a message to be split, it looks for the parent message in the +References or In-Reply-To header and then looks in the message id +cache file (given by the variable `nnmail-message-id-cache-file') to +see which group that message was put in. This group is returned. + +See the Info node `(gnus)Fancy Mail Splitting' for more details." (let* ((refstr (or (message-fetch-field "references") (message-fetch-field "in-reply-to"))) (references nil)