From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36214 Path: main.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.general Subject: Re: letting split rules have access to the message body... Date: 14 May 2001 15:13:41 -0400 Organization: Mind your own business, you silly arthur king! Message-ID: <87bsovlp5m.fsf@mclinux.com> References: <87pudg99j9.fsf@mclinux.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035171838 7363 80.91.224.250 (21 Oct 2002 03:43:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:43:58 +0000 (UTC) Return-Path: Original-Received: (qmail 29714 invoked by alias); 14 May 2001 19:13:44 -0000 Original-Received: (qmail 29707 invoked from network); 14 May 2001 19:13:44 -0000 Original-Received: from quimby.gnus.org (195.204.10.139) by gnus.org with SMTP; 14 May 2001 19:13:44 -0000 Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id VAA11491 for ding@gnus.org; Mon, 14 May 2001 21:13:36 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-NNTP-Posting-Host: lowell.missioncriticallinux.com Original-X-Trace: quimby.gnus.org 989867616 4643 208.51.139.16 (14 May 2001 19:13:36 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 14 May 2001 19:13:36 GMT X-Go-Away: or I shall taunt you a second time! X-PGP-KeyID: 6B21489A X-PGP-CertKey: 61F0 6138 BE7B FEBF A223 E9D1 BFE1 2065 6B21 489A X-Request-PGP: finger:huber@db.debian.org Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (Cuyahoga Valley) Original-Lines: 22 Xref: main.gmane.org gmane.emacs.gnus.general:36214 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36214 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > Stupid me. There should be a save-excursion and a switch to > gnus-original-article-buffer in there, I think. You're absolutely right. Thanks for the tip. it would be nice if that sequence was documented in the manual. i.e.: "If you want access to the full message body in a function called from a split rule, you'll have to do the following: (save-excursion (set-buffer gnus-original-article-buffer) ... ) " Thanks, -- Josh Huber