help-octave
[Top][All Lists]
Advanced

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

Re: Problems setting up Xemacs Octave-mode


From: Terry Duell
Subject: Re: Problems setting up Xemacs Octave-mode
Date: Wed, 10 Sep 2008 08:45:52 +1000
User-agent: Opera Mail/9.52 (Linux)

On Wed, 10 Sep 2008 04:14:16 +1000, John W. Eaton <address@hidden> wrote:


The emacs subdirectory is in the Octave source distribution.  People
who make binary packages may include it in a separate package, or not
at all.  For example, Debian has a separate octave3.0-emacsen package
that contains the Emacs Lisp files.

OK, thanks.

Where did you find the octave-mod.el file if it was not part of your
distributions files?

Well, that's a good question. I didn't keep a link to the site.
I think it was an individuals site.

| (autoload 'octave-mode "octave-mod" nil t)
| (setq auto-mode-alist
|        (cons '("\\.m$" . octave-mode) auto-mode-alist))
|
| to my '/home/terry/.xemacs/custom.el' file, but when I load a 'xxx.m' file
| into xemacs it doesn't understand the mode and issues the following
| error...
|
| 'error in file mode specification: wrong number of arguments:
| define-abbrev, 6'
|
| So, I obviously have some/all things wrong.

There are some incompatibilities in the functions provided by GNU
Emacs and XEmacs.  I guess octave-mod.el is expecting to be able to
pass more arguments to define-abbrev than the XEmacs define-abbrev
function accepts.  However, the octave-mod.el file that is currently
part of Octave's source tree only calls define-abbrev with 4
arguments.  So again, where did you get your copy of octave-mod.el?
If it was from GNU Emacs, then I'm not surprised that it fails.

OK. No it wasn't from GNU Emacs.


| If anyone is successfully running octave mode using Xemacs on Fedora 8,
| please point me in the right direction.

I don't know precisely what needs to be done to make it work with
XEmacs.  The Octave mode files are included in GNU Emacs now, so if
you use that, then you don't need to do anything special.  If you must
use XEmacs, then perhaps an XEmacs user can provide some additional
help.

OK. Thanks for your help.

Cheers,
--
Regards,
Terry Duell


reply via email to

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