help-octave
[Top][All Lists]
Advanced

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

Tips: you must run close when using Octave in Emacs under MS-Windows


From: Chris Zheng
Subject: Tips: you must run close when using Octave in Emacs under MS-Windows
Date: Thu, 19 Apr 2018 00:53:48 +0800
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/27.0 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO)

Dear list,

I use Octave in Emacs under MS Windows. With recent versions of Octave
(e.g. octave-4.2.2-w64.zip), all the plot commands do not work. That
is to say, if I run “plot(1:10)”, nothing happened and octave showed
me the prompt again. I struggled with this issue for some
time. Finally, I find the solution:

You must run “close” or “close all” before any plot commands.

When I was frustrated with the problem I searched the Internet and see
no clear answer. So I post my solution here in case it might be
helpful for Octave and Emacs users.

More details:

OS: MS Windows 8.1

Emacs version: 27.0.50 of 2018-03-26, the master branch

Configuration for Octave in Emacs:
(setq inferior-octave-program "C:/octave/bin/octave-gui.exe")
and put "C:\\octave\\bin;" before the old PATH.

Using empty .octaverc is useless. Adding “close” or “close all” to
.octaverc is useless.

Hope this helps,

Chris



reply via email to

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