all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Customizing new frames
Date: Tue, 1 Feb 2005 10:25:10 -0800	[thread overview]
Message-ID: <FDELKNEBLPKKDCEBEJCBGEINCLAA.drew.adams@oracle.com> (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?

You need to add your change to variable `default-frame-alist', and then save
that variable (using Customize).

See http://www.emacswiki.org/cgi-bin/wiki/CustomizingAndSaving for an
explanation (scroll down to section Setting and Saving Frame Parameters).

See command `set-frame-alist-parameter-from-frame' in library
http://www.emacswiki.org/elisp/frame-cmds.el, which you can use to easily
transfer your font setting to `default-frame-alist'.

HTH,

  Drew

  reply	other threads:[~2005-02-01 18:25 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 [this message]
2005-02-01 18:39 ` August
2005-02-01 20:18   ` Denis Bueno
2005-02-01 18:48 ` Edward O'Connor

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=FDELKNEBLPKKDCEBEJCBGEINCLAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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.