[OS X Emacs] ESS through Aquamacs

Gregory Ryslik rsaber at comcast.net
Sun Apr 18 20:11:19 EDT 2010


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.

Thank you again for ally our help!

Loading prestart plugin files ...
... done.
Shell: /bin/bash
Loading `emulate-mac-keyboard-mode': old-style backquotes detected!
Loading /Users/greg/Library/Preferences/Aquamacs Emacs/Recent Files.el (source)...done
Cleaning up the recentf list...done (0 removed)
19 environment variables imported from login shell (/bin/bash).
Loading /Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex.el (source)...done
Loading /Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/haskell-mode/haskell-site-file.el (source)...done
Loading plugins ...
Loading /Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/site-start.el (source)...done
... done.
Loading `custom-file' failed.
Loading /Users/greg/Library/Preferences/Aquamacs Emacs/Preferences.el (source)...done
one-buffer-one-frame-mode disabled.
Mark set [26 times]
Loading /Users/greg/Library/Preferences/Aquamacs Emacs/frame-positions.el (source)...done
Mark set [5 times]
Truncate long lines disabled
Mark set
Aquamacs is based on GNU Emacs, a part of the GNU/Linux system. It is Free Software: you can improve and redistribute it under the GNU General Public License, version 3 or later. Copyright (C) 2009 Free Software Foundation, Inc. (C) 2009 D. Reitter. No Warranty.
Truncate long lines disabled
Mark set

On Apr 18, 2010, at 4:12 PM, David Reitter wrote:

> On Apr 18, 2010, at 3:18 PM, Gregory Ryslik wrote:
>> Does anyone know how to set up the SAS highlighting via equamacs? I think ESS does this but I am unsure how to set it up as I am fairly new.
> You can type M-x SAS-mode RET  (you can use ESC for Meta, i.e., ESC x SAS-mode RET).
> Does that work for you?
> Looking at `auto-mode-alist', I see that all *.sas files should already show up in SAS mode (in Aquamacs 2.x).
> Hope that helps.  If anything is not working correctly, let us know (post *Messages* buffer and Aquamacs version) and we'll try to help.
> --
> 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