From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: seberino@spawar.navy.mil Newsgroups: gmane.emacs.help Subject: Re: How set font for *all* buffers... not just first one? Date: Tue, 26 Nov 2002 10:26:05 -0800 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <20021126102605.B8872@spawar.navy.mil> References: <87wun06frx.fsf@blind-bat.une.edu.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1038335148 20364 80.91.224.249 (26 Nov 2002 18:25:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2002 18:25:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18GkP1-0005Hp-00 for ; Tue, 26 Nov 2002 19:25:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GkQa-0005pn-00; Tue, 26 Nov 2002 13:27:20 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18GkPQ-0005Oh-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 13:26:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18GkPO-0005OJ-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 13:26:07 -0500 Original-Received: from seberino.spawar.navy.mil ([128.49.22.159]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GkPN-0005OE-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 13:26:06 -0500 Original-Received: from seberino by seberino.spawar.navy.mil with local (Exim 4.10) id 18GkPN-0002Kp-00; Tue, 26 Nov 2002 10:26:05 -0800 Original-To: Tim Cross Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <87wun06frx.fsf@blind-bat.une.edu.au>; from tcross@pobox.une.edu.au on Tue, Nov 26, 2002 at 04:50:26PM +1100 Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:4049 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4049 Tim thanks for help... I have Emacs 21 and tried (set-face_attribute ...) as well as (set-face-attribute ...) the first gave error and second didn't change font. Am I missing something? CS On Tue, Nov 26, 2002 at 04:50:26PM +1100, Tim Cross wrote: > Jesper Harder writes: > > > seberino@spawar.navy.mil writes: > > > > > This line in .emacs set font for first buffer only... > > > > > > (set-frame-font "-b&h-luxi mono-medium-r-normal-*-*-160-*-*-m-*-iso8859-15") > > > > > > So my question is....where do I set font so that all buffers > > > use that font???.... > > > > Use `default-frame-alist' or set the font as an X resources. > > or use M-x customize-face RET default RET > > Or, if running emacs 21, you can use set-face-attribute for the > default face. If the 3rd argument to this function is nil, it will > apply to all frames e.g. > > (set-face_attribute 'default nil :family "b&h-lucidatypewriter") > > or, on the command line use emacs -fn "-b&h-lucidatypewriter-...... > > Personally, I like to use X resources for setting the font as using > that font is only relevant when your running under X, but your .emacs > runs when you running under tty, X, within xterm, etc etc. > > The X setting is > > emacs.font: -b&h-.......... > > in your .Xresources file. > > Tim > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs -- _______________________________________ Dr. Christian Seberino SPAWAR Systems Center San Diego Code 2363 49590 Lassing Road, Room A339 San Diego, CA 92152-6147 U.S.A. Phone: (619) 553-7940 Fax: (619) 553-1269 Email: seberino@spawar.navy.mil _______________________________________