Gnus development mailing list
 help / color / mirror / Atom feed
* dormants not hidden when selecting group?
@ 1999-10-15  0:08 Mike Fabian
  1999-11-06 22:00 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Fabian @ 1999-10-15  0:08 UTC (permalink / raw)



When I select a group either with `SPACE' or with `RET' I also get the
articles marked dormant (i.e. marked with `?') listed in the summary
buffer.

Shouldn't those be hidden unless I select a group with `M-SPACE' or
`M-C-RET'?

If I remember it right it used to work like that before but recently
I always get the articles marked dormant listed too.

Does this have anything to do with scoring (I recently started to use
adaptive scoring)?

Mike

-- 
Mike Fabian   <mike.fabian@gmx.de>   <mike@nozomi.rhein-neckar.de>
In der Neckarhelle 81, D-69118 Heidelberg-Ziegelhausen
Telephone: +49(0)6221/809222



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

* Re: dormants not hidden when selecting group?
  1999-10-15  0:08 dormants not hidden when selecting group? Mike Fabian
@ 1999-11-06 22:00 ` Lars Magne Ingebrigtsen
       [not found]   ` <m3eme04g83.fsf@nozomi.rhein-neckar.de>
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-11-06 22:00 UTC (permalink / raw)


Mike Fabian <mike.fabian@gmx.de> writes:

> When I select a group either with `SPACE' or with `RET' I also get the
> articles marked dormant (i.e. marked with `?') listed in the summary
> buffer.

You'll get the dormant articles if there is no other articles to
display, I think, but not otherwise.

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


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

* Re: dormants not hidden when selecting group?
       [not found]     ` <m3ogcz66qu.fsf@quimbies.gnus.org>
@ 1999-11-13 19:19       ` Mike Fabian
  1999-11-15 19:35         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Fabian @ 1999-11-13 19:19 UTC (permalink / raw)


bugs@gnus.org (Lars Magne Ingebrigtsen) writes:

> Mike Fabian <mike.fabian@gmx.de> writes:
> 
> > Dormants are NEVER hidden when entering the group. But when I change
> > (gnus-show-threads nil) into (gnus-show-threads t), the dormants are
> > correctly hidden.
> 
> Oh; yes -- when using un-threaded display, the dormant articles are
> never hidden.  The reason for this being that dormant articles are
> supposed be hidden if they have no followups, but since there is no
> such concept when not using threads, we always show them.

Wouldn't it be more logical to hide them also when threading is turned
off? If there are no threads, there is no concept of followups =>
followups don't exist at all => all dormants should be hidden.

Otherwise it is quite useless to mark articles dormant in
groups with the group parameter (gnus-show-threads nil),
as the behaviour of `dormant' is identical to `ticked'.

If the dormants were hidden even with (gnus-show-threads nil),
one gains the ability to prevent expiration of articles (using
total-expire) without having these articles fill up the *Summary*
buffer, i.e.

  dormants:  don't expire, but hide
               (no action necessary, thus I want them to disappear
                from the *Summary* buffer, but I want them archived
                for possible later reference).
  ticked:      don't expire and show
               (reminder that I still have to do something with
                these articles, e.g. reply)

I noticed that you added a comment in gnus-sum.el to document
the current behaviour more clearly:

(defun gnus-summary-read-group-1 (group show-all no-article
...
      ;; Find the initial limit.
      (if gnus-show-threads
	  (if show-all
	      (let ((gnus-newsgroup-dormant nil))
		(gnus-summary-initial-limit show-all))
	    (gnus-summary-initial-limit show-all))
	;; When untreaded, all articles are always shown.
	(setq gnus-newsgroup-limit
	      (mapcar
	       (lambda (header) (mail-header-number header))
	       gnus-newsgroup-headers)))

I tried to replace

        (if gnus-show-threads

by

        (if t

and it seems to me that it works better like this (dormants are
hidden even if threading is turned off), but I don't know
whether this has other dire consequences. 

Mike

-- 
Mike Fabian   <mike.fabian@gmx.de>   <mike@nozomi.rhein-neckar.de>
In der Neckarhelle 81, D-69118 Heidelberg-Ziegelhausen
Telephone: +49(0)6221/809222


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

* Re: dormants not hidden when selecting group?
  1999-11-13 19:19       ` Mike Fabian
@ 1999-11-15 19:35         ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-11-15 19:35 UTC (permalink / raw)


Mike Fabian <mike.fabian@gmx.de> writes:

> Wouldn't it be more logical to hide them also when threading is turned
> off? If there are no threads, there is no concept of followups =>
> followups don't exist at all => all dormants should be hidden.

Yes, but we have guaranteed that if there are followups, then the
dormants should be shown.  It's better to err on the side of showing
too much than too little.

> I tried to replace
> 
>         (if gnus-show-threads
> 
> by
> 
>         (if t
> 
> and it seems to me that it works better like this (dormants are
> hidden even if threading is turned off), but I don't know
> whether this has other dire consequences. 

I think this will do what you want.

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


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

end of thread, other threads:[~1999-11-15 19:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-15  0:08 dormants not hidden when selecting group? Mike Fabian
1999-11-06 22:00 ` Lars Magne Ingebrigtsen
     [not found]   ` <m3eme04g83.fsf@nozomi.rhein-neckar.de>
     [not found]     ` <m3ogcz66qu.fsf@quimbies.gnus.org>
1999-11-13 19:19       ` Mike Fabian
1999-11-15 19:35         ` 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).