Gnus development mailing list
 help / color / mirror / Atom feed
From: David C Worenklein <dcw@gcm.com>
Cc: ding@ifi.uio.no
Subject: Re: Lots of Topics
Date: Tue, 19 Mar 96 11:47:29 -0500	[thread overview]
Message-ID: <9603191647.AA26670@mis_bo9.it.gcm.com> (raw)
In-Reply-To: John Griffith's message of Tue, 19 Mar 1996 14:46:19 +0100

In article <199603191346.OAA18250@filippo.sfs.nphil.uni-tuebingen.de> John Griffith <griffith@sfs.nphil.uni-tuebingen.de> writes:

> From: John Griffith <griffith@sfs.nphil.uni-tuebingen.de>
> Cc: griffith@sfs.nphil.uni-tuebingen.de
> Date: Tue, 19 Mar 1996 14:46:19 +0100
> X-From-Line: ding-request@ifi.uio.no  Tue Mar 19 10:42:29 1996
> 
> I have a couple requests related to topic hierarchies.
> 
> 1) I would like an option to only show topics if there is something
>    unread-ish in it.
> 
>    Ie. 
> 
>    Topic0
>      Topic1
>        group1
>      Topic2
>      Topic3
>        group2
> 
>    Do not show Topic2 here since there is nothing in it.  This could
>    really cut out uninteresting screen clutter.  Of course this also
>    requires a way to show all topics even if there isn't anything in
>    them.

Here's a crude patch (to 0.54)

*** gnus-topic.el       Mon Mar 18 09:05:55 1996
--- gnus-topic.new      Tue Mar 19 11:45:45 1996
***************
*** 185,195 ****
                              gnus-topic-tallied-groups)))
        (push (gnus-info-group info) gnus-topic-tallied-groups)
        (incf unread (car entry))))
      (goto-char beg)
      ;; Insert the topic line.
!     (unless silent
        (gnus-extent-start-open (point))
        (gnus-topic-insert-topic-line 
         (car type) visiblep
         (not (eq (nth 2 type) 'hidden))
         level all-entries unread))
--- 185,196 ----
                              gnus-topic-tallied-groups)))
        (push (gnus-info-group info) gnus-topic-tallied-groups)
        (incf unread (car entry))))
      (goto-char beg)
      ;; Insert the topic line.
!     (unless (or silent
!                 (= (point) (point-max)))
        (gnus-extent-start-open (point))
        (gnus-topic-insert-topic-line 
         (car type) visiblep
         (not (eq (nth 2 type) 'hidden))
         level all-entries unread))


  reply	other threads:[~1996-03-19 16:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-19 13:46 John Griffith
1996-03-19 16:47 ` David C Worenklein [this message]
1996-03-19 19:38   ` David C Worenklein
1996-03-19 20:55 ` Lars Magne Ingebrigtsen

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=9603191647.AA26670@mis_bo9.it.gcm.com \
    --to=dcw@gcm.com \
    --cc=ding@ifi.uio.no \
    /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).