From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83080 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Expiring old low-score threads Date: Wed, 17 Apr 2013 16:31:19 +0200 Message-ID: <87bo9di5zc.fsf@thinkpad.tsdh.de> References: <87r4i9iez8.fsf@thinkpad.tsdh.de> <87sj2pw8ap.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1366209109 15074 80.91.229.3 (17 Apr 2013 14:31:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Apr 2013 14:31:49 +0000 (UTC) Cc: ding@gnus.org To: Eric Abrahamsen Original-X-From: ding-owner+M31346@lists.math.uh.edu Wed Apr 17 16:31:53 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1USTOr-00049m-1H for ding-account@gmane.org; Wed, 17 Apr 2013 16:31:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1USTOU-0001YE-4l; Wed, 17 Apr 2013 09:31:30 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1USTOS-0001Xv-AO for ding@lists.math.uh.edu; Wed, 17 Apr 2013 09:31:28 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1USTON-0001Qg-4a for ding@lists.math.uh.edu; Wed, 17 Apr 2013 09:31:28 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1USTOL-0003H4-Lm for ding@gnus.org; Wed, 17 Apr 2013 16:31:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 7A25B1A856D; Wed, 17 Apr 2013 16:31:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6v90GSQGpcBD; Wed, 17 Apr 2013 16:31:21 +0200 (CEST) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 06E791A856B; Wed, 17 Apr 2013 16:31:20 +0200 (CEST) Mail-Followup-To: Eric Abrahamsen , ding@gnus.org In-Reply-To: <87sj2pw8ap.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 17 Apr 2013 22:17:34 +0800") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83080 Archived-At: Eric Abrahamsen writes: >> How can I fix this? I mean, I obviously want to run my command in >> complete summary containing all articles I've ever received in that >> group. Of course, chances are high that the group contains >> incomplete threads with false roots where ^ >> (gnus-summary-refer-parent-article) won't cure the symptoms. > > It's highly unlikely that I'm actually going to be able to help you > with this, but in trying to write functions that run over *all* the > messages in a group I've usually had to start them like this: > > (defun th-gnus-summary-exprire-old-lowscore-articles (group) > (interactive (list (gnus-group-group-name))) > (let ((gnus-large-newsgroup nil)) > (gnus-summary-read-group group t t nil) > > That at least ensures that all the available messages are present in > the *Summary* buffer. I'm afraid, that doesn't help, because "all available messages" doesn't equal "there are no false roots in threads", and those seem to be the culprit for my code. :-( But still, I can use your code in order to run my command from *Group* instead of summary... Thanks, Tassilo