From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Steven L." Newsgroups: gmane.emacs.help Subject: Re: How to Get a Font Loaded Automatically on Start Up Date: Tue, 02 Oct 2007 00:13:17 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <4701C55D.6080204@earthlink.net> References: <1191089436.442376.71760@n39g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191316750 11092 80.91.229.12 (2 Oct 2007 09:19:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2007 09:19:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 02 11:19:07 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IcduC-00028s-QN for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Oct 2007 11:19:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Icdu7-0006yD-Iq for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Oct 2007 05:18:59 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!sn-xt-sjc-04!sn-xt-sjc-07!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) In-Reply-To: <1191089436.442376.71760@n39g2000hsh.googlegroups.com> Original-X-Complaints-To: abuse@supernews.com Original-Lines: 32 Original-Xref: shelby.stanford.edu comp.emacs:95540 gnu.emacs.help:152526 X-Mailman-Approved-At: Tue, 02 Oct 2007 05:17:50 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48038 Archived-At: kvnsmnsn@hotmail.com wrote: > When I bring up an Emacs window I can click on , select > from the menu, and then select 10> to > get precisely the font I want. But I have to do this every time I > bring up an Emacs window. Is there something I can put in my ".emacs" > file that will do this automatically for me every time I bring up an > Emacs window? The function that I use is "custom-set-faces" But you don't even have to code it yourself in your .emacs file. You can use the Edit Options... feature. Find the Basic Faces customization group, set the font and fontsize to whatever you want, and then select State:Save for future sessions. That will append a call to "custom-set-faces" to your .emacs file, so that it will be invoked the next time you start emacs. BTW, when you change the fontsize and font, you may also want to change the default size of the window that comes up too. I use a big fontsize of 120 (my eyes aren't what they used to be), so I have to make the window have fewer characters. In my .emacs file I added (set-frame-parameter nil 'height 34) (set-frame-parameter nil 'width 84) to make emacs come up in a 34 x 84 window every time. -- Steven L. Email: sdlitvin@earthlinkNOSPAM.net Remove the NOSPAM before replying to me.