all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Haines Brown <haines@histomat.net>, help-gnu-emacs@gnu.org
Subject: RE: setting default font name
Date: Sun, 18 May 2014 15:03:19 -0700 (PDT)	[thread overview]
Message-ID: <e39bc921-13b4-4cb1-8b8f-de4d38f71953@default> (raw)
In-Reply-To: <87a9aezt9m.fsf@bach.histomat.net>

> Drew, copying and pasting your suggested lisp into my init file produced
> the same error:
> 
>   "Symbol's value as variable is void: default-font"
> 
> Here's what I copied, taken from the init file paste:
> 
> (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")

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.)



  parent reply	other threads:[~2014-05-18 22:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e39bc921-13b4-4cb1-8b8f-de4d38f71953@default \
    --to=drew.adams@oracle.com \
    --cc=haines@histomat.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.