From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15743 Path: main.gmane.org!not-for-mail From: Nelson Jose dos Santos Ferreira Newsgroups: gmane.emacs.gnus.general Subject: Re: Article read not being marked as such Date: 26 Jul 1998 18:37:29 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <2xsojo8qee.fsf@ccae-sv.inesc.pt> References: <2xra05d4h2.fsf@ccae-sv.inesc.pt> <2xpveunhjl.fsf@ccae-sv.inesc.pt> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035154727 23773 80.91.224.250 (20 Oct 2002 22:58:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:58:47 +0000 (UTC) Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.9.1/8.9.1) with ESMTP id KAA10461 for ; Sun, 26 Jul 1998 10:43:33 -0700 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id NAA14436 for ; Sun, 26 Jul 1998 13:39:35 -0400 Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id MAS27784; Sun, 26 Jul 1998 12:10:25 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 26 Jul 1998 12:38:06 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id MAA20083 for ; Sun, 26 Jul 1998 12:37:55 -0500 (CDT) Original-Received: from inesc.inesc.pt (inesc.inesc.pt [146.193.0.1]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id NAA29440 for ; Sun, 26 Jul 1998 13:37:52 -0400 (EDT) Original-Received: from ccae-sv.inesc.pt by inesc.inesc.pt with SMTP; id AA29708 (/); Sun, 26 Jul 1998 18:37:33 +0100 Original-Received: by ccae-sv.inesc.pt (8.8.8/SMTP) id AA10888; Sun, 26 Jul 98 18:37:32 BST Original-To: ding@gnus.org X-Attribution: njsf X-Face: <15=A]w]g0mvFaG-vjRMUsG*$bO;6a2z2eUKU~+SN@oy//G<5JW~rdxEz!#R%[d{<}?EMS& ~PSXV,?H-Se'b}xP3F<^A!mZ%}Q37+9]YVSzd>2#.fn3?/S\&uX@A),24gkeE3[FYrfVJ2!PVtl(3_ l?/)o+vm7+T$~qn In-Reply-To: Lars Magne Ingebrigtsen's message of "26 Jul 1998 17:39:27 +0200" Original-Lines: 72 X-Mailer: Gnus v5.6.25/XEmacs 20.4 - "Emerald" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15743 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15743 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 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