[ESS] Problems after Debian update

Vitalie Spinu spinuvit at gmail.com
Fri May 4 20:13:58 CEST 2012


>>>> brendan.halpin at ul.ie (Brendan Halpin)
>>>> on Fri, 04 May 2012 17:07:22 +0100 wrote:

  > I don't think there is such a thing as a trial version of Stata. The
  > prompt is "^. " with a literal dot. I'll try setting
  > comint-prompt-regexp to that. 

If it's a literal dot why ess-sta-d.el sets it to 

    (inferior-ess-primary-prompt   . "^.") 
?

Try

(add-hook 'ess-post-run-hook
	  (lambda () (when (equal ess-language "STA")
		       (inferior-ess-primary-prompt   . "^\\. ") 
		       (inferior-ess-secondary-prompt . "^\\. "))))

Setting those variables directly doesn't have effect.

  > Here's the debug-on-quit backtrace:

  > Debugger entered--Lisp error: (quit)
  >   accept-process-output(#<process Stata:2> 0.01)
  >   ess-wait-for-process(#<process Stata:2> nil 0.01)

yes,  it's waiting for prompt thing.



More information about the ESS-help mailing list