GNU bug report logs - #64202
[PATCH] Gnus: Add back end for Atom feeds (nnatom)

Previous Next

Packages: gnus, emacs;

Reported by: Daniel Semyonov <daniel <at> dsemy.com>

Date: Wed, 21 Jun 2023 07:12:02 UTC

Severity: wishlist

Tags: patch

Merged with 66188

Found in version 29.1

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daniel Semyonov <daniel <at> dsemy.com>
To: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
Cc: eric <at> ericabrahamsen.net, husain <at> alshehhi.io, 64202 <at> debbugs.gnu.org
Subject: bug#64202: [PATCH] Gnus: Add back end for Atom feeds (nnatom)
Date: Sun, 17 Dec 2023 02:13:25 +0200
>>>>> Thomas Fitzsimmons writes:

    > Hi Daniel, Daniel Semyonov via <bug-gnu-emacs <at> gnu.org> writes:

    >>>>>>> Daniel Semyonov writes:
    >> 
    >> > I think this can be merged now.  Updated patch attached.
    >> 
    >> Here's another version which fixes a bunch of small mistakes and
    >> clarifies some information in the manual, docstrings and
    >> comments.

    > I am trying this, but am having no luck.

    > I applied the patch to Emacs master tip
    > (2a591b228aaa8c66c27cc5b7cb3033aa6625bc0b) and rebuilt.

    > I am starting from an empty home directory.  I customize
    > gnus-select-method to:

    >     (nnatom "www.fitzsim.org/blog/?feed=atom")

    > Then M-x gnus RET produces:

    >     nnatom (www.fitzsim.org/blog/?feed=atom) open error: ‘Server
    > file www.fitzsim.org/blog/?feed=atom not readable or writable’.
    > Continue? (y or n)

    > I instead configure gnus-select-method to (nnnil "") and restart
    > Gnus.  Then in the *Group* buffer, I press 'B', then select
    > nnatom, then paste in:

    >     www.fitzsim.org/blog/?feed=atom

    > and I see in the minibuffer:

    >     Unable to contact server www.fitzsim.org/blog/?feed=atom:
    > Server file www.fitzsim.org/blog/?feed=atom not readable or
    > writable

    > EWW loads both of the following without issue:

    >     https://www.fitzsim.org/blog/?feed=atom
    > www.fitzsim.org/blog/?feed=atom

Huh, I could've sworn I fixed this already.

This happens because you don't have an "atom" subdirectory in your
'gnus-directory'.  The backend *should* create it automatically, but
looking at the code it seems I forgot to implement this.  If you create
the directory manually it should work.  I'll send a patch with a fix as
soon as I can.

Thanks a lot for testing, I really appreciate it.

Daniel




This bug report was last modified 1 year and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.