RE: mathematica emacs syntax highlighting
- To: mathgroup at smc.vnet.net
- Subject: [mg68220] RE: [mg68184] mathematica emacs syntax highlighting
- From: "Virgilio, Vincent - SSD" <Vincent.Virgilio at itt.com>
- Date: Sat, 29 Jul 2006 01:00:54 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
In the past, I've used "mma.el" in XEmacs; it might be identical to the one in your last URL below. The following additions to your "init.el" or ".emacs" file should enable syntax highlighting and function enumeration (into an entry on the XEmacs menu bar): (autoload 'mma-mode "mma.el" "Mathematica package file mode" t) (setq auto-mode-alist (cons '("\\.m\\'" . mma-mode) auto-mode-alist)) You should also be able to modify indentation with: (setq mma-indentation 8) Vince Virgilio -----Original Message----- From: Chris Chiasson [mailto:chris at chiasson.name] To: mathgroup at smc.vnet.net Subject: [mg68220] [mg68184] mathematica emacs syntax highlighting Dear MathGroup, I've read that various Mathematica emacs lisp files have support for syntax highlighting. However, I don't have enough knowledge about emacs to be able to tell how to enable the syntax highlighting just from looking at the script. Does anyone know of a Mathematica emacs lisp file that supports syntax highlighting? If so, which one, and how do I enable it? http://www.risc.uni-linz.ac.at/people/burki/software/mathematica.el http://pivarski.watson.org/home/mathematica.el (different from above) http://library.wolfram.com/infocenter/MathSource/4567/ (math.el) http://www.itwm.fhg.de/as/asemployees/wichmann/mma.el -- http://chris.chiasson.name/ ************************************ This e-mail and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT, Inc. The recipient should check this e-mail and any attachments for the presence of viruses. ITT accepts no liability for any damage caused by any virus transmitted by this e-mail. ************************************