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

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

Re: proper setting of default font (and string-handling in elisp?)


From: Peter Dyballa
Subject: Re: proper setting of default font (and string-handling in elisp?)
Date: Wed, 26 Aug 2009 09:44:36 +0200


Am 26.08.2009 um 04:11 schrieb Tom Roche:

I'm running an emacs-23 and am wanting to set my default font for
every frame in init.el. How to do so properly?

        (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))

There is also default-frame-alist. As you can see you can append to some basic structure elements for this or that GNU Emacs version. There may be much more frame-specific entities.

--
Greetings

  Pete

Isn't vi that text editor with two modes... one that beeps and one that corrupts your file?
                                – Dan Jacobson, on comp.os.linux.advocacy








reply via email to

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