GNU bug report logs - #74198
29.4; Newsticker reloads old items as new

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74198 in the body.
You can then email your comments to 74198 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#74198; Package emacs. (Mon, 04 Nov 2024 01:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to BP25 <bp25 <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 04 Nov 2024 01:15:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: BP25 <bp25 <at> riseup.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.4; Newsticker reloads old items as new
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)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#74198; Package emacs. (Mon, 04 Nov 2024 12:40:01 GMT) Full text and rfc822 format available.

Message #8 received at 74198 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: BP25 <bp25 <at> riseup.net>, Ulf Jasper <ulf.jasper <at> web.de>
Cc: 74198 <at> debbugs.gnu.org
Subject: Re: bug#74198: 29.4; Newsticker reloads old items as new
Date: Mon, 04 Nov 2024 14:38:36 +0200
> 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.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#74198; Package emacs. (Mon, 04 Nov 2024 15:42:02 GMT) Full text and rfc822 format available.

Message #11 received at 74198 <at> debbugs.gnu.org (full text, mbox):

From: Ulf Jasper <ulf.jasper <at> web.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 74198 <at> debbugs.gnu.org, BP25 <bp25 <at> riseup.net>
Subject: Re: bug#74198: 29.4; Newsticker reloads old items as new
Date: Mon, 04 Nov 2024 16:40:49 +0100
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.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#74198; Package emacs. (Thu, 07 Nov 2024 15:50:02 GMT) Full text and rfc822 format available.

Message #14 received at 74198 <at> debbugs.gnu.org (full text, mbox):

From: Ulf Jasper <ulf.jasper <at> web.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 74198 <at> debbugs.gnu.org, BP25 <bp25 <at> riseup.net>
Subject: Re: bug#74198: 29.4; Newsticker reloads old items as new
Date: Thu, 07 Nov 2024 16:49:03 +0100
Fixed.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 08 Nov 2024 07:55:02 GMT) Full text and rfc822 format available.

Notification sent to BP25 <bp25 <at> riseup.net>:
bug acknowledged by developer. (Fri, 08 Nov 2024 07:55:03 GMT) Full text and rfc822 format available.

Message #19 received at 74198-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ulf Jasper <ulf.jasper <at> web.de>
Cc: 74198-done <at> debbugs.gnu.org, bp25 <at> riseup.net
Subject: Re: bug#74198: 29.4; Newsticker reloads old items as new
Date: Fri, 08 Nov 2024 09:52:12 +0200
> From: Ulf Jasper <ulf.jasper <at> web.de>
> Cc: BP25 <bp25 <at> riseup.net>,  74198 <at> debbugs.gnu.org
> Date: Thu, 07 Nov 2024 16:49:03 +0100
> 
> Fixed.

Thanks, closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 Dec 2024 12:24:10 GMT) Full text and rfc822 format available.

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.