Re: Should nnatom default to offline when unplugged?

James Thomas <[email protected]> Tue, 16 Jul 2024 02:49:57 +0530
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
Daniel Semyonov wrote:

>>>>>> James Thomas writes:
>
>     > Hi all,
>     > Right now I use something like this for 'nnatom-read-feed-function':
>
>     > (defun my/nnatom-read-feed-function (url &rest args)
>     >   (if gnus-plugged (nnatom--read-feed url nil)
>     >       '(title nil nil subtitle nil nil)))
>
>     > ...for when I start with 'gnus-unplugged' for offline reading. I was
>     > wondering if something like this could/should be made the default -
>     > anyone wanting the existing behavior (why?) could let-bind gnus-plugged
>     > in a similar function. But it could have interactions if agentization is
>     > ever needed...
>
> I honestly never use Gnus unplugged so I may be misunderstanding
> something, but AFAICT only agentized servers are supposed to
> be affected by it (according to my brief usage and the manual).

Well, one other place I know where the plugged status is used is in
queueing sent messages for later mass dispatch.

> I think I'd find this behavior surprising (and difficult to change) if I
> encountered it as a new user, while the inconvenience of marking every
> nnatom server as agentized seems pretty minor.

Yes, but IIUC that would make the agent store a twin copy of the
headers, and every article; the latter unless maybe one fiddles with
gnus-agent-eagerly-store-articles - but right now I can't set that per
server.

Anyway it was just a thought. I'm perfectly fine with my current setup.

Regards,
James