From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69174 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: filtering nntp messages Date: Sat, 24 Oct 2009 17:07:53 -0500 Organization: Still searching... Message-ID: <87pr8c4f9i.fsf@newsguy.com> References: <87fx9ayr7z.fsf@newsguy.com> <874oppivvc.fsf@topper.koldfront.dk> <87skd9en56.fsf@lifelogs.com> <87bpjxpnim.fsf@newsguy.com> <873a58q14l.fsf@newsguy.com> <87hbto927t.fsf@topper.koldfront.dk> <874opo7eif.fsf@newsguy.com> <87d44cwnye.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1256422114 7486 80.91.229.12 (24 Oct 2009 22:08:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2009 22:08:34 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17587@lists.math.uh.edu Sun Oct 25 00:08:27 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1N1omg-0008To-TA for ding-account@gmane.org; Sun, 25 Oct 2009 00:08:27 +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 1N1omf-0007IW-N5; Sat, 24 Oct 2009 17:08:25 -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 1N1ome-0007IH-IC for ding@lists.math.uh.edu; Sat, 24 Oct 2009 17:08:24 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1N1omd-00040a-3O for ding@lists.math.uh.edu; Sat, 24 Oct 2009 17:08:24 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1N1omc-0000WL-00 for ; Sun, 25 Oct 2009 00:08:22 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1N1omZ-0008Pw-Oz for ding@gnus.org; Sun, 25 Oct 2009 00:08:19 +0200 Original-Received: from c-98-215-178-110.hsd1.in.comcast.net ([98.215.178.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Oct 2009 00:08:19 +0200 Original-Received: from reader by c-98-215-178-110.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Oct 2009 00:08:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-110.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:87V08vJRv6abMd8A0CVwKJzruF8= X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69174 Archived-At: asjo@koldfront.dk (Adam Sjøgren) writes: > On Sat, 24 Oct 2009 14:55:52 -0500, Harry wrote: > >> On re-enter I see my scoring has marked most of it read... but its >> still there. I still see it when opening the group. I have to do M-g >> (`gnus-summary-rescan-group') before they slither away in hiding. > > As far as I understand it "read" (in this context) means you see them in > the list, but they are marked read (and skipped if you use e.g. 'n' to > read the next article). If you don't want to see them in the summary at > all, you need "expunge", i.e. something like setting: > > ,----[ C-h v gnus-summary-expunge-below RET ] > | `gnus-summary-expunge-below' is a variable declared in Lisp. > | -- loaded from "gnus-sum" > | > | Value: -9999 > | > | Documentation: > | All articles that have a score less than this variable will be expunged. > | This variable is local to the summary buffers. > `---- Nice... I guess I'm happy enough just marking them read, since they disappear with rescan... and for now I may expunge some stuff I want so I think I'll wait till I'm a little more confident. Here is a good example of why I'm not so confident just yet. I've set a regex to match subjects that I thought would match: Any two or more tildes in a row OR any 4 Uppercase letters in a row. (("subject" ("~~\\|[A-Z]\\{4\\}" -101 nil r))) But apparently I'd miss-reading the regular expressions section in emacs manual or making some other blunder because the regex above matches every last message in comp.programming Then I tried `~~\\|\\[A-Z\\]\\{4\\}' And it worked as planned