unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 58218@debbugs.gnu.org
Subject: bug#58218: 29.0.50; url-retrieve-synchronously with timeout causes process-query-on-exit
Date: Sun, 02 Oct 2022 01:51:12 +1300	[thread overview]
Message-ID: <f7504b1e2256e465d73ab014f93a05a8@webmail.orcon.net.nz> (raw)
In-Reply-To: <83mtafbwes.fsf@gnu.org>

On 2022-10-02 00:44, Eli Zaretskii wrote:
> Maybe I'm missing something, but if url-retrieve-synchronously exits
> with a timeout, isn't it expected that the process be still alive, and
> therefore that Emacs will ask you about killing it?

Only (IMO) if you were to try to exit Emacs so quickly that the process
was still waiting for the URL response at that time.

I wasn't clear about that, but I was leaving ample time for the process
to receive a response before using C-x C-c (at least several seconds, 
for
a request which was taking less than 1 second when no shorter timeout 
was
set).


> Or are you saying that when url-retrieve-synchronously exits due to
> timeout, it should kill the process?

My bug report was only about the query-on-exit behaviour, but... killing
the process if it times out might a good idea -- or a good thing to be
able to specify optionally?







  reply	other threads:[~2022-10-01 12:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-01 10:55 bug#58218: 29.0.50; url-retrieve-synchronously with timeout causes process-query-on-exit Phil Sainty
2022-10-01 11:44 ` Eli Zaretskii
2022-10-01 12:51   ` Phil Sainty [this message]
2022-10-01 12:33 ` Lars Ingebrigtsen
2022-10-01 12:50   ` Lars Ingebrigtsen
2022-10-01 12:59     ` Phil Sainty

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=f7504b1e2256e465d73ab014f93a05a8@webmail.orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=58218@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).