From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33999 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmail-split-fancy-with-parent usage is unclear Date: 03 Jan 2001 13:05:30 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170006 28129 80.91.224.250 (21 Oct 2002 03:13:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:13:26 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 06F51D049D for ; Wed, 3 Jan 2001 07:09:30 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id GAB26060; Wed, 3 Jan 2001 06:06:00 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 03 Jan 2001 06:05:26 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id GAA15752 for ; Wed, 3 Jan 2001 06:05:15 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 3C557D049D for ; Wed, 3 Jan 2001 07:05:40 -0500 (EST) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id NAA15944; Wed, 3 Jan 2001 13:05:37 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id NAA13338; Wed, 3 Jan 2001 13:05:36 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id NAA01392; Wed, 3 Jan 2001 13:05:36 +0100 Original-To: Ted Zlatanov X-Face: 6=pZ4hVbjN:C?j1$h/-bi4:F%*~B#Rxb$[0%!{5NK"dE:_QRAM]Dzl=$yMu%Rh4xCSm/#>! $n%@SHJ](KFJKL,uF\=G=bRJQC$ ?+Dlxu*pj.Z,-GK<~y7sd/l*PN\]>} User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/21.0.95 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 48 Xref: main.gmane.org gmane.emacs.gnus.general:33999 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33999 On 01 Jan 2001, Ted Zlatanov wrote: > How do I use nnmail-split-fancy-with-parent (in nnmail.el)? The node `Fancy Mail Splitting' in the Gnus info file has the following text in the current version. Does that give enough info? /---- | `nnmail-split-fancy-with-parent' is a function which allows you to | split followups into the same groups their parents are in. Sometimes | you can't make splitting rules for all your mail. For example, your | boss might send you personal mail regarding different projects you are | working on, and as you can't tell your boss to put a distinguishing | string into the subject line, you have to resort to manually moving the | messages into the right group. With this function, you only have to do | it once per thread. | | To use this feature, you have to set `nnmail-treat-duplicates' to a | non-nil value. And then you can include | `nnmail-split-fancy-with-parent' using the colon feature, like so: | (setq nnmail-split-fancy | '(| (: nnmail-split-fancy-with-parent) | ;; other splits go here | )) | | This feature works as follows: when `nnmail-treat-duplicates' is | non-nil, Gnus records the message id of every message it sees in the | file specified by the variable `nnmail-message-id-cache-file', together | with the group it is in (the group is omitted for non-mail messages). | When mail splitting is invoked, the function | `nnmail-split-fancy-with-parent' then looks at the References (and | In-Reply-To) header of each message to split and searches the file | specified by `nnmail-message-id-cache-file' for the message ids. When | it has found a parent, it returns the corresponding group name. It is | recommended that you set `nnmail-message-id-cache-length' to a somewhat | higher number than the default so that the message ids are still in the | cache. (A value of 5000 appears to create a file some 300 kBytes in | size.) When `nnmail-cache-accepted-message-ids' is non-nil, Gnus also | records the message ids of moved articles, so that the followup | messages goes into the new group. \---- If this doesn't give the info, the manual should be fixed. (Also, the function itself should be documented, I guess. Hm.) kai -- ~/.signature