From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Brett Gilio Newsgroups: gmane.emacs.help Subject: `url-insert-file-contents' not reliably connecting. Date: Wed, 19 Aug 2020 21:04:21 -0500 Message-ID: <87mu2qdqe2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18261"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 20 04:04:21 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8ZwB-0004YB-CF for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 04:04:19 +0200 Original-Received: from localhost ([::1]:51792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8ZwA-0005IT-Ds for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Aug 2020 22:04:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8Zvq-0005IK-Up for help-gnu-emacs@gnu.org; Wed, 19 Aug 2020 22:03:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33203) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8Zvq-00061T-Me for help-gnu-emacs@gnu.org; Wed, 19 Aug 2020 22:03:58 -0400 Original-Received: from [2605:6000:1a0d:48fb::fc2] (port=54590 helo=lenovo-t430) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k8Zvq-0008FO-5j for help-gnu-emacs@gnu.org; Wed, 19 Aug 2020 22:03:58 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123729 Archived-At: 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