From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#64202: [PATCH] Gnus: Add back end for Atom feeds (nnatom) Date: Tue, 18 Jul 2023 10:32:40 -0700 Message-ID: <87h6q19lc7.fsf@ericabrahamsen.net> References: <87v8fhmgvw.fsf@dsemy.com> <87y1k76eip.fsf@dsemy.com> <87fs6epd6d.fsf@dsemy.com> <87bkh2p96o.fsf@dsemy.com> <83ilb4qb44.fsf@gnu.org> <87r0prkgsz.fsf@dsemy.com> <873525udhn.fsf@ericabrahamsen.net> <87pm59984x.fsf@dsemy.com> <87a5wdskw8.fsf@ericabrahamsen.net> <87edlm5yc9.fsf@dsemy.com> <874jmie0qj.fsf@ericabrahamsen.net> <87bkgq2nx3.fsf@dsemy.com> <87o7kqch2t.fsf@ericabrahamsen.net> <878rbikn0a.fsf@dsemy.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4841"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: daniel@dsemy.com To: 64202@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 18 19:33:29 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qLoZl-00010U-5F for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Jul 2023 19:33:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLoZN-0002r6-DI; Tue, 18 Jul 2023 13:33:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLoZL-0002qW-6u for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 13:33:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qLoZK-0000z3-4j for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 13:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLoZK-0005TZ-0o for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 13:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2023 17:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64202 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: Daniel Semyonov via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 64202@debbugs.gnu.org, Daniel Semyonov Original-Received: via spool by submit@debbugs.gnu.org id=B.168970158121046 (code B ref -1); Tue, 18 Jul 2023 17:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Jul 2023 17:33:01 +0000 Original-Received: from localhost ([127.0.0.1]:54181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLoZJ-0005TK-1j for submit@debbugs.gnu.org; Tue, 18 Jul 2023 13:33:01 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:56294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLoZF-0005Ss-JU for submit@debbugs.gnu.org; Tue, 18 Jul 2023 13:32:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLoZA-0002lX-98 for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 13:32:52 -0400 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLoZ8-0000tQ-Qd for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 13:32:51 -0400 Original-Received: from localhost (c-71-197-232-41.hsd1.wa.comcast.net [71.197.232.41]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id C5815FA002; Tue, 18 Jul 2023 17:32:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1689701562; bh=kjdI1ABqVWo3F3BqIGjdKJ9WsXGUdd9Y9meWLjBiDj8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=IArQRtTIvmDf9GKBJJnpAAe38PgvWIDJTG95A8KGvX6gpv3dLpK2oxxPsGc8xJB5l RpVj3H4DZB8Tm03wJydiutZP3TLY0j2X9t2nFZZtrZLx4cTye9m93Cavqa/yufacvq ScZ8MiCv1CAijZfsvUUe8GHO3l4uBJC+8fW8pUp8= In-Reply-To: <878rbikn0a.fsf@dsemy.com> (Daniel Semyonov via's message of "Sat, 15 Jul 2023 03:59:49 +0300") Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265485 Archived-At: Daniel Semyonov via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: >>>>>> Eric Abrahamsen writes: > > > Where do you see that Gnus knows which backends require an > > address? That would be very handy. > > Forgot to answer this -- 'gnus-valid-select-methods' holds this > information (and a bunch of other info too). Huh, I'd forgotten about that. This certainly looks like the right way to decide whether `gnus-group-make-group' should prompt for an address or not. > > But my reading of this function is that we don't even known that > > the backend is loaded until the end of the group creation > > process. You could probably mildly abuse the 'request-create-group > > server function to further prompt the user for the URL. > > > It is a bit annoying that the ADDRESS argument is in there, but > > not prompted for. It looks like that's been the case for at least > > two decades, though. > > I'll add this to the pile of stuff I wanna change in Gnus once I'm > satisfied with this backend (quite a large pile at this point :). Careful! Like me, you may end up a casualty of mission creep. > In any case, I still didn't have much time to work on the backend > unfortunately, but I attached a patch which incorporates the fixes from > my last message + changes based on comments from Stefan. > > Things left to do: > 1. Ensure support for none-libxml builds (I should probably figure out > how ERT works to make this a non-issue going forward). > 2. Factor out nnfeed.el and base nnatom on top of it (shouldn't be hard). > 3. Add support for RSS (and steal cool stuff from nnrss). > 4. Support Atom feeds linked in HTML documents. Is there a repository somewhere where you're working on this? Thanks, Eric