>>>>> In <87ir921r5w.fsf@escher.local.home> Stephen Berman wrote: > On Mon, 02 Jul 2007 21:15:35 +0900 Katsumi Yamaoka wrote: >> gnus-agent-synchronize-flags >> >> The default value is nil. See (info "(gnus)Agent and flags"). > I am using Gnus 5.11 as included in the Emacs CVS trunk (currently GNU > Emacs 22.1.50.6 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-06-30 > on escher). Here gnus-agent-synchronize-flags has the default value > t[1] (and the Gnus info lacks a node "Agents and flags"). Sorry, I overlooked it, since I usually use No Gnus and see the No Gnus sources. I wonder why the default value differs between Gnus v5.11 and No Gnus. If anything, I think it should always be t, or be hard coded. There's a comment in gnus-agent.el: > Footnotes: > [1] But the code has this rather puzzling comment [sic]: > ;; If the default switches to something else than nil, then the function > ;; should be fixed not be exceedingly slow. See 2005-09-20 ChangeLog entry. However, so far I don't see Gnus to be exceedingly slow. Apart from this, I found an obvious bug that concerns the Agent, though it might be different from Stephen Berman's problem. cf. http://news.gmane.org/group/gmane.emacs.bugs/thread=16061 The prerequisites to cause this bug are: 1. You have persistent (i.e., cached, marked with `*') articles that you have read (or marked as ticked) in a group. 2. Some or all of those articles have been expired in the server. 3. You have ever performed `gnus-agent-expire' or `gnus-agent-regenerate', or have ever simply deleted the ~/News/agent/ directory. (In the last case, the directory and files are regenerated automatically.) In that case, some or all of persistent articles that have been expired in the server are recognized as unfetched articles, because the Agent cannot fetch those headers from the server. And then, they are all marked as unread when you run the `c' command (`gnus-summary-catchup-and-exit'), that recognizes unfetched articles as unread articles. I've fixed the `gnus-summary-catchup' function so that it might not recognize cached articles as unfetched articles, in both the v5-10 branch and the trunk. The patch for Gnus v5.11 is here: