emacs question
Dec. 20th, 2006 01:15 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
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]
(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]
no subject
Date: 2006-12-20 01:20 pm (UTC)I use X resources to configure mine.
You'll have to brave the X font naming nightmare to figure out what name to put instead of the ones I have...
no subject
Date: 2006-12-20 01:27 pm (UTC)no subject
Date: 2006-12-20 03:02 pm (UTC)no subject
Date: 2006-12-20 02:05 pm (UTC)I'd love to know what you're supposed to do.
no subject
Date: 2006-12-20 03:58 pm (UTC)no subject
Date: 2006-12-20 06:19 pm (UTC)Hence
alias e="emacs -fn 7x13"
or suitable equivalent for the shell in use. Having your various setup files keep e defined suitably (to run the editor directly, run emacsclient, or whatever) in the right contexts makes a lot of things simpler to remember. Also shorter to type.
no subject
Date: 2006-12-20 06:21 pm (UTC)I suppose I'd better go back and reread my friends list for the locked posts, then.