From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.devel Subject: Re: Atom backend for Gnus (nnatom) Date: Wed, 31 May 2023 14:33:59 -0400 Message-ID: References: <871qix9c17.fsf@dsemy.com> <87ttvsmrmj.fsf@dsemy.com> <87fs7cjvgh.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="39818"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Daniel Semyonov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 31 20:35:05 2023 Return-path: Envelope-to: ged-emacs-devel@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 1q4Qf1-000A6x-Ox for ged-emacs-devel@m.gmane-mx.org; Wed, 31 May 2023 20:35:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4QeC-0006pc-QF; Wed, 31 May 2023 14:34:12 -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 1q4Qe4-0006ns-Vy for emacs-devel@gnu.org; Wed, 31 May 2023 14:34:06 -0400 Original-Received: from mail.fitzsim.org ([69.165.165.189]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4Qe2-0001gq-Ng for emacs-devel@gnu.org; Wed, 31 May 2023 14:34:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2RhtBs0UdpuXrh+/V9xZN5BxusH53DKt7AXYJPlCqyk=; b=S+MIy2DULv7niXpC7iMVIXhs6L ZpCGX4+nfxM4Npsc/OkqeTkFs9wtdU3BCgjyTg1bsm3wAIkvlzLUF7HfUp8T1syfWimYGBc0Zj9VP pwc0mgttscfnm41UVfAF5QUcYXcPrrDzACA8zcr4CwGyNazhvxbRhWT3HPUPjNidAFauFcFQzK8iy 6sTV2p2/ekOysUtFS4qby0X2g5fsNoeB30o9HbpCyLPdADGt0L8WmRCJb71ELK5/1uXIcnjzj6G1l uGQyS11wK2LH3rr1uZC5TSRwH0oJYfrKAgUrg5773WkcIx8Tzo96gbLCXcbnqJtnDTozY5WGuDvQZ cxTAlbPg==; Original-Received: from [192.168.1.1] (helo=localhost.localdomain) by mail.fitzsim.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q4Qe0-000Skk-0C; Wed, 31 May 2023 14:34:00 -0400 In-Reply-To: <87fs7cjvgh.fsf@dsemy.com> (Daniel Semyonov's message of "Wed, 31 May 2023 19:51:10 +0300") Received-SPF: pass client-ip=69.165.165.189; envelope-from=fitzsim@fitzsim.org; helo=mail.fitzsim.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306458 Archived-At: Daniel Semyonov writes: >>>>>> Thomas Fitzsimmons writes: > > > I normally use gnus-group-make-rss-group, G R 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'. OK, makes sense. > > 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. I'm starting from an empty home directory every test run. > 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? Here's a screencast of what I did: https://www.fitzsim.org/screenshots/nnatom-1.html (the web player requires Free JavaScript, or you can download the .cast file and play it using the command-line asciinema player.) Thomas