From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23566 Path: main.gmane.org!not-for-mail From: Matt Pharr Newsgroups: gmane.emacs.gnus.general Subject: Re: Being forced to deal with message numbers and frustrated Date: 25 Jun 1999 13:56:48 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: References: <4jywvwuyde2.fsf_-_@homeworld.Eng.Sun.Com> <4jy4sjy1s6k.fsf@homeworld.Eng.Sun.Com> <99Jun23.201735edt.13841-3@gateway.intersys.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161276 2720 80.91.224.250 (21 Oct 2002 00:47:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:47:56 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA27080 for ; Fri, 25 Jun 1999 16:58:00 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB09964; Fri, 25 Jun 1999 15:57:12 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 25 Jun 1999 15:58:00 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA08603 for ; Fri, 25 Jun 1999 15:57:50 -0500 (CDT) Original-Received: from lux.Stanford.EDU (lux.Stanford.EDU [171.64.77.150]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA26921 for ; Fri, 25 Jun 1999 16:56:49 -0400 (EDT) Original-Received: (from mmp@localhost) by lux.Stanford.EDU (8.9.0/8.9.0) id NAA09132; Fri, 25 Jun 1999 13:56:48 -0700 (PDT) Original-To: ding@gnus.org X-Face: C!.oGaE]n@p)VF9Ss3]f'|<)kRrtpG)^^b^X-3_zhUHp\jBj29jaoTItqWR>mHa+v-{/!jx7OA@!cV0>Fm-b:zEL<`oOXG[BFQ\ writes: > Norbert Koch writes: > > Well, after recognising this problem, you could mark all articles and > > respool them (B r). This should ease the trouble, shouldn't it? > > It's rather a large and slow job when you have 40 MB of saved mails in > some 70 different nnml groups. Here is some code that automatically goes through all nnml:mail.* groups and do this. (Based on code I use to move old mail from nnml to nnfolder groups. Bits of this could probably be written in a more properly gnus-y way, but it seems to work well as is. elisp coding style feedback happily received.) (defun mmp:crunch-nnml-article-ranges () (interactive) (let ((newsrc (cdr gnus-newsrc-alist)) group) (while newsrc (setq group (gnus-info-group (car newsrc))) (if (and (string-match "^nnml:mail.*" group) (gnus-group-read-group 9999999 t group)) (gnus-atomic-progn (gnus-uu-mark-buffer) (if (> (- (point-max) (point-min)) 0) (gnus-summary-move-article nil group)) (gnus-summary-exit))) (setq newsrc (cdr newsrc))))) -matt -- Matt Pharr mmp@graphics.stanford.edu