From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jules Tamagnan Newsgroups: gmane.emacs.bugs Subject: bug#23609: 25.0.92; Python eldoc freeze Date: Fri, 27 May 2016 15:13:42 -0400 Message-ID: <86a8jbxqjd.fsf@gmail.com> References: <867fejo4g2.fsf@gmail.com> <57454201.10607@easy-emacs.de> <86bn3umahs.fsf@gmail.com> <5745C5D9.50701@easy-emacs.de> <861t4orf3h.fsf@gmail.com> <834m9k3hmz.fsf@gnu.org> <83wpmg229w.fsf@gnu.org> <86mvncpwso.fsf@gmail.com> <83d1o726si.fsf@gnu.org> <86lh2vo4yd.fsf@gmail.com> <83inxzz5ha.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1464376614 18289 80.91.229.3 (27 May 2016 19:16:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 May 2016 19:16:54 +0000 (UTC) Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 27 21:16:45 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b6NFU-0002Fi-LN for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 May 2016 21:16:44 +0200 Original-Received: from localhost ([::1]:47530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6NFU-00058g-0K for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 May 2016 15:16:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6ND0-0002wI-L4 for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:14:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6NCt-0003NJ-E9 for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:14:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6NCt-0003MY-90 for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:14:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b6NCs-00032n-Fw for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jules Tamagnan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 19:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23609-submit@debbugs.gnu.org id=B23609.146437643111675 (code B ref 23609); Fri, 27 May 2016 19:14:02 +0000 Original-Received: (at 23609) by debbugs.gnu.org; 27 May 2016 19:13:51 +0000 Original-Received: from localhost ([127.0.0.1]:42873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NCh-00032E-2e for submit@debbugs.gnu.org; Fri, 27 May 2016 15:13:51 -0400 Original-Received: from mail-qg0-f49.google.com ([209.85.192.49]:36460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NCf-000321-A7 for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:13:49 -0400 Original-Received: by mail-qg0-f49.google.com with SMTP id q32so55207678qgq.3 for <23609@debbugs.gnu.org>; Fri, 27 May 2016 12:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=G1i56RXUif+lrK504Eju7qN+ilLmvAZWDkH5wHsaiiM=; b=zF3tgW5m2jucKsmcNK2Ps7WLfwoaWKqGxD/06bsk7R/oYFbG81NQcksmhZVG8Rmz/N zsYwqHCDlG4/OgorZvulOasWvXMy9+1Qs5CD0YseKbo61x4+ZlB8w46+hoPol198DgGO 4D8xm9K1hF2Hnx25V02Bi/zH2tTxbfeqRE/4LY4mnlEI3lXdM/Flh5xOc0P2Vp6xKTCk hLwCef9PhAiX18Yem8bR69K0Wq7LiDjcxZivBv3y3ebG5GoWl2HNlYWu6a6PyqWm7NrK 3PBo5WxrxTVfJfc0LCzrdSJnqb6iUA7BZ6INWMoCwGWQ+3qAXEyz6ojT+SCWcEzQBgbe ysRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=G1i56RXUif+lrK504Eju7qN+ilLmvAZWDkH5wHsaiiM=; b=C467MNEXQ+k24I9fHx5USbFiJluybzIVe5ShHqINryRnrXIwsuC+QNtesT/ZJfV05D DlhgBn7t32aiHF+hl7OTl5sefYCYf7CIk42OLnQGHYHJXJpF5WG9iPyK9cLV7FQAu9SA 86rV4ZKKuZV4aERJxmV7KQ4rpz/BbkG202vsBQ9CeCR5UZkYas8TqiGdDwI08NA50QQe iCbJnUxN76tWRfGp9j+OIkT8xXJi0vWoYIe7Ti7s17H4fl0+qQhGarkgvDb9yf6nFuSL dIeIfvazlRx9K+46wjeDzDiS/5oV7UhjUwpxPxmh1p78Kj09ATw2D9x/kuMD8c9+7+ft QEBg== X-Gm-Message-State: ALyK8tJNeE0JqF9vaJ6k+mlSLBYiq8i+nrKIEiRQg3C1GtrjEEFLJQhw/QJS0Aw3kiLViA== X-Received: by 10.140.204.212 with SMTP id z203mr15184847qha.41.1464376423914; Fri, 27 May 2016 12:13:43 -0700 (PDT) Original-Received: from bandersnatch ([130.132.236.142]) by smtp.gmail.com with ESMTPSA id m184sm5620078qhm.3.2016.05.27.12.13.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 12:13:43 -0700 (PDT) In-Reply-To: <83inxzz5ha.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 May 2016 22:05:37 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) 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: 208.118.235.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:118780 Archived-At: Eli Zaretskii writes: > Thanks, this is now clear. A coupe of comments: > > . Should 1 be a defcustom? IOW, could it be that different users > have different annoyance thresholds, and are willing to wait > longer before turning eldoc-mode off? Well eldoc mode remains on it simply won't do the automatic check anymore when hovering over a function, you can still request the documenation though the keybinding. And yes the threshhold can be different for different people if that is an option that you think would be good to add its pretty simple to add. > . The problem happens only when the interpreter is busy doing > something, is that right? If so, perhaps we shouldn't turn > eldoc-mode off, but instead simply return? The problem with simply returning instead of canceling the behavior for the buffer is that a second (or so) later eldoc will once again try to fetch the documentation and will be frozen until the timeout. This means that you will be repeatidly be getting frozen as you type. It won't be a complete freeze that crashes emacs but it won't be pleasant. > . If we do turn eldoc-mode off, then I think a message to that > effect is in order, to let the user know. We're not turning it off but yes a warning would definitely be nice. Thanks for hearing me out