GNU bug report logs -
#74198
29.4; Newsticker reloads old items as new
Previous Next
Reported by: BP25 <bp25 <at> riseup.net>
Date: Mon, 4 Nov 2024 01:15:03 UTC
Severity: normal
Found in version 29.4
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Reproducible. Will look at this problem.
Am 04.11.2024 um 14:38 (+0200) schrieb Eli Zaretskii:
>> From: BP25 <bp25 <at> riseup.net>
>> 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.)
This bug report was last modified 196 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.