From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Forrest Newsgroups: gmane.emacs.help Subject: Re: setting the font in .emacs Date: Sun, 22 Sep 2002 16:52:36 -0400 Organization: University of Virginia 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 1032729418 15928 127.0.0.1 (22 Sep 2002 21:16:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 22 Sep 2002 21:16:58 +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 17tE64-00048m-00 for ; Sun, 22 Sep 2002 23:16:56 +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 17tE5S-0005th-00; Sun, 22 Sep 2002 17:16:18 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp2.aus1.giganews.com!nntp.giganews.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!uunet!lax.uu.net!dfw.uu.net!ash.uu.net!hearst.acc.Virginia.EDU!murdoch.acc.Virginia.EDU!mug.sys.virginia.edu!drf5n Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: mug.sys.virginia.edu Original-X-Trace: murdoch.acc.Virginia.EDU 1032728079 1124 128.143.6.251 (22 Sep 2002 20:54:39 GMT) Original-X-Complaints-To: abuse@virginia.edu Original-NNTP-Posting-Date: 22 Sep 2002 20:54:39 GMT In-Reply-To: <874rchernd.fsf@smtp.blueyonder.co.uk> Original-Xref: nntp.stanford.edu gnu.emacs.help:105153 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:1708 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1708 On Sun, 22 Sep 2002, Keith 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? Use the variable window-system: (when window-system (...)) Dave -- Dave Forrest drf5n@virginia.edu (804)642-0662h (434)924-3954w http://mug.sys.virginia.edu/~drf5n/