emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Re: no prompt for Octave on Emacs for Windows]


From: Richard Stallman
Subject: address@hidden: Re: no prompt for Octave on Emacs for Windows]
Date: Fri, 22 Jun 2007 14:51:28 -0400

Would someone please fix this, then ack?
Please install the fix in Emacs 22.

------- Start of forwarded message -------
X-Spam-Status: No, score=0.6 required=5.0 tests=NO_REAL_NAME,
        UNPARSEABLE_RELAY autolearn=no version=3.1.0
Date: Wed, 20 Jun 2007 14:18:37 -0400
From: address@hidden
To: address@hidden
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <address@hidden>
Cc: address@hidden, address@hidden
Subject: Re: no prompt for Octave on Emacs for Windows

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




_______________________________________________
bug-gnu-emacs mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]