[OS X Emacs] Changing default font

David Reitter david.reitter at gmail.com
Thu Apr 22 17:11:14 EDT 2010


On Apr 22, 2010, at 3:46 PM, James Harkins wrote:

> I'm starting to like aquamacs but... I've been messing around with this for about an hour and made no progress.
> 
> All I wanted to do is change the default font in Aquamacs. Should be simple, right? But when I go to customize-group basic-faces, it says:
> 
> Default face: (sample) Hide Face
>    State: CHANGED outside Customize; operating on it here may be unreliable.
> Basic default face.
> 
> If I change it and set for current session, it works, but it won't save permanently.

Faces are overridden by mode-specific faces, which are named after the major mode: text-mode-default is the face for text-mode (and derivatives inherit that), org-mode-default for org-mode, and so on.

If you just want one face for everything, turn off `aquamacs-auto-face-mode' (Options->Appearance) and customize the default face as you did.  This should also be in the Aquamacs FAQ.

> - the actual variable name corresponding to "Default face" in the customize buffer;

For "default Face", the face symbol is `default'.
It it was "Emacs Lisp Mode Default face", the symbol would be `emacs-lisp-mode-default'.

But these are not variables.

> - where it has been set "outside Customize" so I could remove it from another el file if necessary and then use customize.

Just do the above and it should work.

I presume you're using one of the preview versions?  Remember it is not a release.  The "changed outside customize" is a bug and I'll look into it.  Saving as above should work, though.


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