From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#27036: Acknowledgement (25.1; Blocking call to accept-process-output with quit inhibited!!) Date: Tue, 30 May 2017 09:46:03 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: blaine.gmane.org 1496130444 23066 195.159.176.226 (30 May 2017 07:47:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 May 2017 07:47:24 +0000 (UTC) Cc: 27036@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 30 09:47:20 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFbs8-0005pE-15 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 May 2017 09:47:20 +0200 Original-Received: from localhost ([::1]:51978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFbsD-0002Pi-HV for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 May 2017 03:47:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFbrv-00025B-BN for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 03:47:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFbrr-0006Xr-EO for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 03:47:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41420) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFbrr-0006XS-AV for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 03:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFbrq-000157-Nj for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 03:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 May 2017 07:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27036 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 27036-submit@debbugs.gnu.org id=B27036.14961303704074 (code B ref 27036); Tue, 30 May 2017 07:47:02 +0000 Original-Received: (at 27036) by debbugs.gnu.org; 30 May 2017 07:46:10 +0000 Original-Received: from localhost ([127.0.0.1]:44093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFbr0-00013e-9R for submit@debbugs.gnu.org; Tue, 30 May 2017 03:46:10 -0400 Original-Received: from mx-all.isti.cnr.it ([194.119.192.3]:26327 helo=blade3.isti.cnr.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFbqy-00013V-Eh for 27036@debbugs.gnu.org; Tue, 30 May 2017 03:46:08 -0400 Original-Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx-all.isti.cnr.it (PMDF V6.5-x6 #1609) with ESMTPSA id <01QEY4G1YUV6CZEZJM@mx-all.isti.cnr.it> for 27036@debbugs.gnu.org; Tue, 30 May 2017 09:44:34 +0200 (MEST) Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.89) (envelope-from ) id 1dFbqt-0002z2-Vx; Tue, 30 May 2017 09:46:04 +0200 In-reply-to: X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 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:133043 Archived-At: >On 5/26/17 4:17 PM, Francesco Potortì wrote: >> if Octave is running a long command it >> locks Emacs until the long command execution finishes and the prompt is >> returned. > >Yes, this problem should be common for all modes that use the REPL for >fetching information like this. E.g. python-eldoc-function. > >Normally, we don't see long-running commands in the user REPL. Or don't >expect the user to switch back to the source buffer and continue >editing. Octave might be a significant exception in that regard. > >Anyway, please try the attached combined patch and see if it fixes your >problem. It does not seem to work, sorry. I launch a long-running command in the inferior octave buffer, then in another window I go and edit the octave source. After a while everything is frozen. The long-running command is stopped midway and a syntax error is signaled which involves the function point was on in the source. I did not restart emacs for testing, I just evaluated the patched octave.el. Is that alright? Does it makes sense at all to use the same process for interaction and for asking help? Wouldn't it be simpler and more robust if a dedicated octave process was started for eldoc?