unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: comint-interrupt-subjob not quite working
Date: Fri, 4 Sep 2015 19:40:44 -0700 (PDT)	[thread overview]
Message-ID: <6f568e17-24ab-49b9-a674-efeb920e78b2@googlegroups.com> (raw)
In-Reply-To: <96338f1f-c79b-49b6-b92c-d7058f85239a@googlegroups.com>

On Friday, September 4, 2015 at 7:31:57 PM UTC+5:30, Rusi wrote:
> 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

And now (setq comint-prompt-regexp "")
makes emacs dump core but cant reliably reproduce.

So what should it be if the prompt is "? " (at bol of course)?


  reply	other threads:[~2015-09-05  2:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04 14:01 comint-interrupt-subjob not quite working Rusi
2015-09-05  2:40 ` Rusi [this message]
2015-09-05  2:49   ` Rusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f568e17-24ab-49b9-a674-efeb920e78b2@googlegroups.com \
    --to=rustompmody@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).