From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67100 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Score traces Date: Tue, 01 Jul 2008 22:16:05 +0200 Message-ID: References: <87k5g6geka.fsf@gmail.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214943534 6667 80.91.229.12 (1 Jul 2008 20:18:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jul 2008 20:18:54 +0000 (UTC) Cc: ding@gnus.org To: Rupert Swarbrick Original-X-From: ding-owner+M15564@lists.math.uh.edu Tue Jul 01 22:19:40 2008 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 1KDmK5-0003C8-6a for ding-account@gmane.org; Tue, 01 Jul 2008 22:19:33 +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 1KDmIL-0006Ye-DN; Tue, 01 Jul 2008 15:17:45 -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 1KDmIK-0006YU-B6 for ding@lists.math.uh.edu; Tue, 01 Jul 2008 15:17:44 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KDmIG-00018x-8Q for ding@lists.math.uh.edu; Tue, 01 Jul 2008 15:17:44 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KDmIZ-0000CY-00 for ; Tue, 01 Jul 2008 22:17:59 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m61KHcnX011683; Tue, 1 Jul 2008 22:17:38 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 1629C1C711; Tue, 1 Jul 2008 22:17:38 +0200 (CEST) X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Followup-To: Rupert Swarbrick , ding@gnus.org In-Reply-To: <87k5g6geka.fsf@gmail.com> (Rupert Swarbrick's message of "Tue, 01 Jul 2008 10:05:09 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2.50 (gnu/linux) X-DCC-URT-Metrics: poseidon 1060; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67100 Archived-At: On Tue, Jul 01 2008, Rupert Swarbrick wrote: > I've been using gnus for a few months now and, though I really like > almost everything about it, I would really like it if the score trace > finished with a "total score" line. > > I did the changes below to gnus-score.el and the result looks like > > ### > ("Mario Donick " 5 733224 s) [rec.games.roguelike.misc.ADAPT] -> ~/News/rec.games.roguelike.misc.ADAPT > ("lambdarogue" -10 733224 w) [rec.games.roguelike.misc.ADAPT] -> ~/News/rec.games.roguelike.misc.ADAPT > Total score: -5 [...] > *** gnus-score.el 19 May 2008 09:47:42 +0100 7.39 > --- gnus-score.el 01 Jul 2008 09:40:11 +0100 > *************** > *** 2467,2472 **** > --- 2467,2475 ---- > ;; .ADAPT directly: > (file-name-nondirectory file) > (abbreviate-file-name file)))) > + (insert > + (format "Total score: %d" > + (apply '+ (mapcar 'caddr trace)))) > (insert > "\n\nQuick help: Looks useful to me, so I installed it. Thanks for your contribution. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/