From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Customizing new frames Date: Tue, 1 Feb 2005 10:25:10 -0800 Message-ID: References: <6dbd4d0005020110077a2894a6@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107284234 25074 80.91.229.2 (1 Feb 2005 18:57:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 18:57:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 01 19:57:14 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cw3Cz-0005FM-UH for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Feb 2005 19:57:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw3Py-0005sQ-5V for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Feb 2005 14:10:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cw3Nf-0004fV-4V for help-gnu-emacs@gnu.org; Tue, 01 Feb 2005 14:08:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cw3Ne-0004eN-2W for help-gnu-emacs@gnu.org; Tue, 01 Feb 2005 14:08:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw3Ii-0002TR-8h for help-gnu-emacs@gnu.org; Tue, 01 Feb 2005 14:03:00 -0500 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Cw2iD-0003lc-RZ for help-gnu-emacs@gnu.org; Tue, 01 Feb 2005 13:25:18 -0500 Original-Received: from agminet02.oracle.com (localhost [127.0.0.1]) by agminet02.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j11IPGs3021498; Tue, 1 Feb 2005 10:25:16 -0800 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by agminet02.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j11IPEeV021465; Tue, 1 Feb 2005 10:25:14 -0800 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j11IPD6X025958; Tue, 1 Feb 2005 11:25:13 -0700 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-81-59.vpn.oracle.com [141.144.81.59]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j11IPC9S025937 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 1 Feb 2005 11:25:13 -0700 Original-To: "Denis Bueno" , X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <6dbd4d0005020110077a2894a6@mail.gmail.com> Importance: Normal 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:23827 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23827 I have certain font settings set using `set-default-font', in my .emacs. Specifically, (set-default-font "-*-clean-medium-r-normal--*-120-*-*-*-*-*-*") When I open a new frame (C-x 5 2), it's like my font settings don't get "remembered." Is there a way to set the default font for the first frame and every subsequent frame? You need to add your change to variable `default-frame-alist', and then save that variable (using Customize). See http://www.emacswiki.org/cgi-bin/wiki/CustomizingAndSaving for an explanation (scroll down to section Setting and Saving Frame Parameters). See command `set-frame-alist-parameter-from-frame' in library http://www.emacswiki.org/elisp/frame-cmds.el, which you can use to easily transfer your font setting to `default-frame-alist'. HTH, Drew