[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave mode in emacs
From: |
Pascual Muñoz Muñoz |
Subject: |
Re: Octave mode in emacs |
Date: |
Thu, 31 Jan 2002 16:14:25 +0100 |
Oh, sorry, I didn't read the manual. Anyway, thank you very much.
Regards.
Shengchao Li wrote:
> add the following in your ~/.emacs file:
> (autoload 'octave-mode "octave-mod" nil t)
> (setq auto-mode-alist
> (cons '("\\.m$" . octave-mode) auto-mode-alist))
>
> (add-hook 'octave-mode-hook
> (lambda ()
> (abbrev-mode 1)
> (auto-fill-mode 1)
> (if (eq window-system 'x)
> (font-lock-mode 1))))
>
> (global-font-lock-mode 1)
>
> It is in the Octave manual. If you read you will find it there.
>
> shengchao
>
> On Thu, 31 Jan 2002, Pascual [iso-8859-1] Muñoz Muñoz wrote:
>
> > Dear all,
> >
> > I use emacs to edit my m files, but when I open any file, emacs always
> > turns on the ObjC mode, instead of the octave one. Does anybody know how
> > to solve this?
> >
> > Thanks in advance,
> >
> > Pascual.
> >
> >
> >
> > -------------------------------------------------------------
> > 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
> > -------------------------------------------------------------
> >
> >
>
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
--
-------------------------------------------------------
Pascual Muñoz Muñoz, Telecommunication Engineer
PhD. Research Student @ Optical Communications Group
Dept. Comunicaciones - Universidad Politécnica Valencia
C/ Camino Vera s/n 46022 - Valencia - SPAIN
http://www.gco.upv.es/ - address@hidden
-------------------------------------------------------
-------------------------------------------------------------
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
-------------------------------------------------------------