Emacs hangs when running Octave codeblock in org mode

My spec: emacs 24.3.1, octave 3.8.1

Sample code:

#+name: factor
#+begin_src octave :session *octave* :exports code :results silent
factor=4;
#+end_src

      

My emacs also fires when M-x run-octave

+3


source to share


1 answer


Given your versions of Emacs and Octave, your problem may be caused by a change to the Octave 3.8 prompt that has not been updated in Emacs 24.3 octave-mode

(it should be fixed in 24.4). Try adding PS1(">> ")

to yours ~/.octaverc

and see if that fixes the problem.

Attribution:



0


source







All Articles