From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74198: 29.4; Newsticker reloads old items as new Date: Mon, 04 Nov 2024 14:38:36 +0200 Message-ID: <86y11zuqb7.fsf@gnu.org> References: <87zfmg56di.fsf@riseup.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33742"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74198@debbugs.gnu.org To: BP25 , Ulf Jasper Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 04 13:40:48 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 1t7wO0-0008bQ-Mv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Nov 2024 13:40:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7wNH-000669-Pr; Mon, 04 Nov 2024 07:40:03 -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 1t7wNG-00065H-Bd for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 07:40:02 -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 1t7wNG-0001xa-2A for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 07:40:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=JqF2QxI91rjAOhqJ4BnBn23qk+Zs3k+OqcGe+snWKo0=; b=S2zEnY+CrZBk2U0+6mzjnJpp+Wz4b0gie+3dTcl3WOsjzKbC1gBY0/OVJawbwPgMo8lVL5NsnkkLf1UJACNy+lbRQVOvy61sdZee4NlIr1ETU8RerZ3G3wSCfwcux9DcRyGLmS//yYfZyz9QnnD5yOM7hsCeYN2jPjLtvi/h+CxhDdQDEbZ9Zbm9FdkZm6wL3tQ1d67JUU1Ng0qa9OyrVCLZ0gE+3pujdtegYIOb0y9vPDxpqMGHLW1lnaUZhfDwcFsZN9NWp0aSijzkzFdOlXUqhkuxQAoNH6XMK6rTzwJf4jh4QZQANVEOexsjnnkJavpKUXEVTBniUFhWMkz7UA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t7wNF-0001Cj-Ss for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 07:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2024 12:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74198 X-GNU-PR-Package: emacs Original-Received: via spool by 74198-submit@debbugs.gnu.org id=B74198.17307239484588 (code B ref 74198); Mon, 04 Nov 2024 12:40:01 +0000 Original-Received: (at 74198) by debbugs.gnu.org; 4 Nov 2024 12:39:08 +0000 Original-Received: from localhost ([127.0.0.1]:39604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7wMN-0001Bw-G2 for submit@debbugs.gnu.org; Mon, 04 Nov 2024 07:39:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7wMK-0001BT-2L for 74198@debbugs.gnu.org; Mon, 04 Nov 2024 07:39:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7wME-0001qF-EH; Mon, 04 Nov 2024 07:38:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=JqF2QxI91rjAOhqJ4BnBn23qk+Zs3k+OqcGe+snWKo0=; b=YKfk802nJ8Mt Lp7FfjgPyx6j0MsjrqcRddcmGnYmWX+IFN26+Qft83380fBLyXWHiyonpRb83qiWkQ1cuUjX2kHmR UJpLZGP5Ee9kxG3bMwnUrvPcus4xQSHfleeY9nSeoPyvz7DvvDxDew7kuowSdukEb3VVUh8kPWrRD mhxNBbOiYVR3QM+FSKa2oYxFNXJCW18geDG7Lztpa3Rz2RgkT4h4oR64rB5mlxYf5S/JKeHJCMtEH hIpn/GDsNeHvxdyE+UXQOT1uwn3yZRROQ3zK90e5JyCDRWlXM5WeZpKEGk6fIiQHgg0NCh+wg/bIx uFx0SvtaHQoUO07+AD3VKA==; In-Reply-To: <87zfmg56di.fsf@riseup.net> (message from BP25 on Sun, 03 Nov 2024 21:56:09 +0000) 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:294846 Archived-At: > From: BP25 > Date: Sun, 03 Nov 2024 21:56:09 +0000 > > In GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, > cairo version 1.18.0) > System Description: Fedora Linux 39 (Workstation Edition) > > PART A: > > delete your newsticker folder > emacs -nw -Q --load .emacs > where .emacs contains: > --8<---------------cut here---------------start------------->8--- > (custom-set-variables > '(newsticker-frontend 'newsticker-plainview) > '(newsticker-url-list > '(("Weather London" "https://weather-broker-cdn.api.bbci.co.uk/en/forecast/rss/3day/2643743" nil nil nil))) > '(newsticker-url-list-defaults nil) > '(newsticker-retrieval-interval 0) > '(newsticker-automatically-mark-items-as-old nil) > ) > --8<---------------cut here---------------end--------------->8--- > M-x newsticker-show-news > M-x newsticker-get-all-news > M-x newsticker-show-news > Mark the items of the first (and only non-default) feed as old > M-x newsticker-show-news > > Expected result: the items previously visible as orange stay orange. > Obtained result: the items previously visible as orange are white. > > > PART B: > > Same as PART A except remove the line > '(newsticker-url-list-defaults nil) > from .emacs > > Expected result: the items previously visible as orange stay orange. > Obtained result: the items previously visible as orange stay orange. > > > PART C: > > Same as PART A except remove the line > '(newsticker-retrieval-interval 0) > from .emacs > > Expected result: the items previously visible as orange stay orange. > Obtained result: the items previously visible as orange stay orange. > > > ANALYSIS: There must be some conflict between > '(newsticker-url-list-defaults nil) and '(newsticker-retrieval-interval 0) The doc string of newsticker-retrieval-interval says If this value is not positive (i.e. less than or equal to 0) items are retrieved only once! Doesn't that explain what you see? (Disclaimer: I know nothing about newsticker.)