From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: proper setting of default font (and string-handling in elisp?) Date: Wed, 26 Aug 2009 09:44:36 +0200 Message-ID: References: <20090826021144.AB6291405BABB@cedar.isis.unc.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1251274178 6357 80.91.229.12 (26 Aug 2009 08:09:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2009 08:09:38 +0000 (UTC) To: help-gnu-emacs@gnu.org, Tom Roche Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 26 10:09:31 2009 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 1MgDZR-0003ZR-LG for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Aug 2009 10:09:29 +0200 Original-Received: from localhost ([127.0.0.1]:54051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgDZR-0001wF-3K for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Aug 2009 04:09:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgDCM-0002dm-2l for help-gnu-emacs@gnu.org; Wed, 26 Aug 2009 03:45:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgDCH-0002Zz-2l for help-gnu-emacs@gnu.org; Wed, 26 Aug 2009 03:45:37 -0400 Original-Received: from [199.232.76.173] (port=50898 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgDCG-0002Zs-TL for help-gnu-emacs@gnu.org; Wed, 26 Aug 2009 03:45:32 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:6352) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MgDCG-0007tt-B3 for help-gnu-emacs@gnu.org; Wed, 26 Aug 2009 03:45:32 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgDCE-0002XS-VF for help-gnu-emacs@gnu.org; Wed, 26 Aug 2009 03:45:31 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id B65CE10F91181; Wed, 26 Aug 2009 09:44:43 +0200 (CEST) Original-Received: from [91.35.216.120] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (WEB.DE 4.110 #314) id 1MgDBT-0006c2-00; Wed, 26 Aug 2009 09:44:43 +0200 In-Reply-To: <20090826021144.AB6291405BABB@cedar.isis.unc.edu> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18NVQKx/COWxWFXc+wCstBBIdpzL51urxoLb/aI wB7Kds+wnlJQ+swCDxobISm/nzDV77WO2X9+k9vldQKbTcAwvr E5GLBYxkE9or7Xs2I8NQ== X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:67548 Archived-At: 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 =20 some basic structure elements for this or that GNU Emacs version. =20 There may be much more frame-specific entities. -- Greetings Pete Isn't vi that text editor with two modes... one that beeps and one =20 that corrupts your file? =96 Dan Jacobson, on = comp.os.linux.advocacy