help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting default font


From: Peter Dyballa
Subject: Re: Setting default font
Date: Mon, 19 Jan 2009 12:46:58 +0100


Am 19.01.2009 um 10:34 schrieb Juha Nieminen:

I'm using emacs 22.3.1 in a MacOS X system. Each time I start emacs I select from the Options menu Set Font/Fontset... > Courier > 14

What would be the magic command to put in .emacs for this to always happen automatically on startup?


        (setq initial-frame-alist
          (append (list
            '(border-color      . "#4e3832")
            '(foreground-color  . "grey10")
            '(background-color  . "AliceBlue")
            '(active-alpha      . 0.875)
            '(inactive-alpha    . 0.75)
            '(font . "fontset-10pt_lucidatypewriter")
            '(top . 136) '(left . 666) '(width . 100) '(height . 57)
          ) initial-frame-alist))

And also default-frame-alist. Another option is an X resource, as documented in info, which selects a fontset built by you.

--
Greetings

  Pete

Debugging? Klingons do not debug. Our software does not coddle the weak.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]