From: Bob Newell <bobnewell@bobnewell.net>
To: ding@gnus.org
Subject: Re: gnus-exit-group-hook
Date: Mon, 18 Dec 2017 13:41:12 -1000 [thread overview]
Message-ID: <CADoYgq8RJz4gKLYvzDxE3zZgZuD_wrGec86VY_1NdLhs6xeC1A@mail.gmail.com> (raw)
In-Reply-To: <86k1xjhl9p.fsf@zoho.com>
Aloha and thanks for the replies.
Eric: gnus-newsgroup-unread is indeed the variable I test, and it
doesn't seem to update as articles are read, only when exiting the
group summary buffer. This "sort of" makes sense, because if you exit
with 'Q' you don't want that or anything else updated, perhaps? So
updates only happen when you "commit" them with a form of exit that
supports it--- such as 'q'.
In any case, rather than modify Gnus code directly and creating a
maintenance issue for myself, I dropped my hook call and instead added
:after advice to gnus-summary-update-info, and now my code runs after
all variables are updated.
Emmanuel: I definitely will look at your gnus coding. There is always
more to learn, and in the case of Gnus, always more to unlearn as
well.
Bob Newell
Honolulu
next prev parent reply other threads:[~2017-12-18 23:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 3:29 gnus-exit-group-hook Bob Newell
2017-12-18 18:20 ` gnus-exit-group-hook Eric Abrahamsen
2017-12-18 19:46 ` gnus-exit-group-hook Emanuel Berg
2017-12-18 23:41 ` Bob Newell [this message]
2017-12-18 23:55 ` gnus-exit-group-hook Bob Newell
2017-12-19 1:40 ` gnus-exit-group-hook Eric Abrahamsen
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=CADoYgq8RJz4gKLYvzDxE3zZgZuD_wrGec86VY_1NdLhs6xeC1A@mail.gmail.com \
--to=bobnewell@bobnewell.net \
--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).