From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryan Moszynski Newsgroups: gmane.emacs.help Subject: Re: starting emacs with -fn 10x20 from .emacs Date: Wed, 13 Jun 2007 13:02:12 -0400 Message-ID: <200706131302.12698.ryan.moszynski@gmail.com> References: <200706111726.04653.ryan.moszynski@gmail.com> <2591630A-568A-4F6A-8F10-4DEB9B3E8467@Web.DE> Reply-To: ryan.moszynski@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181754813 28331 80.91.229.12 (13 Jun 2007 17:13:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 17:13:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 13 19:13:32 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 1HyWPP-0006eX-OM for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jun 2007 19:13:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyWPP-0002hY-6N for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jun 2007 13:13:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyWEe-0007xT-0g for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 13:02:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyWEb-0007xH-IB for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 13:02:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyWEb-0007xE-Da for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 13:02:17 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.242]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyWEa-0001NV-Sh for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 13:02:17 -0400 Original-Received: by an-out-0708.google.com with SMTP id c25so49618ana for ; Wed, 13 Jun 2007 10:02:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=bxtaJzN2eZPl0NlFdLGAe5HHrTrPTsCLueZxS3h+QYsRnvs5XXE6iPavBN4vtvVA63DJVr0ATrD3KvQ0tOrmAz0N+6ZfaE39vvu/cojs2YfUitY072qgz+vBu2+DwldXZgT12fA0SXQo8V8l9QkznTx/hGJ2CLDSGFN6jnM8/KA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=Vt/A3EHrCglnWf8ujVrI9erNGSKN6DBdeAEoOi11Es1qInSniN7oiOWKkohHh//VWloPX41kki/siXeHP25BpgLdlv+1tQ8J83xF/NuhJSoBJVqzE5QJWjmkq+EMRDR9ACXiEqXfvRIQSlXGfxI+UbgauLB1AUcLbFFVfviRSyc= Original-Received: by 10.100.120.5 with SMTP id s5mr476702anc.1181754136022; Wed, 13 Jun 2007 10:02:16 -0700 (PDT) Original-Received: from prak.psc.edu ( [128.182.168.98]) by mx.google.com with ESMTP id d24sm1407519and.2007.06.13.10.02.14 (version=SSLv3 cipher=OTHER); Wed, 13 Jun 2007 10:02:14 -0700 (PDT) User-Agent: KMail/1.9.3 In-Reply-To: <2591630A-568A-4F6A-8F10-4DEB9B3E8467@Web.DE> Content-Disposition: inline X-detected-kernel: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 13 Jun 2007 13:12:42 -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:45017 Archived-At: this method works to set the font on startup. However, i use color-theme in .emacs to load my colors: (require 'color-theme) (color-theme-initialize) (color-theme-aalto-light) and when using: (setq default-frame-alist '( (font . "10x20") )) the color theme loads fine for the initial window, but then when i make a new emacs window with 'C-x 5 2' my color them doesn't load at least the background color properly. is there a way around this? thanks, ryan to set the font size . .emacs On Monday 11 June 2007 6:26 pm, Peter Dyballa wrote: > Am 11.06.2007 um 23:26 schrieb Ryan Moszynski: > > however, if i start the emacs session from a terminal or as root, i > > have to > > either type the "-font 10x20" every time, or change the font after > > i start > > emacs through shift/left-click. I have been looking but i cannot > > find how to > > do this through my .emacs file. > > (setq default-frame-alist '( > (border-color . "#4e3831") > (foreground-color . "grey10") > (background-color . "ghost white") > (vertical-scroll-bars . left) > (cursor-color . "purple") > (cursor-type . box) > (font . 10x20) > (active-alpha . 0.75) > (inactive-alpha . 0.875) > (top . 50) (left . 150) (width . 89) (height . 56))) > > There is also initial-frame-alist ... > > -- > Greetings > > Pete > > IMBECILITY, n. A kind of divine inspiration, or sacred fire > affecting censorious critics of this dictionary. > -- Ambrose Bierce: _The Devil's Dictionary_