What are some good emacs font faces to manually set?

1k views Asked by At

There is alllll kinds of information out there about emacs color schemes, font locks, etc but I am having trouble getting where I want to be. Basically I would like to know what are some of the best font faces to set in order to have a nice solid color theme which is a good cross language solution. I am ending up with lots of language syntax (parens, brackets, operators, etc) not highlighted in some places when I expect them to be.

Below are the faces I am currently setting:

 font-lock-builtin-face
 font-lock-comment-face
 font-lock-comment-delimiter-face
 font-lock-doc-face
 font-lock-doc-string-face
 font-lock-function-name
 font-lock-keyword-face
 font-lock-negation-char-face
 font-lock-preprocessor-face
 font-lock-string-face
 font-lock-type-face
 font-lock-variable-name-face

What if any major faces am I missing here?

3

There are 3 answers

4
Noufal Ibrahim On BEST ANSWER

Don't do it like this. Choose a colour-theme that looks "okay" and when you're doing some work and find something unsatisfactory, customise that face to suite your taste.

I once knew someone who actually did an xlsfonts and opened an xterm for each one to decide which one he wanted to use while coding. Not thing kind of way I'd like to spend my time. :)

0
swdev On

anyhow, I give up trying to use best font in GUI system. I revert to Raster Font, use in DOS Prompt / if it is in Linux, a TTY. Now that is so simple :)

My main workstation is Windows. There is (off course) native Win32 GUI version of Emacs, but I prefer to run it in DOS Command Prompt, using I am using emacs -nw. Using a few trick (write app that draw black border around screen edges), a found it able to make an illusion that it is in a console mode.

I love console mode :)

0
AudioBubble On

zenburn is a beautiful color theme. I use the terminus font on debian.