From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46538 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.gnus.general Subject: Re: finding the article buffer when splitting Date: Sat, 14 Sep 2002 03:18:03 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <8765x99xo4.fsf@emacswiki.org> References: <03bs7em0a4.fsf@msgid.viggen.net> <03y9ahlu15.fsf@msgid.viggen.net> <873csdrhhi.fsf_-_@emacswiki.org> <03fzwd8muw.fsf@msgid.viggen.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031966209 30372 127.0.0.1 (14 Sep 2002 01:16:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 14 Sep 2002 01:16:49 +0000 (UTC) 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 17q1YF-0007tk-00 for ; Sat, 14 Sep 2002 03:16:48 +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 17q1XG-0003VE-00; Fri, 13 Sep 2002 20:15:46 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 13 Sep 2002 20:16:22 -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 UAA17980 for ; Fri, 13 Sep 2002 20:16:10 -0500 (CDT) Original-Received: (qmail 18322 invoked by alias); 14 Sep 2002 01:15:29 -0000 Original-Received: (qmail 18317 invoked from network); 14 Sep 2002 01:15:29 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 14 Sep 2002 01:15:29 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17q28q-00061t-00 for ; Sat, 14 Sep 2002 03:54:36 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 34 Original-NNTP-Posting-Host: dclient217-162-239-98.hispeed.ch Original-X-Trace: quimby.gnus.org 1031968474 22813 217.162.239.98 (14 Sep 2002 01:54:34 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 14 Sep 2002 01:54:34 GMT X-Face: ^BC$`[IcggstLPyen&dqF+b2'zyK#r.mU*'Nms}@&4zw%SJ#5!/7SMVjBS7'lb;QK)|IPU5U'o1'522W4TyzB3Ab*IBo^iw]l4|kUbdZuUDO6=Um-.4IzhNiV'B"@K#jy_(wW|Zbk[34flKY^|PrQ?$u2\fKg^]AY>wOX#H32i User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.90 (i686-pc-linux-gnu) Cancel-Lock: sha1:F41qJZdt+7NA0glBA43rvz856Zc= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46538 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46538 Oystein Viggen writes: > In my Gnus, gnus-original-article-buffer seems to always contain the > last article viewed, and not the one currently spooling. This makes the > " *Original Article*" buffer kind of useless for splitting incoming > mail. Hm, I think in the summary buffer: B t runs the command gnus-summary-respool-trace which is an interactive compiled Lisp function in `gnus-sum'. which calls gnus-summary-respool-query which uses gnus-original-article-buffer. :) > I'm currently using Jeremy's defadvice combined with a slightly modified > spam-stat-split-fancy (set-buffer the-article-buffer instead of > gnus-original-article-buffer), which sorts correctly but gives a high > bogus ratio. (but it works nicely when marking everything in the bogus > group and respooling) Hehe. I got rid of the bogus problem now, so I think you're best of using my latest copy of spam-stat.el. I used Jeremy's advice with the exact same change you listed. If you just want to adapt that, you need to change the call (buffer-size) to (- (point-max) (point-min)) -- because buffer-size does not take narrowing into account. The resulting numbers caused errors, which resulted in bogus group splitting. Alex. -- I will be in Istanbul next week.