GNU bug report logs - #74857
30.0.92; Gnus nnatom: url protocol

Previous Next

Package: emacs;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Fri, 13 Dec 2024 19:14:02 UTC

Severity: minor

Found in version 30.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

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: Eli Zaretskii <eliz <at> gnu.org>
Cc: Christopher Howard <christopher <at> librehacker.com>, 74857 <at> debbugs.gnu.org
Subject: bug#74857: 30.0.92; Gnus nnatom: url protocol
Date: Sat, 21 Dec 2024 18:40:05 +0200
>>>>> Eli Zaretskii writes:

    >> From: Christopher Howard <christopher <at> librehacker.com>
    >> Date: Fri, 13 Dec 2024 10:13:02 -0900
    >> 
    >> 
    >> 
    >> Hi. When setting up a new feed group with nnatom in Gnus, there is a
    >> little oddity: If I pass in the URL to the feed without the protocol
    >> specifier, i.e., without the "https://" it works fine. But if I try
    >> to include the protocol specifier, then I get a message: "Couldn’t
    >> request list: nil", and the group is not added. It doesn't trigger
    >> the debugger, even though "debug-on-error" is set t.
    >> 
    >> So, I frequently have to delete the "https://" part when I am copying and pasting from some link for an atom feed. This is a bother.
    >> 
    >> I don't know if this can be reproduced without Gnus already being setup, but an example process is:
    >> 
    >> (1) bring up Gnus group buffer
    >> (2) run gnus-group-browse-foreign-server (B)
    >> (3) nnatom <RET>
    >> (4) https://sachachua.com/blog/category/emacs/feed/atom/ <RET>

    > Daniel, any comments or suggestions?

This is a known issue (also noted in the manual), though the message
returned should be more descriptive.

The returned message is emitted by Gnus when it fails to get info for
the server from the backend, and should use the value of
'backend-status-string' ('nnatom-status-string' in this case); this
works on a normal session on my end (returning a message set in
'nnatom--read-feed'), but fails with emacs -Q, also returning "Couldn't
request list: nil".
I half suspect this is a bug with Gnus trying to read the status string
of the wrong server (and not a bug in nnatom), but I'll look into it.

As for why it isn't allowed in the first place, Gnus unfortunately
breaks when ":" is used in server addresses due to regular expressions
used in various internal functions, though I don't remember the details.

Daniel




This bug report was last modified 23 days ago.

Previous Next


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