octave-maintainers
[Top][All Lists]
Advanced

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

Re: Octave emacs lisp gobbledy-gook


From: Daniel J Sebald
Subject: Re: Octave emacs lisp gobbledy-gook
Date: Sat, 15 Jan 2005 03:53:54 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

Daniel J Sebald wrote:

To begin using this mode for all `.m' files that you edit, add the
following lines to your `.emacs' file:

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

However, both of the those commands seemed to cause errors in emacs. I could leave out the first line, and the Fedora setup already declares "octave-mode". However, the documentation should probably be changed to something that works if it is present in .emacs. (What that would be, I have no idea. You might look in the lisp file /usr/local/share/emacs/site-lisp/loaddefs.el.)


I included from the loaddefs.el file the syntax (without the long-long-long comment):

(autoload (quote octave-mode) "/usr/share/emacs/21.3/lisp/octave-mod" "" t nil)

in my .init.el xemacs file. So, apparently that works and I'm now a happy camper again. (I just put the full path in for the file because I got tired of looking for answers.)

Dan



reply via email to

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