From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34763: 27.0.50; url-retrieve-synchronously misbehaves inside eldoc-documentation-function Date: Thu, 04 Apr 2019 17:36:30 +0300 Message-ID: <83lg0pdehd.fsf@gnu.org> References: <83a7i15vrk.fsf@gnu.org> <787f765a-42f4-40d0-3b78-e751f546fe6c@yandex.ru> <831s3c3ta8.fsf@gnu.org> <8f7ae869-2e94-5535-f16f-476348036dc2@yandex.ru> <83r2bc2csd.fsf@gnu.org> <83h8c63ek1.fsf@gnu.org> <7240d82b-5919-cee8-e3bc-81be8d996400@yandex.ru> <83pnqsyw68.fsf@gnu.org> <83pnq1diqk.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="97206"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34763@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 04 16:46:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hC3d8-000P3y-F9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Apr 2019 16:46:14 +0200 Original-Received: from localhost ([127.0.0.1]:55819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hC3d7-0001AI-Ci for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Apr 2019 10:46:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hC3VD-0002I7-FR for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 10:38:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hC3VC-0002Ql-Ih for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 10:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59242) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hC3VC-0002QG-BQ for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 10:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hC3VC-0001TY-7i for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 10:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Apr 2019 14:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34763 X-GNU-PR-Package: emacs Original-Received: via spool by 34763-submit@debbugs.gnu.org id=B34763.15543886235602 (code B ref 34763); Thu, 04 Apr 2019 14:38:02 +0000 Original-Received: (at 34763) by debbugs.gnu.org; 4 Apr 2019 14:37:03 +0000 Original-Received: from localhost ([127.0.0.1]:44553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hC3UB-0001Rw-R9 for submit@debbugs.gnu.org; Thu, 04 Apr 2019 10:37:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hC3U6-0001Rd-Ao for 34763@debbugs.gnu.org; Thu, 04 Apr 2019 10:36:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hC3Tz-00083V-V2; Thu, 04 Apr 2019 10:36:48 -0400 Original-Received: from [176.228.60.248] (port=3505 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hC3Tz-00019u-D7; Thu, 04 Apr 2019 10:36:47 -0400 In-reply-to: (message from Dmitry Gutov on Thu, 4 Apr 2019 16:29:24 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157167 Archived-At: > Cc: 34763@debbugs.gnu.org > From: Dmitry Gutov > Date: Thu, 4 Apr 2019 16:29:24 +0300 > > On 04.04.2019 16:04, Eli Zaretskii wrote: > > If that's the intent, why does it need to explicitly quit in Lisp? > > Just letting the code leave the form where inhibit-quit is non-nil > > will let Emacs quit at the first opportunity, with no need for any > > Lisp code for that. > > Because accept-process-output doesn't abort on user input? It doesn't? Are you sure? Or are you talking about calling accept-process-output with inhibit-quit non-nil? > And url-retrieve-synchronously calls it with 1 second timeout (which > is a fairly long wait). That could be dealt with by making the timeout shorter. > 2. I wonder if there are cases where some part of the asynchronous code > takes too long, where it should be allowed to be aborted by the user > right away. Meaning when url-retrieve is used, not > url-retrieve-synchronously. I always thought that C-g aborts accept-process-output.