* Re: no prompt for Octave on Emacs for Windows
[not found] ` <20070610204946.GA21395@mail.potis.org>
@ 2007-06-20 18:18 ` poti
0 siblings, 0 replies; only message in thread
From: poti @ 2007-06-20 18:18 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: bug-gnu-emacs, jwe
I posted in help-gnu-emacs that Octave was not working with Emacs as of the 22.1
release. I have since found a number of answers:
in shell or eshell all works well if the command issued is :
octave -i
This is the command that is issued in octave-ind.el.
However, octave-inf.el shipped with Emacs 22.1 and with Octave 2.9.12
did not work with Emacs because the string looked for in the prompt
did not include ".exe".
This bug is fixed by adding "\\|.exe" to the definition of
inferior-octave-prompt, as it appears below:
(defcustom inferior-octave-prompt
"\\(^octave\\(\\|.bin\\|.exe\\)\\(-[.0-9]+\\)?\\(:[0-9]+\\)?\\|^debug\\|^\\)>"
"Regexp to match prompts for the inferior Octave process."
:type 'regexp
:group 'octave-inferior)
see this post for a thread detailing how this was found and
containing requests to synchronize and consolidate Emacs and Octave
versions of the Octave mode files:
http://www.cae.wisc.edu/pipermail/octave-maintainers/2007-June/003342.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-20 18:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20070610042156.GA19913@mail.potis.org>
[not found] ` <utztfk67i.fsf@gnu.org>
[not found] ` <20070610204946.GA21395@mail.potis.org>
2007-06-20 18:18 ` no prompt for Octave on Emacs for Windows poti
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).