I don’t know why this caused me so many problems, but I finally got my look and feel for emacs to a happy state. The default emacs font size is just too big for my tastes. I tried using the menu bar “Customize Emacs” option to change the font, but that caused emacs to flicker for a few seconds each time I opened it. Being the kind of person who navigates around a shell and opens files from there (as compared to using a single emacs instance to load multiple files and switch buffers), the flicker was driving me nuts.

The menu bar customization added all of the following flicker-inducing configuration to .emacs:

(custom-set-faces
  '(default ((t (:inherit nil :stipple nil :inverse-video nil :box nil :strike-through nil 
:overline nil :underline nil :slant normal :weight normal :height 98 :width normal
:foundry "unknown" :family "DejaVu Sans Mono")))))

I was able to replace that with the simpler, flicker-free:

(set-face-attribute 'default nil :height 92)

The other thing I wanted was a larger emacs window by default (yes, I’m that lazy that manually resizing them was driving me nuts):

(if (window-system) (set-frame-height (selected-frame) 66))
(if (window-system) (set-frame-width (selected-frame) 102))

That gives me a workable font and a window size that lets me comfortably fill my screen with two emacs windows working side by side. Now I just need to actually focus and get to work to take advantage of my new found editor goodness.

Comments are closed.