load my chosen theme, which then sets faces as it needs. clear the default-frame-alist (Aquamacs does (did?) some stuff there that I don't like).(load-theme 'sanityinc-tomorrow-bright t) Boiling down the font stuff in my init file I have: (set-frame-font "Menlo:size=12") Make sure you're getting your font everywhere.Using X11? Make sure there's nothing screwy in your user and system Xdefaults or Xresources.Emacs will uses these if other more specific fonts aren't defined. Make sure the generic fonts ("serif" "sans" (or "sans serif") and "monospace") for your OS/desktop are set to fonts you like.If I was in your current situation though I'd do the following. You can then use M-x customize-face RET "face name" to customize that face. Instead, if you find a stray face that you don't like, use the key-chord that recommended ( C-u C-x =) to find the face name and its current font. I recommend against doing that for every. Clicking on the face name will bring you to the customize facility where you can view or edit the face to your whims. You'll get a list of face names on the left, and abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ styled according to the face on the right. To see a list of all (currently defined) faces do: Meta- x list-faces-display RET. In fact, this is what you're doing (under the hood) when you specify a font in default-frame-alist you're setting the :font attribute of the default face, default-face. For your purposes I think you want the :font attribute. A Face has several attributes ( Emacs Manual: Face Attributes), colors, over/under line, strike-through, size, generic font specification, specific font specification, etc. Fonts are treated as attributes of Faces ( Emacs Manual: Faces). Emacs uses/defines/handles fonts in ways that you might not be used to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |