>>>>> Bartosz Kaczyński writes:

    > Daniel Semyonov <dan...@dsemy.com> writes:
    >>>>>>> Joshua Barrett writes:
    >> 
    >> > nnnrss is still synchronous like the rest of gnus, and does cause
    >> > emacs to freeze. I'd really like it and nnatom to be asynchronous,
    >> > but I think that would require appreciably more work. I've
    >> > enrolled all my feeds in the agent and configured the demon to
    >> > fetch only if emacs has been idle for some time. However, both
    >> > nnrss and nnnrss can be configured to use curl by setting
    >> > `mm-url-use-external` and `mm-url-program` accordingly, so that
    >> > works at least
    >> 
    >> I haven't had time to look at your code yet (so I don't know if you used
    >> a similar method), but at least with nnatom you can use a local file as
    >> the server address, which allows you to fetch a feed periodically
    >> independently of Emacs, with nnatom only in charge of parsing the local
    >> file.
    >> 
    >> Daniel

    > You mean similar like people use dovecot for local IMAP server that sync
    > with remote one? How to do that?

Similar, but much more simple really, since you just need to download a
single file to a pre-determined path (there are many ways to do this),
and use this path as the server address in Gnus.

It should be fairly simple to write a function which updates this file
asynchronously, and then triggers the synchronous parsing of it by Gnus
afterwards.

Daniel

Reply via email to