Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* hide thread containing no ticked articles
@ 2003-08-20 15:54 Niels L. Ellegaard
  2003-10-16 18:05 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Niels L. Ellegaard @ 2003-08-20 15:54 UTC (permalink / raw)



When I enter a group I would like most threads to be hidden. However
if a thread contains a ticked article, then I would like the entire
thread to be shown.

Is there a guru in this group who could help me code this?

Reasoning:
I am using adaptive scoring, and my gnus-default-adaptive-score-alist
contains the following element

(gnus-catchup-mark (followup -1000))

Tuus I can lower all threads in a group by pressing "c" for
catchup. However I sometimes I fail to discover an interesting reply,
that is hiding behind a ticked article. When I press "c" I end up
killing the wrong thread.

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hide thread containing no ticked articles
  2003-08-20 15:54 hide thread containing no ticked articles Niels L. Ellegaard
@ 2003-10-16 18:05 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-10-16 18:05 UTC (permalink / raw)


gnalle@ruc.dk (Niels L. Ellegaard) writes:

> When I enter a group I would like most threads to be hidden. However
> if a thread contains a ticked article, then I would like the entire
> thread to be shown.

This shouldn't be too difficult to implement.

`gnus-thread-hide-subtree' can be a predicate function.  It's called
with the thread as its parameter, so you just have to do some
recursive descent to see whether the thread contains any ticket
messages... 

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-16 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-20 15:54 hide thread containing no ticked articles Niels L. Ellegaard
2003-10-16 18:05 ` Lars Magne Ingebrigtsen

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).