unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ulf Jasper via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 74198@debbugs.gnu.org, BP25 <bp25@riseup.net>
Subject: bug#74198: 29.4; Newsticker reloads old items as new
Date: Mon, 04 Nov 2024 16:40:49 +0100	[thread overview]
Message-ID: <871pzrhuri.fsf@panama> (raw)
In-Reply-To: <86y11zuqb7.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 04 Nov 2024 14:38:36 +0200")

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.)





  reply	other threads:[~2024-11-04 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871pzrhuri.fsf@panama \
    --to=bug-gnu-emacs@gnu.org \
    --cc=74198@debbugs.gnu.org \
    --cc=bp25@riseup.net \
    --cc=eliz@gnu.org \
    --cc=ulf.jasper@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).