all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* setting default font name
@ 2014-05-18 11:36 Haines Brown
  2014-05-18 13:35 ` Drew Adams
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Haines Brown @ 2014-05-18 11:36 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-05-20 13:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-18 11:36 setting default font name Haines Brown
2014-05-18 13:35 ` Drew Adams
     [not found] ` <mailman.1565.1400420140.1147.help-gnu-emacs@gnu.org>
2014-05-18 21:11   ` Haines Brown
2014-05-18 21:57     ` Michael Heerdegen
2014-05-18 22:03     ` Drew Adams
     [not found]     ` <mailman.1582.1400450623.1147.help-gnu-emacs@gnu.org>
2014-05-19 11:09       ` Haines Brown
2014-05-19 13:47         ` Drew Adams
     [not found]         ` <mailman.1604.1400507269.1147.help-gnu-emacs@gnu.org>
2014-05-19 15:05           ` Haines Brown
2014-05-19 15:45             ` Drew Adams
     [not found]             ` <mailman.1615.1400514331.1147.help-gnu-emacs@gnu.org>
2014-05-19 18:56               ` Haines Brown
2014-05-19 20:51                 ` Drew Adams
     [not found]                 ` <mailman.1639.1400532700.1147.help-gnu-emacs@gnu.org>
2014-05-20 10:14                   ` Jacob Gerlach
2014-05-20 10:58                     ` Haines Brown
2014-05-19 19:30 ` Hans BKK
2014-05-20 13:32 ` Hans BKK

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.