From: Andreas Politz <politza@fh-trier.de>
To: ding@gnus.org
Subject: Re: Listing inactive groups not working?
Date: Thu, 03 Sep 2009 02:12:26 +0200 [thread overview]
Message-ID: <87ab1cnsn1.fsf@fh-trier.de> (raw)
In-Reply-To: <x8tskfsrcbn.fsf@tool.montefiore.ulg.ac.be>
Justus-bulk@Piater.name writes:
> Hi -
>
> [Using Gnus v5.13 with Emacs 23.1.1 on Debian testing]
>
> I want to inactivate some groups by setting their level to 7, but I
> still want them to be listed in the *Group* buffer with 'L'. However,
> they do not appear, even though gnus-group-list-inactive-groups is t
> (the default).
>
[...]
> Otherwise I'll go on: In gnus-group-prepare-flat, I think the following
> code is broken:
>
[...]
> Perhaps the real problem is elsewhere: The original code appears to make
> perfect sense if gnus-group-unread returns t for inactive groups, but
> for me it does not - it returns nil.
>
,----[ (info "(gnus) Gnus Utility Functions") ]
| `gnus-group-unread'
| The number of unread articles in GROUP, or `t' if that is unknown.
`----
Either this macro is broken and should be like this...
(defmacro gnus-group-unread (group)
"Get the currently computed number of unread articles in GROUP."
`(or (car (gnus-gethash ,group gnus-newsrc-hashtb)) t))
, or it's the function/macro which fills the hash with the wrong value.
Either way this would also fix the disappearance of certain unsubscribed
groups.
-ap
prev parent reply other threads:[~2009-09-03 0:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-15 21:34 Justus-bulk
2009-08-15 21:53 ` Justus-bulk
2009-09-03 0:12 ` Andreas Politz [this message]
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=87ab1cnsn1.fsf@fh-trier.de \
--to=politza@fh-trier.de \
--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).