unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Can you change default emacs colors?
@ 2003-10-24  5:21 Daireus Mann
  2003-10-24  6:09 ` Ola Nilsson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Daireus Mann @ 2003-10-24  5:21 UTC (permalink / raw)


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!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can you change default emacs colors?
  2003-10-24  5:21 Can you change default emacs colors? Daireus Mann
@ 2003-10-24  6:09 ` Ola Nilsson
  2003-10-24 12:52   ` kgold
                     ` (2 more replies)
  2003-10-24 15:34 ` Johan Bockgård
  2003-10-25  7:43 ` LEE Sau Dan
  2 siblings, 3 replies; 7+ messages in thread
From: Ola Nilsson @ 2003-10-24  6:09 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can you change default emacs colors?
  2003-10-24  6:09 ` Ola Nilsson
@ 2003-10-24 12:52   ` kgold
  2003-10-24 17:39   ` Daireus Mann
  2003-10-24 17:54   ` Daireus Mann
  2 siblings, 0 replies; 7+ messages in thread
From: kgold @ 2003-10-24 12:52 UTC (permalink / raw)


Ola Nilsson <sds024five1@sydpost.remove.nu> writes:
> 
> 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.

Apropos is your friend.  "C-h a colors" gets one hit ...

	M-x list-colors-display

which is usually found at

	Edit - Text Properties - Display Colors

-- 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can you change default emacs colors?
  2003-10-24  5:21 Can you change default emacs colors? Daireus Mann
  2003-10-24  6:09 ` Ola Nilsson
@ 2003-10-24 15:34 ` Johan Bockgård
  2003-10-25  7:43 ` LEE Sau Dan
  2 siblings, 0 replies; 7+ messages in thread
From: Johan Bockgård @ 2003-10-24 15:34 UTC (permalink / raw)


"Daireus Mann" <dcmann@cox.net> writes:

> I just started using Linux and emacs and i was wondering if there
> was anyway to change the default color scheme.

Maybe you would like

http://www.emacswiki.org/cgi-bin/wiki.pl?ColorTheme

-- 
Johan Bockgård

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can you change default emacs colors?
  2003-10-24  6:09 ` Ola Nilsson
  2003-10-24 12:52   ` kgold
@ 2003-10-24 17:39   ` Daireus Mann
  2003-10-24 17:54   ` Daireus Mann
  2 siblings, 0 replies; 7+ messages in thread
From: Daireus Mann @ 2003-10-24 17:39 UTC (permalink / raw)


Ok, this is going to sound really dumb, but remember im a total noob.
where exactaly do i enter these commands?
if i just type ;; then it puts me on the scratch sheet and that does nothing
right?
Thanks for the help btw!
"Ola Nilsson" <sds024five1@sydpost.remove.nu> wrote in message
news:87ismfrx3f.fsf@helmut.nilsson.homedns.org...
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can you change default emacs colors?
  2003-10-24  6:09 ` Ola Nilsson
  2003-10-24 12:52   ` kgold
  2003-10-24 17:39   ` Daireus Mann
@ 2003-10-24 17:54   ` Daireus Mann
  2 siblings, 0 replies; 7+ messages in thread
From: Daireus Mann @ 2003-10-24 17:54 UTC (permalink / raw)


Ok, never mind. I found the .emacs file and put it in there and everything
works great.
Thanks for the help!
"Ola Nilsson" <sds024five1@sydpost.remove.nu> wrote in message
news:87ismfrx3f.fsf@helmut.nilsson.homedns.org...
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can you change default emacs colors?
  2003-10-24  5:21 Can you change default emacs colors? Daireus Mann
  2003-10-24  6:09 ` Ola Nilsson
  2003-10-24 15:34 ` Johan Bockgård
@ 2003-10-25  7:43 ` LEE Sau Dan
  2 siblings, 0 replies; 7+ messages in thread
From: LEE Sau Dan @ 2003-10-25  7:43 UTC (permalink / raw)


>>>>> "Daireus" == Daireus Mann <dcmann@cox.net> writes:

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

emacs -rv


-- 
Lee Sau Dan                     李守敦(Big5)                    ~{@nJX6X~}(HZ) 

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-10-25  7:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-24  5:21 Can you change default emacs colors? Daireus Mann
2003-10-24  6:09 ` Ola Nilsson
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

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