all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#74198: 29.4; Newsticker reloads old items as new
@ 2024-11-03 21:56 BP25
  2024-11-04 12:38 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: BP25 @ 2024-11-03 21:56 UTC (permalink / raw)
  To: 74198

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)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#74198: 29.4; Newsticker reloads old items as new
  2024-11-03 21:56 bug#74198: 29.4; Newsticker reloads old items as new BP25
@ 2024-11-04 12:38 ` Eli Zaretskii
  2024-11-04 15:40   ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2024-11-04 12:38 UTC (permalink / raw)
  To: BP25, Ulf Jasper; +Cc: 74198

> From: BP25 <bp25@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.)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#74198: 29.4; Newsticker reloads old items as new
  2024-11-04 12:38 ` Eli Zaretskii
@ 2024-11-04 15:40   ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-11-07 15:49     ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 5+ messages in thread
From: Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-04 15:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 74198, BP25

Reproducible.  Will look at this problem.

Am 04.11.2024 um 14:38 (+0200) schrieb Eli Zaretskii:
>> From: BP25 <bp25@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.)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#74198: 29.4; Newsticker reloads old items as new
  2024-11-04 15:40   ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-11-07 15:49     ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-11-08  7:52       ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-07 15:49 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 74198, BP25

Fixed.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#74198: 29.4; Newsticker reloads old items as new
  2024-11-07 15:49     ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-11-08  7:52       ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2024-11-08  7:52 UTC (permalink / raw)
  To: Ulf Jasper; +Cc: 74198-done, bp25

> From: Ulf Jasper <ulf.jasper@web.de>
> Cc: BP25 <bp25@riseup.net>,  74198@debbugs.gnu.org
> Date: Thu, 07 Nov 2024 16:49:03 +0100
> 
> Fixed.

Thanks, closing.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-08  7:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-03 21:56 bug#74198: 29.4; Newsticker reloads old items as new BP25
2024-11-04 12:38 ` Eli Zaretskii
2024-11-04 15:40   ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-07 15:49     ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-08  7:52       ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.