From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50116 Path: main.gmane.org!not-for-mail From: Niklas Morberg Newsgroups: gmane.emacs.gnus.general Subject: Re: marking articles at group exit Date: Fri, 14 Feb 2003 16:08:59 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <4nvfzmdigq.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045235660 1029 80.91.224.249 (14 Feb 2003 15:14:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2003 15:14:20 +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 18jhRW-00087e-00 for ; Fri, 14 Feb 2003 16:07:58 +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 18jhTE-0005Qf-00; Fri, 14 Feb 2003 09:09:44 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 14 Feb 2003 09:10:41 -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 JAA10021 for ; Fri, 14 Feb 2003 09:10:31 -0600 (CST) Original-Received: (qmail 39021 invoked by alias); 14 Feb 2003 15:09:29 -0000 Original-Received: (qmail 39015 invoked from network); 14 Feb 2003 15:09:29 -0000 Original-Received: from krynn.axis.se (193.13.178.10) by 66.230.238.6 with SMTP; 14 Feb 2003 15:09:29 -0000 Original-Received: from PCNIKLAS2 (dh10-13-8-244.axis.se [10.13.8.244]) by krynn.axis.se (8.12.3/8.12.3/Debian -4) with ESMTP id h1EF8x32014575 for ; Fri, 14 Feb 2003 16:08:59 +0100 Original-To: ding@gnus.org In-Reply-To: <4nvfzmdigq.fsf@lockgroove.bwh.harvard.edu> (Ted Zlatanov's message of "Fri, 14 Feb 2003 09:50:45 -0500") Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50116 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50116 Ted Zlatanov writes: > I have the following in spam.el: > > (let ((articles gnus-newsgroup-articles) > article tomove) > (dolist (article articles) > (gnus-summary-remove-process-mark article) > (when (eq (gnus-summary-article-mark article) gnus-spam-mark) > (gnus-summary-mark-article article gnus-expirable-mark) > (push article tomove)))) > > but it produces errors "Can't find article %d" for every article that > is in the newsgroup, but is not visible when > gnus-summary-remove-process-mark runs (at least, I think that's the > problem). Is there a better way of doing the removal of the process > mark from all articles? I don't know this at all, but greping for g-s-r-p-m seems to indicate that you don't populate articles in the same way as most other implementations in gnus. The common case seems to be: (let ((articles (gnus-summary-work-articles n)) Could that be it? Niklas