From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Haines Brown Newsgroups: gmane.emacs.help Subject: setting default font name Date: Sun, 18 May 2014 07:36:29 -0400 Message-ID: <87egzrz5c2.fsf@bach.histomat.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1400413223 31460 80.91.229.3 (18 May 2014 11:40:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 May 2014 11:40:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 18 13:40:16 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 1WlzRw-0006ll-NH for geh-help-gnu-emacs@m.gmane.org; Sun, 18 May 2014 13:40:16 +0200 Original-Received: from localhost ([::1]:43157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlzRw-00059O-9N for geh-help-gnu-emacs@m.gmane.org; Sun, 18 May 2014 07:40:16 -0400 X-Received: by 10.42.235.144 with SMTP id kg16mr78626icb.33.1400412990399; Sun, 18 May 2014 04:36:30 -0700 (PDT) Original-Path: usenet.stanford.edu!c1no9627865igq.0!news-out.google.com!gi6ni4989igc.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 18 May 2014 06:36:30 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:BZLQGwlXVy+eYV1bQ4j62pW19zc= Original-Lines: 25 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-5Qs1iiYGsx1ef4fvUFRaXEYk27ShCW7eb/MCiuNPTWbSfEUVDHezBOZuQYhrO6NItYfebZwL2W3K4Pt!gGNRaqxAiaY4nQSHhpifE9uBeHYae3rSXTdZ3uijlu7182waV0jZCqtGUMk= Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1832 Original-Xref: usenet.stanford.edu gnu.emacs.help:205466 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:97734 Archived-At: I have several different ways to start emacs 24 according to different functions. They are started with scripts that point to different init files. For example, in one script I have: emacs -q -l ~/.emacsUtil $1 I want to define the default font for this instance of emacs, and so try the lines taken from EmacsWiki: (add-to-list 'default-frame-alist 'font . '-bitstream-Courier 10 Pitch-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1 )) (set-face-attribute 'default t :font -bitstream-Courier 10 Pitch-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1 )) But this produces error: "Invalid read syntax: ". in wrong context" I try: (set default-font "-bitstream-Courier 10 Pitch-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1") and get eror Symbol's value as variable is void: default-font. Haines Brown