Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Rupert Swarbrick <rswarbrick@googlemail.com>
Cc: ding@gnus.org
Subject: Re: Score traces
Date: Tue, 01 Jul 2008 22:16:05 +0200	[thread overview]
Message-ID: <v9fxqtfji2.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87k5g6geka.fsf@gmail.com> (Rupert Swarbrick's message of "Tue, 01 Jul 2008 10:05:09 +0100")

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 <mario.donick@gmail.com>" 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/



      reply	other threads:[~2008-07-01 20:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01  9:05 Rupert Swarbrick
2008-07-01 20:16 ` Reiner Steib [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9fxqtfji2.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=rswarbrick@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).