unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 34607 <34607@debbugs.gnu.org>, Bad Blue Bull <ibmbull@yandex.ru>
Subject: bug#34607: (no subject)
Date: Sun, 19 Jul 2020 22:42:34 +0200	[thread overview]
Message-ID: <87tuy3jkxx.fsf@gnus.org> (raw)
In-Reply-To: <2d37de5a-5040-0ec5-b9c7-1fd11ad593a7@yandex.ru> (Dmitry Gutov's message of "Wed, 15 May 2019 16:27:55 +0300")

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 15.05.2019 7:08, Lars Ingebrigtsen wrote:
>> On timeouts, url-retrive-synchronously should abort the entire thing,
>> but url-retrieve (which is used in the background) doesn't really
>> support that...
>
> I think that's one of the reasons behind url-retrieve-synchronously's
> two delete-process calls. They don't exactly seem to work as intended, 
> though.

Yeah, they don't trigger on timeouts, apparently.

I've now added some more process deletions, which fixes this use case:

(with-current-buffer (url-retrieve-synchronously "http://gnu.org" nil t  0.1)
  (kill-buffer))

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





  reply	other threads:[~2020-07-19 20:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-21 16:58 bug#34607: url-retrieve-synchronously: TIMEOUT option value takes no effect Bad Blue Bull
2019-02-22  1:28 ` Bad Blue Bull
2019-02-22 12:59 ` bug#34607: (no subject) Bad Blue Bull
2019-05-15  4:08   ` Lars Ingebrigtsen
2019-05-15 13:27     ` Dmitry Gutov
2020-07-19 20:42       ` Lars Ingebrigtsen [this message]
2020-07-19 21:05         ` Dmitry Gutov
2020-07-19 21:26           ` Lars Ingebrigtsen

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=87tuy3jkxx.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=34607@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=ibmbull@yandex.ru \
    /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).