From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Charles Muller Newsgroups: gmane.emacs.help Subject: Re: Setting default fonts Date: 13 Jun 2002 15:48:40 +0900 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <1023950921.1822.20.camel@localhost.localdomain> References: <3D06E191.E6191CC4@mailandnews.com> <1023873519.6111.4.camel@localhost.localdomain> <20020613.003830.74751788.acmuller@gol.com> <3D077D4E.F67D2235@nb.conexant.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1023950992 11418 127.0.0.1 (13 Jun 2002 06:49:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2002 06:49:52 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17IOQZ-0002y2-00 for ; Thu, 13 Jun 2002 08:49:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17IOOs-0001sX-00; Thu, 13 Jun 2002 02:48:06 -0400 Original-Received: from smtp02.fields.gol.com ([203.216.5.132]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17IOMS-0001oU-00 for ; Thu, 13 Jun 2002 02:45:36 -0400 Original-Received: from 203-216-51-203.dsl.gol.ne.jp ([203.216.51.203] helo=[192.168.1.2]) by smtp02.fields.gol.com with esmtp (Magnetic Fields) id 17IOMQ-0007lU-00 for ; Thu, 13 Jun 2002 15:45:34 +0900 Original-To: Help Gnu Emacs In-Reply-To: <3D077D4E.F67D2235@nb.conexant.com> X-Mailer: Ximian Evolution 1.0.5 X-Abuse-Complaints: abuse@gol.com Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 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:462 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:462 On Thu, 2002-06-13 at 01:56, Chuck Siska wrote: > chuck -- > > to see all the available fonts, first select a buffer into which > you don't mind entering text (e.g., the *scratch* buffer). now > enter the following lisp expression in that buffer: > > (insert (prin1-to-string (x-list-fonts "*"))) > > place the text cursor at the end of this lisp expression and type > M-x eval-print-last-sexp. > > you should see a parenthesized list like the following appear immediately > after that lisp expression. each entry, in double-qoutes, is a > font description. (note, i've shortened my output list, here, > from my own 880 entries to just the two shown. > > ("-*-Mini Pics Red Rock-normal-r-*-*-*-*-96-96-p-*-iso8859-1" "-*-Mini Pics Lil > Vehicles-normal-r-*-*-*-*-96-96-p-*-iso8859-1") > > now, i setup my initial font in emacs by executing the following > lisp expressions when i'm running emacs on mswind. These are > executed automatically in my _emacs (or .emacs) file when emacs > starts up, but you can execute them by hand if you wish. note, > that i've taken a liberty, here, of replacing some of the font > description elements with a "*" wildcard, but you can just use > one of the font descriptions directly. > > ; set font to terminal, regular, 6 point. > (setq cs-default-font "-*-Terminal-normal-r-*-*-8-60-*-*-c-*-*-oem-") > > (progn > (setq initial-frame-alist > (append `((font . ,cs-default-font)) > initial-frame-alist)) > (setq default-frame-alist > (append `((font . ,cs-default-font)) > default-frame-alist))) Great! Thanks! Chuck