Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: nnvirtual counts messages but gives an error
Date: Thu, 05 May 2022 08:13:07 -0700	[thread overview]
Message-ID: <87r158nhbw.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87zgjwxptm.fsf@ecocode.net>

Erik Colson <eco@ecocode.net> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> The `gnus-cache-open' function is called at startup, so long as
>> `gnus-use-cache is non-nil.
>
> As I use a local dovecot server I've set gnus-use-cache to nil.  As
> everything is really already speedy, I would love not to have a cache of
> data I already have on my machine..
> Tell me if I should put it to 'passive.

Oh yuck, this lead me to the "FIX FIX FIX" code comment in nnvirtual:
nnvirtual-retrieve-headers forces gnus-use-cache to t when it calls back
to gnus-retrieve-headers. So it's insisting you use the cache, even if
you have that set to nil. This code is at least 25 years old, and I
would need to spend a bit of time with it to understand why it's doing
this. Probably I should open a bug report and see if Lars still
remembers what's going on there.

Another reason to use nnselect instead!



  reply	other threads:[~2022-05-05 15:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 12:51 Erik Colson
2022-05-04 17:10 ` Eric Abrahamsen
2022-05-04 21:53   ` Erik Colson
2022-05-05  1:53     ` Eric Abrahamsen
2022-05-05  9:59       ` Erik Colson
2022-05-05 15:13         ` Eric Abrahamsen [this message]
2022-05-05 18:42           ` Erik Colson

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=87r158nhbw.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.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).