Does Maxima highlighting still works in Emacs in Windows?
Subject: Does Maxima highlighting still works in Emacs in Windows?
From: Leo Butler
Date: Tue, 17 Dec 2013 13:52:08 GMT
> Date: Tue, 17 Dec 2013 11:55:29 +0000
> From: - <mleoking at gmail.com>
>
> Thanks, Leo,
>
> Now my config in .emcas is:
>
> (add-to-list 'load-path "C:/Program
> Files/Maxima-5.31.2/share/maxima/5.31.2/emacs")
> (autoload 'maxima-mode "maxima" "Maxima mode" t)
> (autoload 'imaxima "imaxima" "Frontend for maxima with Image support" t)
> (autoload 'maxima "maxima" "Maxima interaction" t)
> (autoload 'imath-mode "imath" "Imath mode for math formula input" t)
> (setq imaxima-use-maxima-mode-flag t)
> * (add-to-list 'auto-mode-alist '("\\.ma[cx]" . maxima-mode))*
>
> http://www.emacswiki.org/emacs/MaximaMode does not include the last line.
> That is why I can not get mac files automatically highlighted. I have now
> updated that wiki item.
I don't know if you write/edit demo files, but if you do you can add
'("\\.dem" . maxima-mode) to the auto-mode-alist, too.
You can also invoke maxima-mode in a buffer with the command
M-x maxima-mode
This can be useful in the *scratch* buffer, when you want to edit some
Maxima code without bothering to save the stuff in a regular file.
Btw, maxima-mode needs improvement and any suggestions/contributions
are welcome.
Leo