unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: poti@potis.org
To: help-gnu-emacs@gnu.org
Cc: bug-gnu-emacs@gnu.org, jwe@bevo.che.wisc.edu
Subject: Re: no prompt for Octave on Emacs for Windows
Date: Wed, 20 Jun 2007 14:18:37 -0400	[thread overview]
Message-ID: <20070620181837.GA13565@mail.potis.org> (raw)
In-Reply-To: <20070610204946.GA21395@mail.potis.org>

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

           reply	other threads:[~2007-06-20 18:18 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20070610204946.GA21395@mail.potis.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070620181837.GA13565@mail.potis.org \
    --to=poti@potis.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jwe@bevo.che.wisc.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).