unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#74197: 29.4; Newsticker feed headline appears duplicated
@ 2024-11-02 17:03 BP25
  2024-11-04 12:33 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: BP25 @ 2024-11-02 17:03 UTC (permalink / raw)
  To: 74197

Delete the newsticker folder from your system

emacs -Q -nw --load .emacs
where .emacs is the following:
--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)))
   )
--8<---------------cut here---------------end--------------->8---

M-x newsticker-show-news

M-x newsticker-plainview

Result: the one and only non-default feed headline appears duplicated!

Wished-for result: the one and only non-default feed headline did not
appear duplicated.

System details: 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)





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

* bug#74197: 29.4; Newsticker feed headline appears duplicated
  2024-11-02 17:03 bug#74197: 29.4; Newsticker feed headline appears duplicated BP25
@ 2024-11-04 12:33 ` Eli Zaretskii
  2024-11-04 15:24   ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2024-11-04 12:33 UTC (permalink / raw)
  To: BP25, Ulf Jasper; +Cc: 74197

> From: BP25 <bp25@riseup.net>
> Date: Sat, 02 Nov 2024 17:03:28 +0000
> 
> Delete the newsticker folder from your system
> 
> emacs -Q -nw --load .emacs
> where .emacs is the following:
> --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)))
>    )
> --8<---------------cut here---------------end--------------->8---
> 
> M-x newsticker-show-news
> 
> M-x newsticker-plainview
> 
> Result: the one and only non-default feed headline appears duplicated!
> 
> Wished-for result: the one and only non-default feed headline did not
> appear duplicated.
> 
> System details: 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)

Thanks.

Ulf, any comments or suggestions?





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

* bug#74197: 29.4; Newsticker feed headline appears duplicated
  2024-11-04 12:33 ` Eli Zaretskii
@ 2024-11-04 15:24   ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-11-04 15:43     ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 8+ messages in thread
From: Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-04 15:24 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: BP25, 74197

It appears that I am not able to reproduce the problem.  But maybe I am
misunderstanding the problem.

Executing the given recipe using Emacs 29.4, newsticker shows three
different headlines: 

    BBC Weather - Forecast for  London, GB
    BBC Weather - Forecast for  London, GB (Montag, 16:16) [3 + 0 + 0 + 0 = 3]
    Today: Sunny Intervals, Minimum Temperature: 8°C (47°F) Maximum Temperature: 13°C (55°F) (Montag, 16:01)
    (Montag, 16:01) Maximum Temperature: 13°C (55°F), Minimum Temperature: 8°C (47°F), Wind Direction: Easterly, Wind Speed: 6mph, Visibility: Good,
    Pressure: 1024mb, Humidity: 80%, UV Risk: 1, Pollution: Low, Sunrise: 07:00 GMT, Sunset: 16:27 GMT
    Tuesday: Sunny Intervals, Minimum Temperature: 9°C (47°F) Maximum Temperature: 14°C (57°F) (Montag, 16:01)
    (Montag, 16:01) Maximum Temperature: 14°C (57°F), Minimum Temperature: 9°C (47°F), Wind Direction: North Easterly, Wind Speed: 3mph, Visibility:
    Moderate, Pressure: 1022mb, Humidity: 84%, UV Risk: 2, Pollution: Low, Sunrise: 07:02 GMT, Sunset: 16:25 GMT
    Wednesday: Sunny Intervals, Minimum Temperature: 9°C (49°F) Maximum Temperature: 15°C (59°F) (Montag, 16:01)
    (Montag, 16:01) Maximum Temperature: 15°C (59°F), Minimum Temperature: 9°C (49°F), Wind Direction: North Easterly, Wind Speed: 3mph, Visibility:
    Moderate, Pressure: 1028mb, Humidity: 89%, UV Risk: 2, Pollution: Low, Sunrise: 07:04 GMT, Sunset: 16:24 GMT


Am 04.11.2024 um 14:33 (+0200) schrieb Eli Zaretskii:
>> From: BP25 <bp25@riseup.net>
>> Date: Sat, 02 Nov 2024 17:03:28 +0000
>> 
>> Delete the newsticker folder from your system
>> 
>> emacs -Q -nw --load .emacs
>> where .emacs is the following:
>> --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)))
>>    )
>> --8<---------------cut here---------------end--------------->8---
>> 
>> M-x newsticker-show-news
>> 
>> M-x newsticker-plainview
>> 
>> Result: the one and only non-default feed headline appears duplicated!
>> 
>> Wished-for result: the one and only non-default feed headline did not
>> appear duplicated.
>> 
>> System details: 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)
>
> Thanks.
>
> Ulf, any comments or suggestions?





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

* bug#74197: 29.4; Newsticker feed headline appears duplicated
  2024-11-04 15:24   ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-11-04 15:43     ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-11-06 13:22       ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 8+ messages in thread
From: Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-04 15:43 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: BP25, 74197

Am 04.11.2024 um 16:24 (+0100) schrieb Ulf Jasper:
> It appears that I am not able to reproduce the problem.  But maybe I am
> misunderstanding the problem.

Yes, I misunderstood.  Sorry.  The *feed* headline appears twice.
Problem is reproducible.  Will look at it.

>
> Executing the given recipe using Emacs 29.4, newsticker shows three
> different headlines: 
>
>     BBC Weather - Forecast for  London, GB
>     BBC Weather - Forecast for  London, GB (Montag, 16:16) [3 + 0 + 0 + 0 = 3]
>     Today: Sunny Intervals, Minimum Temperature: 8°C (47°F) Maximum Temperature: 13°C (55°F) (Montag, 16:01)
>     (Montag, 16:01) Maximum Temperature: 13°C (55°F), Minimum Temperature: 8°C (47°F), Wind Direction: Easterly, Wind Speed: 6mph, Visibility: Good,
>     Pressure: 1024mb, Humidity: 80%, UV Risk: 1, Pollution: Low, Sunrise: 07:00 GMT, Sunset: 16:27 GMT
>     Tuesday: Sunny Intervals, Minimum Temperature: 9°C (47°F) Maximum Temperature: 14°C (57°F) (Montag, 16:01)
>     (Montag, 16:01) Maximum Temperature: 14°C (57°F), Minimum Temperature: 9°C (47°F), Wind Direction: North Easterly, Wind Speed: 3mph, Visibility:
>     Moderate, Pressure: 1022mb, Humidity: 84%, UV Risk: 2, Pollution: Low, Sunrise: 07:02 GMT, Sunset: 16:25 GMT
>     Wednesday: Sunny Intervals, Minimum Temperature: 9°C (49°F) Maximum Temperature: 15°C (59°F) (Montag, 16:01)
>     (Montag, 16:01) Maximum Temperature: 15°C (59°F), Minimum Temperature: 9°C (49°F), Wind Direction: North Easterly, Wind Speed: 3mph, Visibility:
>     Moderate, Pressure: 1028mb, Humidity: 89%, UV Risk: 2, Pollution: Low, Sunrise: 07:04 GMT, Sunset: 16:24 GMT
>
>
> Am 04.11.2024 um 14:33 (+0200) schrieb Eli Zaretskii:
>>> From: BP25 <bp25@riseup.net>
>>> Date: Sat, 02 Nov 2024 17:03:28 +0000
>>> 
>>> Delete the newsticker folder from your system
>>> 
>>> emacs -Q -nw --load .emacs
>>> where .emacs is the following:
>>> --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)))
>>>    )
>>> --8<---------------cut here---------------end--------------->8---
>>> 
>>> M-x newsticker-show-news
>>> 
>>> M-x newsticker-plainview
>>> 
>>> Result: the one and only non-default feed headline appears duplicated!
>>> 
>>> Wished-for result: the one and only non-default feed headline did not
>>> appear duplicated.
>>> 
>>> System details: 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)
>>
>> Thanks.
>>
>> Ulf, any comments or suggestions?





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

* bug#74197: 29.4; Newsticker feed headline appears duplicated
  2024-11-04 15:43     ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-11-06 13:22       ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-11-08  7:53         ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-06 13:22 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: BP25, 74197

The observed behaviour occurs, when

- newsticker is told to display the feed logo
  (i.e. 'newsticker-heading-format' contains '%l' (or '%L')), and

- newsticker is not able to display the feed logo (e.g. Emacs is running
  in a terminal due to arg '-nw')

In that case, instead of the feed logo, the feed name appears in the
newsticker buffer.

Newsticker will now insert "[logo: <feed name>]" instead of the bare
feed name in order to mark it as a replacement for the actual logo
image, like this:

    [logo: BBC Weather - Forecast for  London, GB]
    BBC Weather - Forecast for  London, GB (Mittwoch, 13:31) [3 + 0 + 0 + 0 = 3]
    Today: Light Cloud, Minimum Temperature: 10°C (51°F) Maximum Temperature: 13°C (55°F) (Mittwoch, 12:00)
    (Mittwoch, 12:00) Maximum Temperature: 13°C (55°F), Minimum Temperature: 10°C (51°F), Wind Direction: North Easterly, Wind Speed: 3mph, Visibility: Moderate, Pressure: 1031mb, Humidity: 89%, UV Risk: 1, Pollution: Low, Sunrise: 07:04 GMT, Sunset: 16:24 GMT
    





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

* bug#74197: 29.4; Newsticker feed headline appears duplicated
  2024-11-06 13:22       ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-11-08  7:53         ` Eli Zaretskii
  2024-11-08 10:14           ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2024-11-08  7:53 UTC (permalink / raw)
  To: Ulf Jasper; +Cc: bp25, 74197

> From: Ulf Jasper <ulf.jasper@web.de>
> Cc: BP25 <bp25@riseup.net>,  74197@debbugs.gnu.org
> Date: Wed, 06 Nov 2024 14:22:47 +0100
> 
> The observed behaviour occurs, when
> 
> - newsticker is told to display the feed logo
>   (i.e. 'newsticker-heading-format' contains '%l' (or '%L')), and
> 
> - newsticker is not able to display the feed logo (e.g. Emacs is running
>   in a terminal due to arg '-nw')
> 
> In that case, instead of the feed logo, the feed name appears in the
> newsticker buffer.
> 
> Newsticker will now insert "[logo: <feed name>]" instead of the bare
> feed name in order to mark it as a replacement for the actual logo
> image, like this:
> 
>     [logo: BBC Weather - Forecast for  London, GB]
>     BBC Weather - Forecast for  London, GB (Mittwoch, 13:31) [3 + 0 + 0 + 0 = 3]
>     Today: Light Cloud, Minimum Temperature: 10°C (51°F) Maximum Temperature: 13°C (55°F) (Mittwoch, 12:00)
>     (Mittwoch, 12:00) Maximum Temperature: 13°C (55°F), Minimum Temperature: 10°C (51°F), Wind Direction: North Easterly, Wind Speed: 3mph, Visibility: Moderate, Pressure: 1031mb, Humidity: 89%, UV Risk: 1, Pollution: Low, Sunrise: 07:04 GMT, Sunset: 16:24 GMT

Thanks, does this mean the bug is fixed, and we can close this?





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

* bug#74197: 29.4; Newsticker feed headline appears duplicated
  2024-11-08  7:53         ` Eli Zaretskii
@ 2024-11-08 10:14           ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-11-08 11:43             ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-08 10:14 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: bp25, 74197

Am 08.11.2024 um 09:53 (+0200) schrieb Eli Zaretskii:
> Thanks, does this mean the bug is fixed, and we can close this?

Yes, I consider the bug as fixed.  Sorry for not making that clear.
Please close this bug.






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

* bug#74197: 29.4; Newsticker feed headline appears duplicated
  2024-11-08 10:14           ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-11-08 11:43             ` Eli Zaretskii
  0 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2024-11-08 11:43 UTC (permalink / raw)
  To: Ulf Jasper; +Cc: bp25, 74197-done

> From: Ulf Jasper <ulf.jasper@web.de>
> Cc: bp25@riseup.net,  74197@debbugs.gnu.org
> Date: Fri, 08 Nov 2024 11:14:49 +0100
> 
> Am 08.11.2024 um 09:53 (+0200) schrieb Eli Zaretskii:
> > Thanks, does this mean the bug is fixed, and we can close this?
> 
> Yes, I consider the bug as fixed.  Sorry for not making that clear.
> Please close this bug.

Thanks, done.





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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-02 17:03 bug#74197: 29.4; Newsticker feed headline appears duplicated BP25
2024-11-04 12:33 ` Eli Zaretskii
2024-11-04 15:24   ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-04 15:43     ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-06 13:22       ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-08  7:53         ` Eli Zaretskii
2024-11-08 10:14           ` Ulf Jasper via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-08 11:43             ` Eli Zaretskii

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