all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `url-insert-file-contents' not reliably connecting.
@ 2020-08-20  2:04 Brett Gilio
  2020-08-20  3:49 ` Brett Gilio
  0 siblings, 1 reply; 3+ messages in thread
From: Brett Gilio @ 2020-08-20  2:04 UTC (permalink / raw)
  To: help-gnu-emacs

Hey all,

I am writing an elisp library for generating an RSS blog webring
integrated with org-mode. In order to fetch the RSS XML files we are
using `url-insert-file-contents' to connect to a list of URLs that
eventually get parsed out. There is a bizarre behavior with this
function, however, as it does not /always/ reliably connect to all of
the URLs in a given list. For example:

--8<---------------cut here---------------start------------->8---
(setq org-webring-urls 
      '("https://brettgilio.ml/rss.xml"
	"https://drewdevault.com/feed.xml" 
	"https://sourcehut.org/blog/index.xml"
	"https://kowainik.github.io/rss.xml"
	"http://www.weaselhat.com/feed"
	"https://sachachua.com/blog/feed/"))
--8<---------------cut here---------------end--------------->8---

When given this variable set, with 6 entries. There are times where it
will connect to 5, 6, 4, 2, 3... and terminate successfully without
producing any error message. There is not any suspected connectivity
issue, as when that occurs an error message DOES get raised. It just
seems to terminate whenever it thinks it is done, but never
consistently, and never in the same order.

Here is the complete file containing all of the current source code for
this library:
https://git.sr.ht/~brettgilio/org-webring/tree/master/org-webring.el

I hope somebody can help me figure out this mystery.

Brett Gilio



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

* Re: `url-insert-file-contents' not reliably connecting.
  2020-08-20  2:04 `url-insert-file-contents' not reliably connecting Brett Gilio
@ 2020-08-20  3:49 ` Brett Gilio
  2020-08-20  6:14   ` Brett Gilio
  0 siblings, 1 reply; 3+ messages in thread
From: Brett Gilio @ 2020-08-20  3:49 UTC (permalink / raw)
  To: help-gnu-emacs

Brett Gilio <brettg@gnu.org> writes:

> When given this variable set, with 6 entries. There are times where it
> will connect to 5, 6, 4, 2, 3... and terminate successfully without
> producing any error message. There is not any suspected connectivity
> issue, as when that occurs an error message DOES get raised. It just
> seems to terminate whenever it thinks it is done, but never
> consistently, and never in the same order.

Update, This behavior is consistent across both 26.3 and 27.1.

Brett Gilio



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

* Re: `url-insert-file-contents' not reliably connecting.
  2020-08-20  3:49 ` Brett Gilio
@ 2020-08-20  6:14   ` Brett Gilio
  0 siblings, 0 replies; 3+ messages in thread
From: Brett Gilio @ 2020-08-20  6:14 UTC (permalink / raw)
  To: help-gnu-emacs

Brett Gilio <brettg@gnu.org> writes:

> Brett Gilio <brettg@gnu.org> writes:
>
>> When given this variable set, with 6 entries. There are times where it
>> will connect to 5, 6, 4, 2, 3... and terminate successfully without
>> producing any error message. There is not any suspected connectivity
>> issue, as when that occurs an error message DOES get raised. It just
>> seems to terminate whenever it thinks it is done, but never
>> consistently, and never in the same order.
>
> Update, This behavior is consistent across both 26.3 and 27.1.
>
> Brett Gilio

Ignore this issue. It seems it is a false problem, the behavior is
actually fine and the bug was in my own code.



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

end of thread, other threads:[~2020-08-20  6:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-20  2:04 `url-insert-file-contents' not reliably connecting Brett Gilio
2020-08-20  3:49 ` Brett Gilio
2020-08-20  6:14   ` Brett Gilio

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.