[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What should be the extension of octave files?
From: |
John W. Eaton |
Subject: |
Re: What should be the extension of octave files? |
Date: |
Mon, 27 Feb 2006 18:10:22 -0500 |
On 27-Feb-2006, kamaraju kusumanchi wrote:
| For example, if you were a vim developer and you see a .m file, should
| the syntax highlighting correspond to that of matlab or should it
| correspond to octave? What do other editors like emacs etc., do in these
| cases?
By default, Emacs starts the Objective C mode for .m files, but you
can specify your own default. You can also tell it what mode to open
by using a tag like
### -*- octave -*-
or by using local variables
### Local Variables: ***
### mode: octave
### End: ***
You could also have Emacs start a special mode for all .m files that
looks at the contents of the file and decides which actual mode to
use.
jwe
-------------------------------------------------------------
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
-------------------------------------------------------------
- Re: What should be the extension of octave files?, kamaraju kusumanchi, 2006/02/27
- Re: What should be the extension of octave files?, Keith Goodman, 2006/02/27
- Re: What should be the extension of octave files?, Quentin Spencer, 2006/02/27
- Message not available
- Re: What should be the extension of octave files?, kamaraju kusumanchi, 2006/02/27
- Re: What should be the extension of octave files?, Bill Denney, 2006/02/27
- Re: What should be the extension of octave files?, kamaraju kusumanchi, 2006/02/27
- Re: What should be the extension of octave files?,
John W. Eaton <=
- Re: What should be the extension of octave files?, Przemek Klosowski, 2006/02/28
- Re: What should be the extension of octave files?, Thorsten Meyer, 2006/02/28
- Re: What should be the extension of octave files?, Jonathan Stickel, 2006/02/28