From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23609: 25.0.92; Python eldoc freeze Date: Fri, 27 May 2016 22:30:33 +0300 Message-ID: <83fut3z4bq.fsf@gnu.org> 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> <86a8jbxqjd.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1464377547 32612 80.91.229.3 (27 May 2016 19:32:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 May 2016 19:32:27 +0000 (UTC) Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru To: Jules Tamagnan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 27 21:32:12 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 1b6NUS-0007B4-Br for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 May 2016 21:32:12 +0200 Original-Received: from localhost ([::1]:47576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6NUR-00011j-GG for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 May 2016 15:32:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6NUL-00010b-H0 for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:32:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6NUI-0007d9-B2 for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:32:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6NUI-0007cz-8B for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b6NUI-00050V-3O for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:32: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, 27 May 2016 19:32: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.146437747617271 (code B ref 23609); Fri, 27 May 2016 19:32:02 +0000 Original-Received: (at 23609) by debbugs.gnu.org; 27 May 2016 19:31:16 +0000 Original-Received: from localhost ([127.0.0.1]:42891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NTY-0004UF-BA for submit@debbugs.gnu.org; Fri, 27 May 2016 15:31:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NTW-0004Ga-Hu for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:31:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6NTE-0007PO-0I for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:30:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6NT4-0007NT-5Q; Fri, 27 May 2016 15:30:46 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3629 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6NT2-0006RL-Oh; Fri, 27 May 2016 15:30:45 -0400 In-reply-to: <86a8jbxqjd.fsf@gmail.com> (message from Jules Tamagnan on Fri, 27 May 2016 15:13:42 -0400) 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: 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:118783 Archived-At: > From: Jules Tamagnan > Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru > Date: Fri, 27 May 2016 15:13:42 -0400 > > > . 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. Once again, perhaps I misunderstand the nature of the problem, but doesn't it happen only when the Python interpreter is busy doing something when the eldoc function is invoked? If so, then the next time eldoc is invoked, the Python interpreter might not be busy, and the feature will work without hanging, right? Or am I missing something? > > > . 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. Well, we turn off the automatic display of the documentation in the echo area, right? Thanks.