[OS X Emacs] ESS through Aquamacs

Gregory Ryslik rsaber at comcast.net
Sun Apr 18 20:35:10 EDT 2010

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?

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

Thanks again for all your help!

Kind regards,

On Apr 18, 2010, at 8:25 PM, David Reitter wrote:

> On Apr 18, 2010, at 8:11 PM, Gregory Ryslik wrote:
>> So after running your command, I get an ESS option in the menu but when I type actual SAS code I do not get any of the convenient highlighting. I am using Aquamacs 2.0 Preview5. My messages buffer is attached below. Maybe I don't know enough about EMACS but when i start the buffer in "R" mode I get my regular syntax highlighting.
> That shouldn't be - it does the syntax highlighting for me with some sample code.
> Try starting Aquamacs using the Help->Diagnose->Start w/o customizations function, then load the .sas file again (and make sure we're in ESS / SAS mode).
> I'm using this piece of code:
> http://www.ats.ucla.edu/stat/sas/code/partreg.htm
> If it still doesn't highlight, try reporting this as a bug using ESS / Send Bug Report.  
> I'm sorry that I can't be more helpful - it seems like this is an ESS problem.
> --
> 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