[OS X Emacs] ESS through Aquamacs

David Reitter david.reitter at gmail.com
Sun Apr 18 20:49:11 EDT 2010

On Apr 18, 2010, at 8:35 PM, Gregory Ryslik wrote:

> So after playing around with it some more I think I have found the problem:
> It correctly highlights "proc mixed"  but does not highlight "Proc Mixed". As SAS is generally not case sensitive I tend to capitalize Procedures and Names to make it easier to read. Any way in getting aquamacs to recognize that?

Absolutely, but you'll have to adapt SAS-mode-font-lock-keywords.  You may have to load the ESS file (require 'ess-site) or something like this before you modify it.  If you're not familiar with this sort of stuff, you can ask the ESS people or hire an Emacs person around here to do it for you (won't take long).

> Also, is there a way I can add the "SAS" mode directly to the Menu located in "New Buffer -> In Mode". 

Yes, that's easy, just customize (Options menu) the variable `aquamacs-known-major-modes'.

> Thanks again for all your help!

You're very welcome.

http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!

More information about the MacOSX-Emacs mailing list