From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jester@panix.com (Jesse Sheidlower) Newsgroups: gmane.emacs.help Subject: Re: Semi-OT: font advice Date: 25 Apr 2004 21:49:12 -0400 Organization: Oxford University Press Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <4087F4FB.7080805@yahoo.com> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1082944922 13343 80.91.224.253 (26 Apr 2004 02:02:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Apr 2004 02:02:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 26 04:01:53 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BHvRR-0004zX-00 for ; Mon, 26 Apr 2004 04:01:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BHvQa-0003tC-PS for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Apr 2004 22:01:00 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!panix2.panix.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: panix2.panix.com Original-X-Trace: reader2.panix.com 1082944152 11866 166.84.1.2 (26 Apr 2004 01:49:12 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 26 Apr 2004 01:49:12 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:122708 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17997 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17997 [posted and e-mailed] In article <4087F4FB.7080805@yahoo.com>, Kevin Rodgers wrote: >Jesse Sheidlower wrote: > > Another thing is that when I do specify a font in my .emacs with > > something like > > > > (set-face-font 'default "-Misc-Fixed-Medium-R-Normal--15-140-75-75-C-90-ISO8859-1") > > > > I then can't run Emacs in a terminal window (i.e. starting up > > with "emacs -nw")--I get a error "Error in init file: error: > > "X windows are not in use or not initialized"". Assuming I do > > eventually find a nice font, how do I use it in X without > > screwing up my non-X sessions? > >(when (eq window-system 'x) ; or better yet: (display-multi-font-p) > (set-face-font ...)) I just realized there is a problem with the latter: when I create a new frame with C-x 5-2, the new frame is created in the system default font, not the one I instruct in the set-face-font command. Is there a way to ensure that any such frames appear with my chosen font? Jesse Sheidlower