Gnus development mailing list
 help / color / mirror / Atom feed
From: Nelson Jose dos Santos Ferreira <Nelson.Ferreira@inesc.pt>
Subject: Re: Article read not being marked as such
Date: 26 Jul 1998 18:37:29 +0100	[thread overview]
Message-ID: <2xsojo8qee.fsf@ccae-sv.inesc.pt> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "26 Jul 1998 17:39:27 +0200"


On 26 Jul 1998 17:39:27 +0200, Lars Magne Ingebrigtsen (aka "Lars"),
regarding 'Re: Article read not being marked as such', said: 

    Lars> Nelson Jose dos Santos Ferreira <Nelson.Ferreira@inesc.pt> writes:

    Lars> Hm.  It sounds like the positions of the articles is messed
    Lars> up.  Does `(gnus-summary-goto-subject 674)' (or whatever the
    Lars> article number is) go to the right summary line?
    >> 
    >> [...]
    >> 
    >> Resuming this issue which is not solved in 5.6.25 ...
    >> 
    >> If I go one line up and then press 'n' all goes well, as does
    >> gnus-summary-goto-article and pressing 'p'.  Selecting with the
    >> mouse also exhibits the faulty behaviour.

    Lars> Yes, but does `(gnus-summary-goto-subject 674)' (or whatever
    Lars> the article number is) go to the right summary line?

Hmm... Last time I couldn't find that function... Weird...Sorry 'bout
that..

Ok, but now that I "found" it, the behaviour is exactly as I
described, it *goes* to the right summary line _if the thread is
already expanded_ but *does not* mark article as read when this
article is in a thread under a ticked one.

When I first enter the group not selecting any article, and give do
gnus-summary-goto-subject it goes to the line of the right *thread*
but does not expand it, contrary to gnus-summary-goto-article.

I remember I tested with gnus-summary-goto-article, because tracing
from group selection made me look at gnus-summary-best-unread-article
where gnus-summary-goto-article is used.


    >> Is there any way to have the following functionality:
    >> 
    >> 'best-thread - The first article in the thread with the better
    >> scoring (the sum of the scores of its' articles)
    >> 
    >> 'thread-of-best - The first article of thread where the best
    >> article is.

    Lars> You'll have to write hook functions that do the desired moving around
    Lars> in the buffer.

I'd have to grab gnus-summary-prepare-hook or gnus-summary-prepared-hook ?
Are there any examples out there on how I could do this ? Maybe on the 
Fine Manual ?

While tracing the previous problem I thought I would have to hack
gnus-summary-read-group-1 and make 
gnus-summary-best-thread-first-article and
gnus-summary-first-of-best-thread-article functions, based on
gnus-summary-best-unread-article... 
What defuns could I use to:

a) Find the first article of the thread of given article
b) Find the score of thread of article (this should be tied to first
   of thread, right?)

Best regards,

	Nelson
---
Nelson Jose dos Santos Ferreira |  .  .  .  | INESC/PT-Servicos 
Systems Integrator              | |. /  / . | Lisbon,PORTUGAL
mailto:Nelson.Ferreira@inesc.pt |.||\| | /  | Phone:+351 (1) 3100050
                                | .|<:/  \. | Fax  :+351 (1) 3100008


  reply	other threads:[~1998-07-26 17:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-01 14:35 Nelson Jose dos Santos Ferreira
1998-07-01 15:34 ` Lars Magne Ingebrigtsen
1998-07-25 14:15   ` Nelson Jose dos Santos Ferreira
1998-07-26 15:39     ` Lars Magne Ingebrigtsen
1998-07-26 17:37       ` Nelson Jose dos Santos Ferreira [this message]
1998-07-30 20:41         ` Lars Magne Ingebrigtsen
1998-07-31 17:21           ` Nelson Jose dos Santos Ferreira
1998-07-31 18:50             ` Harry Putnam
1998-08-01 14:26             ` Lars Magne Ingebrigtsen
1998-08-04 13:12               ` Nelson Jose dos Santos Ferreira

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=2xsojo8qee.fsf@ccae-sv.inesc.pt \
    --to=nelson.ferreira@inesc.pt \
    /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).