From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51090 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Fancy splitting getting headers from included text Date: Sun, 30 Mar 2003 14:08:22 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <843cl5i4kg.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1049026165 21437 80.91.224.249 (30 Mar 2003 12:09:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 30 Mar 2003 12:09:25 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Sun Mar 30 14:09:24 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18zbcq-0005Zc-00 for ; Sun, 30 Mar 2003 14:09:24 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18zbcD-00013D-00; Sun, 30 Mar 2003 06:08:45 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 30 Mar 2003 06:09:50 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id GAA09413 for ; Sun, 30 Mar 2003 06:09:36 -0600 (CST) Original-Received: (qmail 70613 invoked by alias); 30 Mar 2003 12:08:28 -0000 Original-Received: (qmail 70608 invoked from network); 30 Mar 2003 12:08:27 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by 66.230.238.6 with SMTP; 30 Mar 2003 12:08:27 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h2UC8MXK018612 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Sun, 30 Mar 2003 14:08:23 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030330:ding@gnus.org:fc254fd34e2a5c45 X-Hashcash: 0:030330:ding@gnus.org:fc254fd34e2a5c45 In-Reply-To: <843cl5i4kg.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@gmx.net's message of "Sun, 30 Mar 2003 11:31:11 +0200") User-Agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.3.50 (gnu/linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:51090 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51090 kai.grossjohann@gmx.net (Kai Großjohann) writes: > Lars Magne Ingebrigtsen writes: > >> It shouldn't -- the buffer should be limited to the headers only. >> (Unless somebody changed that while I wasn't looking. If so, they >> should change it back again. :-) > > Some people needed the body for spam processing. There is a variable > for this. Hmm... Ah. nnimap-split-download-body, perhaps? But it is off by default, and it is easy to see if the body is incorrectly downloaded anyway in *imap-log*. I think it was reported to happen for nnmail too. Hm. Those who are seeing this, are you using spam.el and downloading bodies too? Could you edebug nnmail-article-group to see if nnmail-split-fancy is somehow invoked without narrowed headers? I'm not sure where the spam code is invoked, but if it does a (widen) it should probably do it inside a save-restriction. Does this patch help? --- spam.el.~6.87.~ Thu Mar 20 00:10:30 2003 +++ spam.el Sun Mar 30 14:08:05 2003 @@ -595,7 +595,7 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details." (interactive) - + (save-excursion (dolist (check spam-list-of-statistical-checks) (when (symbol-value check) (widen) @@ -612,7 +612,7 @@ (setq decision (funcall (cdr pair)))))) (if (eq decision t) nil - decision))) + decision)))) (defun spam-setup-widening () (dolist (check spam-list-of-statistical-checks)