fivemack: (Default)
Tom Womack ([personal profile] fivemack) wrote2006-12-20 01:15 pm
Entry tags:

emacs question

My .emacs file contains the line

(set-default-font "7x13")

and indeed whenever I load a file into emacs, it comes up in 7x13.

But if I do C-x 5 2 to get another emacs window, the file in that window appears in a much larger and uglier font with inelegant serifs. How do I really set the default font?

[note: I don't run emacs-client, I edit files with 'emacs foo' on the command-line, so often I have lots of separate emacs processes; also, by 'window' I mean a window-system window rather than whatever emacs's internal jargon 'window' means]
ext_8103: (Default)

[identity profile] ewx.livejournal.com 2006-12-20 01:20 pm (UTC)(link)

I use X resources to configure mine.

Emacs*menubar*font:     -adobe-helvetica-medium-r-normal--12-*-75-75-p-*-iso8859-1
Emacs*popup*font:       -adobe-helvetica-medium-r-normal--12-*-75-75-p-*-iso8859-1
Emacs.font:             -misc-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso8859-1
Emacs.iconName:         emacs
Emacs21.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1

You'll have to brave the X font naming nightmare to figure out what name to put instead of the ones I have...

[identity profile] aardvark179.livejournal.com 2006-12-20 02:05 pm (UTC)(link)
Setting emacs default fonts seems to be a battle of wills. I've not found a satisfactory cross platform way that is respected by the new frames, font-lock stuff, and doesn't involve setting the same thing in multiple places.

I'd love to know what you're supposed to do.

[identity profile] arnhem.livejournal.com 2006-12-20 03:58 pm (UTC)(link)
"emacs -fn 7x13" ?