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: Mon, 19 May 2014 06:47:21 -0700 (PDT) Message-ID: <4a0e03b4-1e49-4a9a-8528-454a4514d619@default> References: <87egzrz5c2.fsf@bach.histomat.net> <87a9aezt9m.fsf@bach.histomat.net> <87y4xyc9ee.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 1400507298 1416 80.91.229.3 (19 May 2014 13:48:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2014 13:48:18 +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 15:48:11 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 1WmNvE-000631-HF for geh-help-gnu-emacs@m.gmane.org; Mon, 19 May 2014 15:48:08 +0200 Original-Received: from localhost ([::1]:48170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmNvD-0008RE-UL for geh-help-gnu-emacs@m.gmane.org; Mon, 19 May 2014 09:48:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmNul-0008Bt-Ah for help-gnu-emacs@gnu.org; Mon, 19 May 2014 09:47:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmNub-0006vj-Pd for help-gnu-emacs@gnu.org; Mon, 19 May 2014 09:47:39 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:23498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmNub-0006vZ-Jx for help-gnu-emacs@gnu.org; Mon, 19 May 2014 09:47:29 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s4JDlReF011430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 19 May 2014 13:47:27 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s4JDlNfJ007672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 May 2014 13:47:24 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s4JDlMo9014495; Mon, 19 May 2014 13:47:22 GMT In-Reply-To: <87y4xyc9ee.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: acsinet21.oracle.com [141.146.126.237] 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:97756 Archived-At: > To avoid any "default-font" in the remainder of the init file I created > a little test situation. I run: >=20 > $ emacs -q -l .emacs-test >=20 > and in .emacs-test is nothing but: >=20 > (set-face-attribute > 'default t :font > "-bitstream-Courier 10 > Pitch-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1") >=20 > When emacs opens, I do M-x describe font and am told the current font is > Deju Sans. (I assume there was no newline char in the middle of that font name, in your test.) So you didn't get the error you reported earlier. Do you have that bitstream font installed? What do you see in buffer *Messages* about this - anything? What happens if you use `emacs -Q' and you evaluate the sexp in *scratch*, instead of putting it in an otherwise empty init file?