unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53792: add timeout option to url-retrieve
@ 2022-02-05  5:36 emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-02-05  6:43 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-02-05  5:36 UTC (permalink / raw)
  To: 53792

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

Async fecthes can get stuck too, so add a timeout option to url-retrieve too,
like the one for url-retrieve-synchronously.

[-- Attachment #2: Type: text/html, Size: 400 bytes --]

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

* bug#53792: add timeout option to url-retrieve
  2022-02-05  5:36 bug#53792: add timeout option to url-retrieve emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-02-05  6:43 ` Lars Ingebrigtsen
  2022-02-05  7:02   ` emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-02-05  6:43 UTC (permalink / raw)
  To: emacsq; +Cc: 53792

emacsq <laszlomail@protonmail.com> writes:

> Async fecthes can get stuck too, so add a timeout option to  url-retrieve too, 
> like the one for  url-retrieve-synchronously.

See url-queue-retrieve and url-queue-timeout.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#53792: add timeout option to url-retrieve
  2022-02-05  6:43 ` Lars Ingebrigtsen
@ 2022-02-05  7:02   ` emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 3+ messages in thread
From: emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-02-05  7:02 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 53792


>
> See url-queue-retrieve and url-queue-timeout.
>

Thanks, I guess it solves the timeout issue, but
this is the first time I discovered that the url
package has its own manual.

Shouldn't the Elisp manual mention this library as
a high level networking library for fetching urls?

I checked the networking section and it starts with
TCP and UDP connections. It would be useful to have
some mention there of the existence of higher level
functions to fetch urls and a link to the URL
library.

I tried the index too with the word 'url' and there
is no match, so someone reading the manual has
no chance of discovering the url package
from the  elisp manual networking section.

I checked this on emacs 27.1





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

end of thread, other threads:[~2022-02-05  7:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-05  5:36 bug#53792: add timeout option to url-retrieve emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-05  6:43 ` Lars Ingebrigtsen
2022-02-05  7:02   ` emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors

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