From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47917 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: summary rescan and cancelled articles Date: Tue, 26 Nov 2002 20:52:15 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2nhee3pynk.fsf@zsh.cs.rochester.edu> References: <87u1ifaks3.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1038361872 26840 80.91.224.249 (27 Nov 2002 01:51:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 27 Nov 2002 01:51:12 +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 18GrM5-0006yX-00 for ; Wed, 27 Nov 2002 02:51:10 +0100 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 18GrNl-0002Qc-00; Tue, 26 Nov 2002 19:52:53 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 26 Nov 2002 19:53:41 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@[209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id TAA23536 for ; Tue, 26 Nov 2002 19:53:18 -0600 (CST) Original-Received: (qmail 25198 invoked by alias); 27 Nov 2002 01:52:22 -0000 Original-Received: (qmail 25193 invoked from network); 27 Nov 2002 01:52:21 -0000 Original-Received: from roc-24-58-65-187.rochester.rr.com (HELO piglet.jia.vnet) (@24.58.65.187) by gnus.org with SMTP; 27 Nov 2002 01:52:21 -0000 Original-Received: from piglet.jia.vnet (IDENT:zwtI6YtJrLQTiTfa0krl8Daag/HLEm6/@localhost [127.0.0.1]) by piglet.jia.vnet (8.12.5/8.12.5) with ESMTP id gAR1qG17005491 for ; Tue, 26 Nov 2002 20:52:16 -0500 Original-Received: (from zsh@localhost) by piglet.jia.vnet (8.12.5/8.12.5/Submit) id gAR1qFXW005489; Tue, 26 Nov 2002 20:52:15 -0500 X-Authentication-Warning: piglet.jia.vnet: zsh set sender to zsh@cs.rochester.edu using -f Original-To: ding@gnus.org X-Attribution: ZSH X-Face: #zw9`a=vHLkn+ZH8C (Kevin Ryde's message of "Mon, 18 Nov 2002 08:33:48 +1000") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47917 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47917 Kevin Ryde writes: > I like the way gnus-summary-rescan-group keeps point on the current > article, but I notice it goes back to the start of the buffer if the > current article has been cancelled. I strike this when going though > old mail moving or deleting stuff. > > I'd like to propose the change below to look for an uncancelled > article to preserve the position. Maybe the search loop could be > written better, this was the best I could come up with. > > * gnus-sum.el (gnus-summary-find-uncancelled): New function. > (gnus-summary-reselect-current-group): Use it. Installed. ShengHuo