From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83083 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Expiring old low-score threads Date: Thu, 18 Apr 2013 15:08:40 +0800 Message-ID: <87a9owmi2v.fsf@ericabrahamsen.net> References: <87r4i9iez8.fsf@thinkpad.tsdh.de> <87sj2pw8ap.fsf@ericabrahamsen.net> <87bo9di5zc.fsf@thinkpad.tsdh.de> <87k3o0wvey.fsf@ericabrahamsen.net> <87li8gmivf.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1366268581 22978 80.91.229.3 (18 Apr 2013 07:03:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2013 07:03:01 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31349@lists.math.uh.edu Thu Apr 18 09:03:03 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 1USis2-0008Aw-Mk for ding-account@gmane.org; Thu, 18 Apr 2013 09:03:03 +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 1USirr-00061s-Rc; Thu, 18 Apr 2013 02:02:51 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1USirq-00061a-BF for ding@lists.math.uh.edu; Thu, 18 Apr 2013 02:02:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1USirf-000684-CH for ding@lists.math.uh.edu; Thu, 18 Apr 2013 02:02:49 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1USird-00017M-9y for ding@gnus.org; Thu, 18 Apr 2013 09:02:37 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1USirb-0007gC-UF for ding@gnus.org; Thu, 18 Apr 2013 09:02:35 +0200 Original-Received: from 114.250.109.158 ([114.250.109.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Apr 2013 09:02:35 +0200 Original-Received: from eric by 114.250.109.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Apr 2013 09:02:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.109.158 User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:+Tb2FMwcCoblBjWqmoymgst/U08= X-Spam-Score: -1.4 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83083 Archived-At: Tassilo Horn writes: > 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, >> >> No, I didn't really think it would :) > > It's nice to have a conversation anyway. :-) > >>> 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... >> >> Some sort of a "hacking gnus" page on the emacs wiki sometimes seems >> like a good idea. > > Yes, or even better, (info "(gnus)Gnus Reference Guide") could be > extended. Oh man, I wish I'd found that section of the manual earlier! That could have saved me quite a bit of time. What I'd really like to be able to do is edit a message's headers and resave it from a lisp program... E