all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: How to change parameters for window colors?
Date: Mon, 02 Jun 2003 11:34:32 -0600	[thread overview]
Message-ID: <3EDB8AA8.9080901@yahoo.com> (raw)
In-Reply-To: jimkkREMOVEME-FE84CB.16243931052003@visonmassif.rs.itd.umich.edu

Jimmerr wrote:

> Hi, I was unable to find any understandable explanation of how to do 
> this. I did find mention (I think in the int file docs) of using an 
> alist  for features in your .emacs file, such as (feature . value).
> But I could find no explanation at all on what the this means, how to do 
> it, how to use it, an example of the syntax, etc etc etc.  Although I 
> searched the docs for hours. Do I sound frustrated?
> 
> How do set preferences in emacs so windows open with the colors I want? 
> I don't want to have to M-x set-foreground-color and M-x 
> set-background-color every time I open a window, I'm sure there has to 
> be a way to set defaults like this.
> 
> If you know how to do it, can you please provide an example. 

File: emacs,  Node: Creating Frames,  Next: Frame Commands,  Prev: Mode Line 
Mouse,  Up: Frames

Creating Frames
===============
...
    You can control the appearance of new frames you create by setting
the frame parameters in `default-frame-alist'.  You can use the
variable `initial-frame-alist' to specify parameters that affect only
the initial frame.  *Note Initial Parameters: (elisp)Initial
Parameters, for more information.

    The easiest way to specify the principal font for all your Emacs
frames is with an X resource (*note Font X::), but you can also do it by
modifying `default-frame-alist' to specify the `font' parameter, as
shown here:

      (add-to-list 'default-frame-alist '(font . "10x20"))

Here's a similar example for specifying a foreground color:

      (add-to-list 'default-frame-alist '(background-color . "blue"))

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

      parent reply	other threads:[~2003-06-02 17:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-31 20:24 How to change parameters for window colors? Jimmerr
2003-06-01  2:34 ` Tim X
2003-06-02 17:34 ` Kevin Rodgers [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=3EDB8AA8.9080901@yahoo.com \
    --to=ihs_4664@yahoo.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.