unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ola Nilsson <sds024five1@sydpost.remove.nu>
Subject: Re: Can you change default emacs colors?
Date: Fri, 24 Oct 2003 06:09:36 GMT	[thread overview]
Message-ID: <87ismfrx3f.fsf@helmut.nilsson.homedns.org> (raw)
In-Reply-To: nE2mb.18139$B_2.10647@okepread02

Hello,

"Daireus Mann" <dcmann@cox.net> writes:
> Hi,
> I just started using Linux and emacs and i was wondering if there was anyway
> to change the default color scheme. I am using red hat 9 and what ever emacs
> comes with that. I want to change the backround to black and the black text
> white, everything else can stay the same.
> Thanks!

Try something like this in your emacs:

;;setup colors
(set-background-color "black")
(set-foreground-color "white")

(setq default-frame-alist
  '((width . 120)
    (height . 69)
    (background-color . "black")
    (foreground-color . "white")
    ;;	(font . "-*-Courier New-normal-r-*-*-11-82-96-96-c-*-iso8859-1")))
    ))

I don't think you need both, but I use one (the top) for my none-X (emacs -nw) 
emacses, and the bottom one for my X emacses.

In the default-frame-alist you can also see a way of setting the default frame
size and an, out commented, way of selecting a font.

Does anyone know where you find a list of possible color choices? These where
rewritten with black/white, I normally use "lemon chiffon" and "DodgerBlue4",
but I don't know all the options.

Regards,
-- 
/Ola Nilsson

  reply	other threads:[~2003-10-24  6:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-24  5:21 Can you change default emacs colors? Daireus Mann
2003-10-24  6:09 ` Ola Nilsson [this message]
2003-10-24 12:52   ` kgold
2003-10-24 17:39   ` Daireus Mann
2003-10-24 17:54   ` Daireus Mann
2003-10-24 15:34 ` Johan Bockgård
2003-10-25  7:43 ` LEE Sau Dan

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87ismfrx3f.fsf@helmut.nilsson.homedns.org \
    --to=sds024five1@sydpost.remove.nu \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).