Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: better gnus-thread-score-function
Date: Fri, 07 Feb 2003 12:59:54 +0100	[thread overview]
Message-ID: <m3wukce1xh.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <85adhdgwlc.fsf.Hubert.Canon@free.fr>

Hubert Canon <hcanon@free.fr> writes:

>> It sounds like a good idea, but do we really need the divisor?  Could
>> you get rid of that variable and submit a patch?
>
> I don't quite exactly understand what you propose : that I get rid of
> that variable and that I put it inside the function ?

You can compute the maximum number of articles in the threads and use
that, perhaps.  But if it doesn't make any difference what the number
is, just hard-code it in the function.

> As a matter of fact, I am not so easy with the internals of gnus yet ;
> I need time to look into before I change anything. In order to debug
> more efficiently, I would like to know what is exactly a "thread" for
> gnus-thread-total-score : I would like to display the total score of a
> (sub-)thread in the summary buffer.

It's basically a tree on the form

([header] subthread subtread ...)

where each subthread has the same structure.

This is somewhat complicated by the presence of gathered threads,
which look like

("subject" subthread subtread ...)

That should be it, unless I've forgotten some complexities of the
structure. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


      parent reply	other threads:[~2003-02-07 11:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-30 15:24 Hubert Canon
     [not found] ` <m3k7gkc7ln.fsf@quimbies.gnus.org>
     [not found]   ` <85adhdgwlc.fsf.Hubert.Canon@free.fr>
2003-02-07 11:59     ` Lars Magne Ingebrigtsen [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=m3wukce1xh.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    /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).