From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: comint-interrupt-subjob not quite working Date: Fri, 4 Sep 2015 07:01:53 -0700 (PDT) Message-ID: <96338f1f-c79b-49b6-b92c-d7058f85239a@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1441375645 22391 80.91.229.3 (4 Sep 2015 14:07:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2015 14:07:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 04 16:07:25 2015 Return-path: Envelope-to: geh-help-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 1ZXreG-0003xw-6a for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Sep 2015 16:07:24 +0200 Original-Received: from localhost ([::1]:59445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXreF-0002pZ-Lj for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Sep 2015 10:07:23 -0400 X-Received: by 10.129.46.197 with SMTP id u188mr3448258ywu.22.1441375313775; Fri, 04 Sep 2015 07:01:53 -0700 (PDT) X-Received: by 10.50.26.103 with SMTP id k7mr52790igg.9.1441375313699; Fri, 04 Sep 2015 07:01:53 -0700 (PDT) Original-Path: usenet.stanford.edu!z77no704513qge.1!news-out.google.com!nt1ni814igb.0!nntp.google.com!kq10no418292igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.195.52.186; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 117.195.52.186 User-Agent: G2/1.0 Injection-Date: Fri, 04 Sep 2015 14:01:53 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:214742 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107026 Archived-At: I have a comint-mode running gofer (tiny version of Haskell) When the output is large I get error in process filter: Invalid regexp: "Regular expression too big" error in process filter: comint-output-filter: Invalid regexp: "Regular expression too big" repeated 100s of times (in *Messages* ) C-c C-c (comint-interrupt-subjob) has no effect Now if gofer is run outside emacs C-c works and interrupts it correctly Likewise if run under emacs if there is nothing untoward happening emacs passes on the interrupt correctly However if there is this runaway behavior then emacs stops passing it to inferior process Killing gofer from outside gives back control to emacs