unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alex Schroeder <alex@gnu.org>
Subject: Re: Default colors 'list-colors-display'
Date: Tue, 08 Apr 2003 20:14:47 +0200	[thread overview]
Message-ID: <87he98eu08.fsf@gnu.org> (raw)
In-Reply-To: mailman.4294.1049824065.21513.help-gnu-emacs@gnu.org

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.

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4294.1049824065.21513.help-gnu-emacs@gnu.org>
2003-04-08 18:14 ` Alex Schroeder [this message]
2003-04-08 18:41   ` Default colors 'list-colors-display' Kai Großjohann
2003-04-08 18:56 ` Jesper Harder
2003-04-08 18:38 brian.auld
  -- 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

  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=87he98eu08.fsf@gnu.org \
    --to=alex@gnu.org \
    /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).