How can I run Octave under Emacs on Windows (Vista)?
Posted
by Arlie Capps
on Stack Overflow
See other posts from Stack Overflow
or by Arlie Capps
Published on 2010-05-07T16:16:09Z
Indexed on
2010/05/07
16:18 UTC
Read the original article
Hit count: 445
Hello,
I installed Emacs 23.1.1 and Octave 3.2.3 on my computer running Vista.
To make Emacs find Octave, and to make Octave's prompt what Emacs expects, I added the following to the end of my .emacs file:
(setq inferior-octave-program "C:/Octave/3.2.3_gcc-4.4.0/bin/octave-3.2.3.exe") (setq inferior-octave-startup-args (list "--eval" "PS1('octave:\#> ');" "--persist"))
When I do M-x run-octave, I get the "wait" cursor. I can see (using procexp) that Octave starts up as a child process to Emacs, but Emacs and Octave do not talk.
Any insight would be much appreciated.
© Stack Overflow or respective owner