all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Edward O'Connor <ted@oconnor.cx>
Subject: Re: Customizing new frames
Date: Tue, 01 Feb 2005 10:48:45 -0800	[thread overview]
Message-ID: <86651cxgj6.fsf@niamh.cfhp.org> (raw)
In-Reply-To: 6dbd4d0005020110077a2894a6@mail.gmail.com

> I have certain font settings set using `set-default-font', in my
> .emacs. Specifically,
>
> (set-default-font "-*-clean-medium-r-normal--*-120-*-*-*-*-*-*")
>
> When I open a new frame (C-x 5 2), it's like my font settings don't
> get "remembered." Is there a way to set the default font for the first
> frame and every subsequent frame?

Assuming you haven't otherwise frobbed `default-frame-alist' or
`initial-frame-alist', you should be able to do something like this:

(setq default-frame-alist
      '((font .  "-*-clean-medium-r-normal--*-120-*-*-*-*-*-*)))
(setq initial-frame-alist default-frame-alist)

-- 
Edward O'Connor
ted@oconnor.cx

Ense petit placidam sub libertate quietem.

      parent reply	other threads:[~2005-02-01 18:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01 18:07 Customizing new frames Denis Bueno
2005-02-01 18:25 ` Drew Adams
2005-02-01 18:39 ` August
2005-02-01 20:18   ` Denis Bueno
2005-02-01 18:48 ` Edward O'Connor [this message]

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=86651cxgj6.fsf@niamh.cfhp.org \
    --to=ted@oconnor.cx \
    /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.