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 15:37:21 -0400 Message-ID: References: <871qix9c17.fsf@dsemy.com> <87ttvsmrmj.fsf@dsemy.com> <87fs7cjvgh.fsf@dsemy.com> <87y1l449oo.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="3496"; 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 21:38:24 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 1q4ReK-0000jE-6f for ged-emacs-devel@m.gmane-mx.org; Wed, 31 May 2023 21:38:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4RdT-00007y-Ed; Wed, 31 May 2023 15:37:31 -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 1q4RdR-00007a-V9 for emacs-devel@gnu.org; Wed, 31 May 2023 15:37:30 -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 1q4RdO-0008MK-LN for emacs-devel@gnu.org; Wed, 31 May 2023 15:37:29 -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=VaUmcLLPd8D8s5/rAMGKNN7mwfboIG/rBSlI86S/I7s=; b=ly3ra3xmXnGG+JEQ4/KM4DWQWx 8bb8363ldY+9S4yle4g6IxY+I03NzMXpsVNjjdvKY2DiRWYYutfJf4yis3Y/0qUz9bgonXNsVsDKc HpJuxfEZ9ORR4VezoELpRtWja51yq19NWSGzRgKSE92VDMC8loCerpqIM5ITkgyZOi+RvQOII/I5i aJSgLojGrKSWHVw1RnN3xqKuRj030UVoyndTGSawwLCRSqw5XTfWdYcFhcGLIC1YJ3zYlPTbj3Eui 3/e7Uhwi+F1tYFXG4OCreK1yW6acFmL8S6b1G3mvCdqbpGJTxKh1YD7CjySCYcsOFTjtn+zdUUp8F RsHSafLg==; 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 1q4RdK-000Sns-BI; Wed, 31 May 2023 15:37:23 -0400 In-Reply-To: <87y1l449oo.fsf@dsemy.com> (Daniel Semyonov's message of "Wed, 31 May 2023 21:50:31 +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:306461 Archived-At: Daniel Semyonov writes: >>>>>> Thomas Fitzsimmons writes: > > >> 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 > > Don't use 'gnus-group-subscribe', just press 'u'. It is bound to a > different command when browsing a server > ('gnus-browse-toggle-subscription-at-point'). OK, thanks. For comparison, the convenience function, gnus-group-make-rss-group, asks for the blog title, with a reasonable default suggestion, and the resulting line in *Group* for my blog is: nnrss:fitzsim's development log With the procedure you suggested, I end up with: nnatom+www.fitzsim.org/blog/?feed=atom:fitzsim's development log FWIW, I prefer the former. I think the +.. part is necessary for stuff like email where the field after the ":" is frequently the same (e.g., nnimap+mail.host1:INBOX, nnimap+mail.host2:INBOX) whereas blog titles are usually unique, so the host/url designator becomes redundant. Have you considered defining a `gnus-group-make-atom-group' convenience function in nnatom.el (even though that's sort of a namespace violation), and install a hook that binds that function to a key in the *Group* buffer ("G A" seems to be available). Anyway, thanks for this backend. Once it is published I will do a sweep of my xsltproc-using groups and reconfigure them for nnatom. Thomas