wgreenho...@riseup.net (W. Greenhouse) writes:
> (gnus-number-of-unseen-articles-in-group "mail.misc")
Yes, works!
> As for the idle timer part of your scheme, consider
> using (info "(gnus) Daemons"), which is Gnus's
> built-in interface to the Emacs timer facility.
> Conveniently, this will le
Emanuel Berg writes:
[...]
> So you see, putting that information in the mode line
> shouldn't be that difficult.
>
> But what I don't know is: how do I access the "state"
> of Gnus? I.e., how do I get that number "5"? And, how
> do I feed command to Gnus, in the background, without
> switching
In Gnus, I have a group like this:
mail.misc (5)
to collect incomings mails.
I'm thinking, wouldn't it be cool if you never had to
check for mails, instead Emacs did that, and then told
you "you have 5 mails" in the mode line?
I guess I could schedule checking with
`run-with-idle-timer' - coinc