[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Update topic unread counts on group exit?
From: |
Eric Abrahamsen |
Subject: |
Re: Update topic unread counts on group exit? |
Date: |
Wed, 04 May 2022 10:58:37 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Adam Sjøgren <asjo@koldfront.dk> writes:
> Hi,
>
>
> When I exit a group, the unread count in the topic it is under doesn't
> update.
>
> If I collapse the topic, the count gets updated. That's cool.
>
> Is there a way to get Gnus to update the counts automatically on group
> exit as well?
It looks to me like you could add a function to
`gnus-summary-exit-hook', which calls
`gnus-topic-update-topics-containing-group' on the value of
`gnus-newsgroup-name'. At that stage in summary exit,
`gnus-newsgroup-name' won't have been cleared yet, so it should still
hold the name of the group you're coming out of.
- Update topic unread counts on group exit?, Adam Sjøgren, 2022/05/04
- Re: Update topic unread counts on group exit?,
Eric Abrahamsen <=
- Re: Update topic unread counts on group exit?, Adam Sjøgren, 2022/05/04
- Re: Update topic unread counts on group exit?, Adam Sjøgren, 2022/05/04
- Re: Update topic unread counts on group exit?, Eric Abrahamsen, 2022/05/04
- Re: Update topic unread counts on group exit?, Adam Sjøgren, 2022/05/04
- Re: Update topic unread counts on group exit?, Adam Sjøgren, 2022/05/04
- Re: Update topic unread counts on group exit?, Eric Abrahamsen, 2022/05/04
- Re: Update topic unread counts on group exit?, Adam Sjøgren, 2022/05/05
- Re: Update topic unread counts on group exit?, Eric Abrahamsen, 2022/05/04