Dan Christensen writes: > Eric Abrahamsen writes: > >> Eric Abrahamsen writes: >> >>> Andreas Schwab writes: >>> >>>> Dan Christensen writes: >>>> >>>>> In gnus.el, it doesn't list nnmairix at all, but somehow when using >>>>> nnmairix, an entry for nnmairix gets added to this list, without the >>>>> virtual keyword (see below). >>>> >>>> diff --git a/lisp/nnmairix.el b/lisp/nnmairix.el >>>> index 0cef699..b2f74e3 100644 >>>> --- a/lisp/nnmairix.el >>>> +++ b/lisp/nnmairix.el >>>> @@ -417,7 +417,7 @@ Other back ends might or might not work.") >>>> >>>> (nnoo-define-basics nnmairix) >>>> >>>> -(gnus-declare-backend "nnmairix" 'mail 'address) >>>> +(gnus-declare-backend "nnmairix" 'mail 'address 'virtual) >>>> >>>> (deffoo nnmairix-open-server (server &optional definitions) >>>> ;; just set server variables >>>> >>>> Andreas. >>> >>> After look at this for a while, I do think this is the right solution -- >>> what do you all think? Can someone apply this change? >> >> Oh never mind, I guess I didn't look long enough. For any backend >> declared as virtual, `gnus-cache-possibly-enter-article' will use >> `nnvirtual-find-group-art' to get the real group name. >> >> That means that if a backend is declared 'virtual but isn't actually >> nnvirtual, the caching mechanism will use the wrong lookup function. > > I don't follow you. Isn't the relevant function gnus-backlog-enter-article, > which skips the backlog for groups that are declared virtual? > > I haven't actually tested the patch and instead simply disabled the > backlog entirely, but I suspect the patch will work. Ha, yes! Between then and now I somehow started looking at the wrong mechanism altogether. Sorry about that. I've attached patches for both the backlog edit and the nnmairix edit. Eric