From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: setting default font name Date: Sun, 18 May 2014 15:03:19 -0700 (PDT) Message-ID: References: <87egzrz5c2.fsf@bach.histomat.net> <87a9aezt9m.fsf@bach.histomat.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400450641 24915 80.91.229.3 (18 May 2014 22:04:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 May 2014 22:04:01 +0000 (UTC) To: Haines Brown , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 19 00:03:54 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wm9BR-0006Um-BY for geh-help-gnu-emacs@m.gmane.org; Mon, 19 May 2014 00:03:53 +0200 Original-Received: from localhost ([::1]:44742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wm9BQ-0008M5-R4 for geh-help-gnu-emacs@m.gmane.org; Sun, 18 May 2014 18:03:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wm9B7-0008Lw-IA for help-gnu-emacs@gnu.org; Sun, 18 May 2014 18:03:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wm9Ay-0003VH-RT for help-gnu-emacs@gnu.org; Sun, 18 May 2014 18:03:33 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:25455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wm9Ay-0003VC-LO for help-gnu-emacs@gnu.org; Sun, 18 May 2014 18:03:24 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s4IM3L2S005377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 18 May 2014 22:03:21 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s4IM3KgK007616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 18 May 2014 22:03:20 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s4IM3JBx016887; Sun, 18 May 2014 22:03:20 GMT In-Reply-To: <87a9aezt9m.fsf@bach.histomat.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97744 Archived-At: > Drew, copying and pasting your suggested lisp into my init file produced > the same error: >=20 > "Symbol's value as variable is void: default-font" >=20 > Here's what I copied, taken from the init file paste: >=20 > (add-to-list > 'default-frame-alist > '(font . > "-bitstream-Courier 10 Pitch-normal-normal-normal-*-16-*-*-*-m-0- > iso10646-1")) >=20 > (set-face-attribute > 'default t :font > "-bitstream-Courier 10 Pitch-normal-normal-normal-*-16-*-*-*-m-0-iso106= 46- > 1") Sounds like a copy-paste error. There is no "default-font" in what you should have pasted. My guess is you used "default-font" instead of "default", and you forgot the quote mark in front of "default": 'default. And you do not need to copy & paste all of that. Those are two *alternative* ways to do what you want - two alternative snippets to copy+paste. (If I evaluate one of those sexps then I get an error saying that that particular font is not available on my machine, which is correct in my case.)