From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46398 Path: main.gmane.org!not-for-mail From: jhbrown@ai.mit.edu (Jeremy H. Brown) Newsgroups: gmane.emacs.gnus.general Subject: Re: Splitting on mail contents? (using spam-stat.el) Date: 04 Sep 2002 11:23:06 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: <03bs7em0a4.fsf@msgid.viggen.net> <03y9ahlu15.fsf@msgid.viggen.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1031152949 32009 127.0.0.1 (4 Sep 2002 15:22:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Sep 2002 15:22:29 +0000 (UTC) Cc: Oystein Viggen , ding@gnus.org 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 17mbz9-0008K7-00 for ; Wed, 04 Sep 2002 17:22:27 +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 17mc0C-00008Z-00; Wed, 04 Sep 2002 10:23:32 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 04 Sep 2002 10:24:07 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA28363 for ; Wed, 4 Sep 2002 10:23:56 -0500 (CDT) Original-Received: (qmail 2493 invoked by alias); 4 Sep 2002 15:23:09 -0000 Original-Received: (qmail 2488 invoked from network); 4 Sep 2002 15:23:09 -0000 Original-Received: from life.ai.mit.edu (128.52.32.80) by gnus.org with SMTP; 4 Sep 2002 15:23:09 -0000 Original-Received: from suspiria.ai.mit.edu (suspiria [128.52.39.94]) by life.ai.mit.edu (8.12.2/8.12.2/BASENAME(ai.master.life-8.12.2.mc,.mc):RCS_REVISION(evision: 1.23 ) with ESMTP id g84FN61q017069; Wed, 4 Sep 2002 11:23:07 -0400 (EDT) Original-Received: by suspiria.ai.mit.edu (8.8.8/1.1.19.2/08Jul98-0847PM) id LAA0000010147; Wed, 4 Sep 2002 11:23:06 -0400 (EDT) Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) In-Reply-To: Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46398 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46398 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > Well, I remember that Gnus uses two different buffers for splitting > and for `B r'. Beware! I use advice to put a uniform name on the entire article buffer for fancy-splits in nnmail. Below is a (simplified, untested) version of my advice; using it, the article-buffer is named the-article-buffer in your split and any functions you may call from it. This works with 5.8.8/5.9; I have no idea how it does with oort. Jeremy (defadvice nnmail-article-group (around name-article-buffer (&rest args)) "name the article buffer for use in fancy splits" (let ((the-article-buffer (current-buffer))) ad-do-it)) (ad-activate-regexp "name-article-buffer")