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:49:13 +0300 Message-ID: <83d1o7z3gm.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> <83fut3z4bq.fsf@gnu.org> <861t4nxp61.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1464378626 16706 80.91.229.3 (27 May 2016 19:50:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 May 2016 19:50:26 +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:50:15 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 1b6Nlu-0004mO-P9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 May 2016 21:50:14 +0200 Original-Received: from localhost ([::1]:47643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Nlt-0006Li-Uy for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 May 2016 15:50:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Nll-0006II-Tb for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:50:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Nli-00044b-Pj for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:50:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Nli-00044X-Li for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b6Nli-0005XX-DX for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 15:50: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:50: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.146437857121251 (code B ref 23609); Fri, 27 May 2016 19:50:02 +0000 Original-Received: (at 23609) by debbugs.gnu.org; 27 May 2016 19:49:31 +0000 Original-Received: from localhost ([127.0.0.1]:42900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NlD-0005Wh-BQ for submit@debbugs.gnu.org; Fri, 27 May 2016 15:49:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NlB-0005WV-Qp for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:49:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Nl3-0003px-KU for 23609@debbugs.gnu.org; Fri, 27 May 2016 15:49:24 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Nkt-0003p0-HJ; Fri, 27 May 2016 15:49:11 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3678 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6Nkr-0007T6-14; Fri, 27 May 2016 15:49:10 -0400 In-reply-to: <861t4nxp61.fsf@gmail.com> (message from Jules Tamagnan on Fri, 27 May 2016 15:43:18 -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:118785 Archived-At: > From: Jules Tamagnan > Cc: 23609@debbugs.gnu.org, dgutov@yandex.ru > Date: Fri, 27 May 2016 15:43:18 -0400 > > > 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? > > No that's exactly correct. I'm just thinking of it from the point of > view that perhaps somebody is plotting a graph from the interpreter > which causes the interpreter to be busy. Then while having that graph > open they would still like to be able to edit their code (I have been in > this situation dozens of times). Or if the code they are running takes a > a minute or two there is a good chance that they would want to edit some > of the code while it is running. In those scenarios I feel like it makes > sense to stop eldoc from doing the automatic checking permanently for > that buffer because otherwise my work would be constantly interrupted. OK, so let's go with your suggestion, but make that message we agreed should be added say something like ElDoc mode echo-area display turned off; type .... to turn on where "..." stands for whatever needs to be done to turn it back on again. Also, I do think a defcustom is due instead of a hardwired constant of 1 sec. Could you please augment your patch along these lines? Thanks.