Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Inactive groups got unshown by `l'
Date: Thu, 09 Sep 2010 15:10:22 +0900	[thread overview]
Message-ID: <b4maanr78hd.fsf@jpl.org> (raw)
In-Reply-To: <b4md3sp1794.fsf@jpl.org>

Katsumi Yamaoka wrote:
> Lars Magne Ingebrigtsen wrote:
>> Yeah, try installing that patch and we'll see what happens.  :-)

> Thanks.  I'm going to try it, or similar but better one if any,
> later (now I'm not in a usual place).

I found out the cause of `l' not listing inactive groups at last.
This was made in `gnus-get-unread-articles' by the changes:

       via  7cce28b2d41e11d65102b8910ee9efc361b720ca (commit)
       via  bae6dd8488ad8f6e7edacba9cce916ab73f8abf9 (commit)
       via  cbb6b60d34cf32d84fc608cb96c22f6334ae6515 (commit)
      from  b40f6569ce2ef62e8a5716cb9ec56cf8de25f195 (commit)

Cf. http://article.gmane.org/gmane.emacs.gnus.cvs/9936

The old version of `gnus-get-unread-articles' set the number of
unread articles of inactive groups to t as follows:

-	;; The group couldn't be reached, so we nix out the number of
-	;; unread articles and stuff.
-	(gnus-set-active group nil)
-	(let ((tmp (gnus-group-entry group)))
-	  (when tmp
-	    (setcar tmp t))))))

So, previously when I started Gnus with the argument 2, it marked
the level 3~5 groups with t, and `gnus-group-prepare-flat' didn't
ignore those inactive groups when the `l' command was invoked.
However, the present code doesn't do it, therefore the form
`(gnus-group-unread "method+inactive_server:a_group")', that
`gnus-group-prepare-flat' runs, always returns nil.  I've added
a similar code to `gnus-get-unread-articles'.



  reply	other threads:[~2010-09-09  6:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-06  7:55 Katsumi Yamaoka
2010-09-06 20:26 ` Lars Magne Ingebrigtsen
2010-09-07  4:25   ` Katsumi Yamaoka
2010-09-07  5:07     ` Katsumi Yamaoka
2010-09-07 16:25       ` Lars Magne Ingebrigtsen
2010-09-07  5:48     ` Katsumi Yamaoka
2010-09-07  6:39       ` Katsumi Yamaoka
2010-09-07  7:09         ` Katsumi Yamaoka
2010-09-07  8:48           ` Lawrence Mitchell
2010-09-07 23:18             ` Katsumi Yamaoka
2010-09-07 16:26           ` Lars Magne Ingebrigtsen
2010-09-07 23:08             ` Katsumi Yamaoka
2010-09-09  6:10               ` Katsumi Yamaoka [this message]
2010-09-09 13:06                 ` Lars Magne Ingebrigtsen
2010-09-07 23:31         ` Katsumi Yamaoka
2010-09-07 16:24     ` 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=b4maanr78hd.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /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).