[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: address@hidden
From: |
A.T.E (S.A) |
Subject: |
FW: address@hidden |
Date: |
Mon, 20 Nov 2000 11:08:00 +0200 |
This message is intended only for the use of the individual or entity to
which it is addressed and it may contain information that is privileged and
confidential. If the reader of this message is not the intended recipient
you are hereby notified that any dissemination, distribution or copying of
this communication is prohibited.
-----Original Message-----
From: Francois du Plessis
Sent: Monday, November 20, 2000 10:25 AM
To: Internet
Subject: address@hidden
Hi
I found the message at the end of this message on the Octave archive.
Could any of you please help me if you have sorted out the problem? I
already posted this question and did receive a reply on it, but the
suggstion did not work and I decided to elaborate a bit.
I have Octave running (version 2.1.30 for Win32) on its own and want to run
it from within Emacs. I originally had Octave installed in "c:ÜOctave
2.1.30" with the executables octave.exe and octave-2.1.30.exe being located
in the directory "c:ÜOctave 2.1.30ÜusrÜlocalÜbinÜ". In my "_emacs file I
had"
(setq-default inferior-octave-program "c:/Octave
2.1.30/usr/local/bin/octave-2.1.30.exe")
(autoload 'octave-mode "octave-mod" nil t)
(setq auto-mode-alist
(cons '("ÜÜ.m$" . octave-mode) auto-mode-alist))
but I got the response "Spawning child process: exec format error"
I was advised to change Octave to another directory or change the name of
the folder to one without spaces. I consequently put Octave in a folder in
the Emacs path with the octave.exe file residing in the folder
"c:/Emacs/Emacs-20.7/lisp/Octave/usr/local/bin/". My _emacs file now
starts like this:
(setq-default inferior-octave-program
"c:/Emacs/Emacs-20.7/lisp/Octave/usr/local/bin/octave")
(autoload 'octave-mode "octave-mod" nil t)
(setq auto-mode-alist
(cons '("ÜÜ.m$" . octave-mode) auto-mode-alist))
but I still get the same result.
What am I doing wrong or what am I not doing.
Gnuplot is also installed in the "c:/Emacs/Emacs-20.7/lisp/Octave" folder.
What should I do to make the inferior Octave process see it when it is
finally running from within Emacs?
Please respond to this address (address@hidden) with "Francois du
Plessis" as the subject.
Thanks
Francois
>
>
>
>
>
>From address@hidden Wed Feb 10 17:00:18 1999
Received: (from address@hidden)
by bevo.che.wisc.edu (8.9.1/8.9.1) id RAA25541
for address@hidden; Wed, 10 Feb 1999 17:00:18 -0600
(CST)
Resent-Date: Wed, 10 Feb 1999 17:00:18 -0600 (CST)
From: address@hidden
X-Lotus-FromDomain: SILICON SPACE
To: Gary Church <address@hidden>
cc: address@hidden
Message-ID: <address@hidden>
Date: Wed, 10 Feb 1999 14:58:43 -0800
Subject: Re: Octave + Cygwin + Emacs + NT
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Resent-Message-ID: <"PgdIZQQTE_.A.PbE.C-gw2"@bevo.che.wisc.edu>
Resent-From: address@hidden
X-Mailing-List: <address@hidden>
X-Loop: address@hidden
Precedence: list
Resent-Sender: address@hidden
Sender: address@hidden
M-x octave just gives me a list of possible completions, viz:
Click mouse-2 on a completion to select it.
In this buffer, type RET to select the completion near point.
Possible completions are:
octave-abbrev-start octave-backward-block
octave-backward-up-block octave-beginning-of-defun
octave-beginning-of-line octave-blink-matching-block-open
octave-close-block octave-comment-region
octave-complete-symbol octave-describe-major-mode
octave-down-block octave-electric-semi
octave-electric-space octave-end-of-defun
octave-end-of-line octave-eval-print-last-sexp
octave-fill-paragraph octave-forward-block
octave-help octave-hide-process-buffer
octave-in-comment-p octave-in-string-p
octave-indent-defun octave-indent-for-comment
octave-indent-line octave-indent-new-comment-line
octave-insert-defun octave-kill-process
octave-mark-block octave-mark-defun
octave-mode octave-next-code-line
octave-previous-code-line octave-reindent-then-newline-and-indent
octave-send-block octave-send-defun
octave-send-line octave-send-region
octave-show-process-buffer octave-submit-bug-report
octave-uncomment-region octave-up-block
Gary Church <address@hidden> on 02/10/99 02:53:20 PM
Please respond to Gary Church <address@hidden>
To: aarre
cc:
Subject: Re: Octave + Cygwin + Emacs + NT
** Reply to message from Aarre Laakso <address@hidden>
on Wed, 10 Feb 1999 14:22:36 -0800
Try just M-x octave.
Gary.
> Hi --
>
> I would like to be able to use Octave from within GNU Emacs.
> (inferior-octave-mode). I am running Windows NT. I have Cygwin
> beta 20.1 installed according to the instructions and running
> properly. I also have emacs installed according to the NT emacs
> FAQ (including the cygwin compatibility stuff in the .emacs
file)
> and also running properly. Octave runs properly from within
> the cygwin shell. My octave executable is in my NT path, my
> bash path, and my emacs exec-path. However, whenever I
> attempt M-x run-octave from within emacs, I get the message:
> Spawning child process: invalid argument
> I have searched these archives as well as the emacs newsgroups,
> but have been unable to find anything that solved my problem.
>
> Can anybody help?
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------