In emacs octave-mode, when I type M-x run-octave the command freezes so I do C-g to escape. I can switch to the *Inferior Octave* buffer with C-x b but there is no prompt, just the welcome message. C-c i l also does not work.
From http://savannah.gnu.org/bugs/?41099#comment4:
PS1(">> ")
to ~/.octaverc
(setq inferior-octave-prompt ">> ")
to ~/.emacs.d/init.el
(or wherever your Emacs startup is)This got me going on Ubuntu 14.04, with Emacs 24.3 and Octave 3.8.1. For future readers: according to the bug report, this should be fixed in Emacs 24.4, so if you encounter a similar problem in that or a later Emacs version, it might be something else.
With Emacs 24.3.1 simply add PS1(">> ")
to ~/.octaverc
. No need to change the value of 'inferior-octave-prompt'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With