unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Semyonov <daniel@dsemy.com>
To: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Cc: emacs-devel@gnu.org
Subject: Re: Atom backend for Gnus (nnatom)
Date: Wed, 31 May 2023 19:51:10 +0300	[thread overview]
Message-ID: <87fs7cjvgh.fsf@dsemy.com> (raw)
In-Reply-To: <m3y1l43202.fsf@fitzsim.org> (Thomas Fitzsimmons's message of "Wed, 31 May 2023 12:21:49 -0400")

>>>>> Thomas Fitzsimmons writes:

    > I normally use gnus-group-make-rss-group, G R <full RSS URL> RET
    > to subscribe to RSS feeds in Gnus.  The minibuffer prompts for a
    > title, and then the group is immediately visible in the *Group*
    > buffer.  Can you do write gnus-group-make-atom-group for nnatom,
    > eliminating the server browsing step?  (I didn't notice the *Gnus
    > Browse Server* intermediate before -- i.e. that I wasn't already
    > subscribed and put back into the *Group* buffer.)

I could do it, but I want to finish fixing the major issues before I
start adding convenience features.

    >> I'd appreciate it if you could also test these latest changes
    >> (and with multiple feeds).

    > Hmm, now I can't just paste in the full URL without an error being
    > thrown; I think removing http:// or https:// (if required) should
    > be done by automatically nnatom.el, for useability.

This is done due to the way Gnus parses the group name.  Since nnatom
supports adding "servers" in the usual Gnus way, this can't really be
fixed by nnatom.  The only real "fix" would be to automatically trim the
prefix when adding a group using a command like
'gnus-group-make-rss-group'.

    > I tried the latest version against my blog's
    > https://www.fitzsim.org/blog/?feed=atom URL.  I can browse the
    > group fine, but after I subscribe to it, when I hit RET in the
    > *Group* buffer I get "Couldn't open server" in the minibuffer.
    > *Server* shows:

    > {nnatom:www.fitzsim.org/blog/?feed=atom} (opened)

    > This is still all only using one feed so far.  I will test
    > multiple after one feed works from *Group*.

I've tried your feed with the new version and it works.

Did you kill the group after updating? This might be an issue of Gnus
keeping some old data about the group.  Try searching your ".newsrc.eld"
file for your feed to make sure it's deleted.

Otherwise,
- How did you add the feed?
- What is shown in the buffer opened when you press 'M-e' with point on the
  group in the *Group* buffer?

    > Thanks, Thomas

Thanks for your continued testing.



  reply	other threads:[~2023-05-31 16:51 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-31  7:48 Atom backend for Gnus (nnatom) Daniel Semyonov
2023-05-31 14:08 ` Thomas Fitzsimmons
2023-05-31 15:45   ` Daniel Semyonov
2023-05-31 16:21     ` Thomas Fitzsimmons
2023-05-31 16:51       ` Daniel Semyonov [this message]
2023-05-31 18:33         ` Thomas Fitzsimmons
2023-05-31 18:50           ` Daniel Semyonov
2023-05-31 19:37             ` Thomas Fitzsimmons
2023-05-31 21:02               ` Daniel Semyonov
2023-05-31 21:11                 ` Thomas Fitzsimmons
2023-06-13  7:07 ` Daniel Semyonov
2023-06-13 11:22   ` Eli Zaretskii
2023-06-13 11:43     ` Arsen Arsenović
2023-06-13 13:34     ` Daniel Semyonov
2023-06-13 14:20   ` Thomas Fitzsimmons
2023-06-13 17:07     ` Eric Abrahamsen
2023-06-15  8:44       ` Eli Zaretskii
2023-06-18 15:53         ` Eric Abrahamsen
2023-06-19 11:11           ` Daniel Semyonov
2023-06-19 16:52             ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fs7cjvgh.fsf@dsemy.com \
    --to=daniel@dsemy.com \
    --cc=emacs-devel@gnu.org \
    --cc=fitzsim@fitzsim.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).