help-octave
[Top][All Lists]
Advanced

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

Re: Octave & Emacs


From: Moreno Marzolla
Subject: Re: Octave & Emacs
Date: Thu, 25 Sep 2008 18:06:50 +0200
User-agent: Thunderbird 1.5.0.14ubu (X11/20080724)

Andreas Yankopolus wrote:
I've been unable to get Octave (*.m) files to automatically start octave-mode in Emacs under Ubuntu Hardy Heron. The system is already adding the cons for octave mode ("\\.m$" . octave-mode) to auto-mode- alist. The octave3.0-emacsen package is installed and emacs-mod.elc is present. Despite this, I have to manually set *.m buffers to octave- mode.

Any ideas on what I should check?

Hi Andreas,

I don't know whether better solutions exist, but I am using the following in my /~.emacs initialization script and it works:

(autoload 'octave-mode "octave-mod" nil t)
(setq auto-mode-alist
      (cons '("\\.m$" . octave-mode) auto-mode-alist))

(I'm using Ubuntu 6.06). This would be a workaround rather than a true solution to your problem, but anyway...

Moreno.

--
Moreno Marzolla
EMail: address@hidden
WWW  : http://www.pd.infn.it/~marzolla



reply via email to

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