all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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:49:52 -0700 (PDT)	[thread overview]
Message-ID: <f003d8b1-8242-4e3e-8828-ebe0e6a25c3b@googlegroups.com> (raw)
In-Reply-To: <6f568e17-24ab-49b9-a674-efeb920e78b2@googlegroups.com>

On Saturday, September 5, 2015 at 8:10:48 AM UTC+5:30, Rusi wrote:
> 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)?

Also 
comint-use-prompt-regexp
is nil. So why does comint-prompt-regexp signify?


      reply	other threads:[~2015-09-05  2:49 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
2015-09-05  2:49   ` Rusi [this message]

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

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

  git send-email \
    --in-reply-to=f003d8b1-8242-4e3e-8828-ebe0e6a25c3b@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.