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: Fri, 15 Mar 2019 17:49:51 +0200 Message-ID: <83pnqsyw68.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> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="211302"; 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 Fri Mar 15 17:05:05 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 1h4pKR-000sni-Tr for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Mar 2019 17:05:04 +0100 Original-Received: from localhost ([127.0.0.1]:57980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4pKQ-0001c8-O5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Mar 2019 12:05:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4pGR-0006eY-DT for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2019 12:00:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4p6t-000586-5k for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2019 11:51:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60073) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h4p6s-00057k-C8 for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2019 11:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h4p6s-0006k1-7L for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2019 11:51: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: Fri, 15 Mar 2019 15:51: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.155266502125854 (code B ref 34763); Fri, 15 Mar 2019 15:51:02 +0000 Original-Received: (at 34763) by debbugs.gnu.org; 15 Mar 2019 15:50:21 +0000 Original-Received: from localhost ([127.0.0.1]:45384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4p6C-0006iv-FY for submit@debbugs.gnu.org; Fri, 15 Mar 2019 11:50:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4p6A-0006ie-IH for 34763@debbugs.gnu.org; Fri, 15 Mar 2019 11:50:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4p64-0004XH-5i; Fri, 15 Mar 2019 11:50:13 -0400 Original-Received: from [176.228.60.248] (port=3187 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h4p62-0001Pm-Uk; Fri, 15 Mar 2019 11:50:11 -0400 In-reply-to: <7240d82b-5919-cee8-e3bc-81be8d996400@yandex.ru> (message from Dmitry Gutov on Fri, 15 Mar 2019 16:29:10 +0200) 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:156388 Archived-At: > Cc: 34763@debbugs.gnu.org > From: Dmitry Gutov > Date: Fri, 15 Mar 2019 16:29:10 +0200 > > And regardless of whether the slowdown is caused by external factors in > my examples, here are two aspects that worry me either way: > > 1. When I get to "Transfer interrupted", I need to press 'C-g' a second > time to actually abort right away. > > 2. When that happens, 'M-x list-processes' shows an extra new line with > status 'open'. Interrupt enough requests this way - and there are many > such lines there. That doesn't look good. The code in the functions that react to quit-flag being non-nil should be audited. They don't look clean to me, FWIW, and we don't generally do such things from Lisp, we normally quit on the C level. Maybe this whole sub-feature, whereby we show a message for interrupted transfers, should be rethought.