[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pcg.m replacement for OCTAVE
From: |
fork |
Subject: |
Re: pcg.m replacement for OCTAVE |
Date: |
Thu, 8 Sep 2011 03:45:15 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Jordi Gutiérrez Hermoso <jordigh <at> octave.org> writes:
> An alternative for you could be to use an editor that understands both
> Matlab and Octave syntax. There are many choices such as Kate, Gedit,
> Notepad++, as well as the venerable Emacs (or vim) that understand
> both Matlab and Octave syntax.
In emacs, Octave mode should automatically be fired off when you open a file
with an ".m" suffix -- it will highlight matlab comments just fine, plus do
smart indenting. The commands to insert comments use the "#" syntax, but can be
set with a little bit of lisp magic.