[OS X Emacs] can't save color themes in aquamacs

David Reitter david.reitter at gmail.com
Mon May 10 12:33:32 EDT 2010


On May 10, 2010, at 12:10 PM, Ted gao wrote:

> Thank you David, I'd like to associate it with one major mode, see c++, can you tell me how to do that? what customization file i should use? 
> For now, I didn't find init.el, default.el. However, i do find site-start.el, but i don't know if i should change file. i created my own .emacs file, however, it didn't work. 

Please click Help -> Aquamacs Wiki

There you'll find a FAQ and pointers to customization.  You want to use ~/.emacs or, better, Preferences.el.

Do not change anything inside the .app bundle. 

> another good thing to do is to change the width of the indentation, toggle between 4 spaces or 8 spaces, I didn't find out how to do that either.

Where did you look?  Not sure out of the top of my head.  
Help-> Emacs Manual is searchable (in Aquamacs 2.0) and should provide an answer.


As for color themes, do M-x customize-variable RET  c++-mode-hook RET
and then add the color theme function name there, e.g. `color-theme-goldrenrod'.

Save for future sessions.

You may need (require 'color-theme) in your Preferences.el.

Let me know if that works.


--
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