help-octave
[Top][All Lists]
Advanced

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

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


From: Chris Zheng
Subject: Re: Tips: you must run close when using Octave in Emacs under MS-Windows
Date: Thu, 19 Apr 2018 09:54:14 +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)

On Thu, 19 Apr 2018 15:00:56 +0800,

Hello Tatsuro,

Tatsuro MATSUOKA wrote:
> ----- Original Message -----
> > From: Tatsuro MATSUOKA 
> > To: Chris Zheng ; "help-octave
> > Cc: 
> > Date: 2018/4/19, Thu 06:08
> > Subject: Re: Tips: you must run close when using Octave in Emacs under 
> > MS-Windows
> > 
> > --- chriszheng99
> >> 
> >>  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
> > 
> > Octave team do not support octave+emacs and I  do not know persons 
> > appearing 
> > frequently on this list who are using octave + emacs.
> > 
> > please wait without expecting any support.
> > 
> > 
> > Tatsuro
> 
> 
> Before starting octave for windows you should prepare environmental setting.
> Please see octave.vbs and consider what you should do.

I know the Octave+Emacs+Windows combination is uncommon. That’s why I
share my experience to the list. I think I found the right place to
post because the help-gnu-emacs list is not Octave-oriented. And my
solution here may be indexed by the search engine with Octave
keywords.

I did what the octave.vbs did in Emacs but still faced the
above-mentioned problem. By now I’m satisfied with my solution.

Thank you,

Chris

> Tatsuro



reply via email to

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