From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Semyonov via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64202: bug#66188: 29.1; Include Atom feed reader Date: Thu, 22 Feb 2024 19:10:57 +0200 Message-ID: <87ttm0mnku.fsf@dsemy.com> References: <87v8fhmgvw.fsf@dsemy.com> <8734wcfynr.fsf@dsemy.com> <87wmtnbptm.fsf@dsemy.com> <87zfyj8ojz.fsf@dsemy.com> <87ttohxc56.fsf@dsemy.com> <87le83hcm8.fsf@outlook.com> <87h6io5rr5.fsf@dsemy.com> <87r0hof9ll.fsf_-_@dsemy.com> <87jznfpom1.fsf@gmx.net> <874jejb2sg.fsf@dsemy.com> <87fry2pa1n.fsf@gmx.net> <87ttmhwxby.fsf@dsemy.com> <87wmrd9zcy.fsf@outlook.com> <875xyx5ksi.fsf@dsemy.com> <87sf219ntf.fsf@gmx.net> <87msrtkztg.fsf@outlook.com> Reply-To: Daniel Semyonov Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5350"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 64202@debbugs.gnu.org To: James Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 22 18:26:00 2024 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 1rdCpb-00016H-Cy for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Feb 2024 18:25:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdCpO-0002de-9C; Thu, 22 Feb 2024 12:25:47 -0500 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 1rdCpM-0002dJ-PZ for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 12:25:45 -0500 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 1rdCpI-0002iU-Jo for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 12:25:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdCpf-0001Rn-9y; Thu, 22 Feb 2024 12:26:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Semyonov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 22 Feb 2024 17:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64202 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch Original-Received: via spool by 64202-submit@debbugs.gnu.org id=B64202.17086227145362 (code B ref 64202); Thu, 22 Feb 2024 17:26:03 +0000 Original-Received: (at 64202) by debbugs.gnu.org; 22 Feb 2024 17:25:14 +0000 Original-Received: from localhost ([127.0.0.1]:43460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdCoq-0001OK-Pk for submit@debbugs.gnu.org; Thu, 22 Feb 2024 12:25:14 -0500 Original-Received: from dsemy.com ([46.23.89.208]:6314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdCiJ-00011I-Je for 64202@debbugs.gnu.org; Thu, 22 Feb 2024 12:18:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=dkim; bh=2Zd4IAZ7wX1+a W4Ef3lFtCG21bYfodqWR1BJAxwGF/0=; h=date:references:in-reply-to: subject:cc:to:from; d=dsemy.com; b=SmBHw6XkBECjffAtJ+08g6VcMbOz19GEhA1 WME6JtGt8uosNPtFmOX+pUuC5/Q5QOFWFoW3jkns82s5qNU1lK3SQLXxmKR2Eirus/pkjo ynPJG+9OyXCfO0GC1iSflAfhWfNBNy3hXrFKcfotSfgF/gmcsoUWbSpm55bG03bEfGBJwH 45242JH/F47vFTE5p/lCgaYffctcohSzOsF29zXe6qKnAq9TKCiIXbZ7UAVnLu9ePPM+vh BALVZF4QWkrDtd75cNQiaIEwwAu3AWAIbI3IMfzet7COF16Ndf0jn23MEsqtGuXH66d7zY JRJx0SH/arRykPI5+5SDa1AV43g== Original-Received: from coldharbour.local ( [147.235.213.103]) by dsemy.com (OpenSMTPD) with ESMTPSA id 82936819 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 22 Feb 2024 18:17:57 +0100 (CET) Original-Received: from localhost (coldharbour.local [local]) by coldharbour.local (OpenSMTPD) with ESMTPA id 8f95c0e0; Thu, 22 Feb 2024 17:10:57 +0000 (UTC) In-Reply-To: <87msrtkztg.fsf@outlook.com> (James Thomas's message of "Thu, 22 Feb 2024 07:47:15 +0530") 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:280460 Archived-At: >>>>> James Thomas writes: > This doesn't seem to work for some feeds such as: > en.wikipedia.org/w/index.php?title=Special:RecentChanges&feed=atom > thehackernews.com/feeds/posts/default > In the first one above, is the colon character to blame? Yes. I'm planning to fix this (this is a Gnus limitation), but I have a a few too many work in progress projects at the moment. The second feed is an RSS feed. > Another thing: I've been using your branch also with my addition below > for assuming reverse-chronological as a default (Sorry! But it was > really bugging me! :-)). > > My case for such a change: > - Reverse-chronological makes sense as a default because a feed link > only guarantees to provide the latest updates, not an unbroken chain > of all events since the beginning. > - nnrss.el does it that way: see the 'nreverse' in line #643. > - Performance impact should be minimal because nreverse is O(n) and > perhaps having to sort by date afterward (rather than simply use the > existing number) would more than compensate for that. > - Running -catchup-to-here (on a datetime-sorted Summary buffer) will > only have to record a single article number range in the newsrc. > (My code is probably not as beautiful as many would like it to be) Honestly, your code is much more beautiful than the code it replaces. > Would like to know your thoughts. I think your arguments make sense, and you solved the issue in a way I didn't consider (and is much simpler than what I had in mind). I'll install this change (probably add a comment explaining the rationale too, since I was hard to convince) when I get home. Thanks, Daniel