emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does Gnus article-moving act like a fetch of new news?


From: Eric Abrahamsen
Subject: Re: Why does Gnus article-moving act like a fetch of new news?
Date: Mon, 12 Apr 2021 10:05:53 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Karl Fogel <kfogel@red-bean.com> writes:
>
>> In lisp/gnus/gnus-sum.el, at the end of `gnus-summary-move-article',
>> there is this code:
>>
>>    ;; Re-activate all groups that have been moved to.
>>       (with-current-buffer gnus-group-buffer       (let
>>       ((gnus-group-marked to-groups))
>>       (gnus-group-get-new-news-this-group nil t))) I'm no expert in
>>       this area of the code, but the above seems to conflate two
>>      different things:
>>
>> a) It tells the destination group(s) that a new article has arrived,
>> and    I guess that in turn "activates" the group?  (My understanding
>> of activation in Gnus is somewhat fuzzy.)
>
> The code has been in there since the command was added (in 1997),
> apparently...  I think it's just supposed to update the number of
> articles in the group buffer?

So maybe `gnus-activate-group' would be sufficient? Though it looks like
the number-of-articles update is happening at line 10271, anyway.

Karl, would you be willing to patch the function to replace
`gnus-group-get-new-news-this-group' with `gnus-activate-group', and run
that for a while and see if anything terrible happens?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]