From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2147 Path: news.gmane.org!not-for-mail From: "Torsten Bronger" Newsgroups: gmane.emacs.gnus.user Subject: Re: 'Touch' all groups? Date: Fri, 28 Feb 2003 09:01:57 +0100 Organization: T-Online Message-ID: References: <84of4x76cq.fsf@lucy.is.informatik.uni-duisburg.de> Reply-To: "Torsten Bronger" NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138668687 14109 80.91.229.2 (31 Jan 2006 00:51:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:51:27 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:15 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Sender: "Torsten Bronger" Original-X-Trace: news.t-online.com 1046420335 06 11647 iSdPEWNTS1Yflb 030228 08:18:55 Original-X-Complaints-To: abuse@t-online.com X-Sender: 520092361044-0001@t-dialin.net Organisation: RWTH Aachen X-Accept-Language: en, de, it, fr User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 Cancel-Lock: sha1:njK2+f0bMzTXsJgZFvue4Vps2bg= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2287 Original-Lines: 52 X-Gnus-Article-Number: 2287 Tue Jan 17 17:30:15 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2147 Archived-At: Halloechen! Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes: > On Thu, Feb 27 2003, Kai Großjohann wrote: > >> "Torsten Bronger" writes: >> >>> Is there a way to apply all score rules to all groups automatically? >> >> No, you'd have to write the Lisp to do that. > > Or find a person who already did that. ;-) > > See the articles of Jesper Harder > and Ami Fischman > . [1] > > I think this code already has more functionality than Torsten asked > for. :-) Thank you very much. I added to my .gnus (defun innout () "Enter and exit every group, so that any articles that have been adaptive-scored low enough to have a 'Y' mark won't be there when I enter manually, plus the article count will reflect the # of articles I actually might want to read." (interactive) (dolist (group gnus-newsrc-alist) ; loop over all groups (when (and ;; Only apply to NNTP groups (only ones which do scoring) (not (string-match "nnfolder\\|nndraft\\|dummy\\.group" (gnus-info-group group))) ;; Is this group really subscribed? (< (gnus-group-level (gnus-info-group group)) 5) ;; Are there any unread messages? (> (gnus-group-unread (gnus-info-group group)) 0) ) ;; Enter the group (must create the summary buffer or else ;; on exit the counts aren't updated (gnus-summary-read-group (gnus-info-group group) nil t nil nil) ;; and exit (gnus-summary-exit) ))) Then I call innout from the *Group* buffer. But the processing stops at the first group that becomes completely empty with the error message "Wrong type argument: stringp, nil". What's going wrong? Tschoe, Torsten.