all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: brian.auld@adic.com
Subject: RE: Default colors 'list-colors-display'
Date: Tue, 8 Apr 2003 11:38:51 -0700	[thread overview]
Message-ID: <995FF289C9D69747A09E42992644595405B236F9@penguin.adic.com> (raw)

> -----Original Message-----
> From: Alex Schroeder [mailto:alex@gnu.org]
> Sent: Tuesday, April 08, 2003 2:15 PM
> To: help-gnu-emacs@gnu.org
> Subject: Re: Default colors 'list-colors-display'
> 
> brian.auld@adic.com writes:
> 
> > I have gone cross-eyed the past day trying to find the answer to my
> > question, but my efforts have not beared fruit. Hopefully someone can
> > answer this for me.
> >
> > I'm trying to add/change colors to my
> > list-colors-display'. Ultimately, I want to get rid of the color
> > cyan', and replace it with something else, as 'cyan' is next to
> > impossible to read against a white background.
> >
> > Specifically it is for color coding 'C'. All other colors in my
> > list-colors-display' are used to highlight some part of the 'C' code,
> > so if I simply change the face where cyan is used ('C' keywords) to
> > another defined color, I will be duplicated its use with something
> > else.
> >
> > I therefore want to add a color that will ultimately show up when I do
> > a 'list-colors-display'. It appears that when I go into a M-x
> > customize ... I can only change colors to something that is defined
> > under 'list-colors-display'.
> >
> > Can someone point me to how I can add color definitions to my emacs.
> 
> I think you are mixing up some things.  When your C source is
> hilighted, then so-called "faces" are used.  A face specifies size,
> font-family, foreground-color, background-color, etc.  So it seems to
> me that you need to run M-x list-faces-display, find the face whose
> name starts with font-lock-..., remember its name, and then run M-x
> customize-face to change it.

Alex, 

Thanks for your reply. Yes, I tried this method yesterday. The problem is, the only colors accepted when I try to change the color in a font face, using 'M-x customize-face ... ', seem to be those defined in 'list-colors-display'. 

My 'list-colors-display' show the following:

Black, red, green, yellow, blue, magenta, cyan and white.

I do not want to use cyan. All other colors from 'list-colors-display' above are used in some other part of the 'C' color coding, defined under some other font-lock... setting. So, I want to either (a) define a new color, or (b) change cyan to something else.

Regarding 'list-colors-display':
(1) How do I define a new color? (or)
(2) How do I redefine the RGB values of an existing color? (or)
(3) How do I set the color in a font face to something other
    than what's in my 'list-colors-display'?

An answer to any 1 of the above 3 would I think get me over this hump.

Brian

> Alex.
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

             reply	other threads:[~2003-04-08 18:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 18:38 brian.auld [this message]
     [not found] <mailman.4294.1049824065.21513.help-gnu-emacs@gnu.org>
2003-04-08 18:14 ` Default colors 'list-colors-display' Alex Schroeder
2003-04-08 18:41   ` Kai Großjohann
2003-04-08 18:56 ` Jesper Harder
  -- strict thread matches above, loose matches on Subject: below --
2003-04-08 17:44 brian.auld

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=995FF289C9D69747A09E42992644595405B236F9@penguin.adic.com \
    --to=brian.auld@adic.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.