From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Lewis Newsgroups: gmane.emacs.help Subject: Re: setting the font in .emacs Date: Mon, 23 Sep 2002 12:40:55 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <874rchernd.fsf@smtp.blueyonder.co.uk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032811595 4191 127.0.0.1 (23 Sep 2002 20:06:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Sep 2002 20:06:35 +0000 (UTC) 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 17tZTV-00015K-00 for ; Mon, 23 Sep 2002 22:06:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17tZTK-0004y3-00; Mon, 23 Sep 2002 16:06:22 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!LF.net!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: css.css.sfu.ca Original-X-Trace: quimby.gnus.org 1032812680 1459 199.60.1.20 (23 Sep 2002 20:24:40 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 23 Sep 2002 20:24:40 GMT X-Attribution: Benjamin Lewis X-Yow: My pants just went to high school in the Carlsbad Caverns!!! User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8) Cancel-Lock: sha1:ucLQocajevSobrl/NOHlbkIaals= Original-Xref: nntp.stanford.edu gnu.emacs.help:105199 Original-To: help-gnu-emacs@gnu.org 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:1754 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1754 On Sun, 22 Sep 2002, kroc@blueyonder.co.uk wrote: >>>>>> "os" == Oliver Scholz writes: > > os> (set-face-font 'default > os> "-b&h-lucidatypewriter-medium-r-*-*-*-140-*-*-*-*-iso8859-1") > > > That was something I had not yet found out, but actually solved one of > my small problems. Tried it and it worked perfectly. > > Unfortunately I use emacs at the cli as well and this generates an > error if emacs is started outside of X. How should it be modified to > only apply ix X is running, there by not generating the error? How about (if window-system (set-face...)) -- Benjamin Lewis On a paper submitted by a physicist colleague: "This isn't right. This isn't even wrong." -- Wolfgang Pauli