From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7052 Path: news.gmane.org!not-for-mail From: "Robert D. Crawford" Newsgroups: gmane.emacs.gnus.user Subject: scoring help Date: Wed, 12 Apr 2006 10:16:15 -0500 Message-ID: <87odz6bz9c.fsf@laptop.rdc1.home> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144856484 19759 80.91.229.2 (12 Apr 2006 15:41:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2006 15:41:24 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Apr 12 17:41:21 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FThSd-0007Kc-TG for gegu-info-gnus-english@m.gmane.org; Wed, 12 Apr 2006 17:40:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FThSd-0000gE-D3 for gegu-info-gnus-english@m.gmane.org; Wed, 12 Apr 2006 11:40:51 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 12 Apr 2006 10:16:17 -0500 Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:3545vhxEIevldQ/wGmABOMAJk1I= Original-Lines: 105 Original-NNTP-Posting-Host: 68.52.232.141 Original-X-Trace: sv3-KXkYsI5dRm7NYrLs5/MfzJTB2Jj5iwp2G9CNj4fOyJidkp0kUX2inOEuO5xFzU+B276i0eA/MieWD36!Tp2IBxOogZ/90nxTvBy5LMkfElYqKkpq8LZocrrNWQsArywTmRnY5NuyHise2X8fs6hd Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.gnus:77234 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:7052 Archived-At: I am probably making this a lot harder than it need be, but I would like for somebody to tell me that I have my head wrapped around this the right way. I would like to use adaptive scoring in nntp groups only. I really only want to set things up so that if I kill a message, I do not see the followups. There are a few more things that I have set, but you will see those below. First, I need to set this in my .gnus.el file (setq gnus-default-adaptive-score-alist '((gnus-unread-mark) (gnus-ticked-mark (followup 5)) (gnus-dormant-mark (followup 5)) (gnus-del-mark (followup -5) (gnus-read-mark followup 5)) (gnus-expirable-mark (followup -5)) (gnus-killed-mark (followup -5)) (gnus-kill-file-mark) (gnus-ancient-mark) (gnus-low-score-mark) (gnus-catchup-mark))) So, any articles that I kill will get their score reduced by 5, and anything I read, mark as dormant or tick will be increased by 5. (setq gnus-score-exact-adapt-limit nil) This means that only exact matching is done on the subject. (setq gnus-summary-mark-below -5) This will mark as read any articles where the score drops below 5. True? This means I will not see them? (setq gnus-save-score t) Necessary if I ever manually (in|de)crease scores. (setq gnus-score-thread-simplify t) this means that subject matching is done the same way as it is done for threading. (add-hook 'message-sent-hook 'gnus-score-followup-thread) (add-hook 'message-sent-hook 'gnus-score-followup-article) (add-hook 'gnus-summary-mode-hook (function (lambda () (gnus-summary-expunge-below -1000)))) this will expunge all messages from the summary that fall below -1000 in score. I am still not sure if this is useful in nntp groups. in the score file (mark -5) wouldn't this mean that I will not see the articles? Normally, when I exit a group and go back to it, I do not see the articles that have been read. Does this change if using adaptive scoring? (expunge -1000) In this case, does expunge mean the same thing as what happens when you delete an article? It is gone, never to return, it is an ex-article. I assume that this does not mark the article as read, considering the mark-and-expunge variable below. What is the difference and when should it be used? Also, is this not superfluous with the gnus-summary-expunge-below variable? (mark-and-expunge -10) See above. (read-only nil) (orphan -10) So, if we expunge an article, and another article shows up in the thread, the new article is an orphan, right? This brings up another question. If we are talking about a newsgroup, is there any need to expunge? I was under the impression that setting things like expiry in a nntp group was not necessary, since expiry was handled on the server. Am I correct? (adapt t) This is pretty obvious. I do have one question, though. The variable gnus-use-adaptive-scoring can be set to line or word, in addition to t and nil. If set globally to nil, and set to t in this group, does it do scoring on line or word? Since I have gnus-score-exact-adapt-limit set to nil it really shouldn't matter, right? I know this is long. If you read this far, thanks. Any help will be appreciated. rdc -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Robert D. Crawford rdc1x@comcast.net Be security conscious -- National defense is at stake. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~