unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Change syntax highlighting colors for C source files
@ 2005-08-29 20:42 Bob Johnson
  2005-08-30  4:50 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Johnson @ 2005-08-29 20:42 UTC (permalink / raw)


Hello everyone,
How would I change some of the syntax highlighting colors in Emacs? For example,
the argument of a printf statement in a C source file is highlighted in bright
pink. Since bright pink on a white background has very little contrast, I would
like to change the highlighting to something darker. I couldn't find where these
options were located in the Customize Emacs menu. Does anyone know how to change
these colors?
Thanks,
Bob Johnson

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

* Re: Change syntax highlighting colors for C source files
       [not found] <mailman.5407.1125348445.20277.help-gnu-emacs@gnu.org>
@ 2005-08-30  3:24 ` Peter Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Lee @ 2005-08-30  3:24 UTC (permalink / raw)


>>>> Bob Johnson writes:

    Bob> How would I change some of the syntax highlighting colors in
    Bob> Emacs?

M-x customize-group RET font-lock-highlighting-faces RET

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

* Re: Change syntax highlighting colors for C source files
  2005-08-29 20:42 Change syntax highlighting colors for C source files Bob Johnson
@ 2005-08-30  4:50 ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2005-08-30  4:50 UTC (permalink / raw)


> Date: Mon, 29 Aug 2005 16:42:31 -0400
> From: Bob Johnson <robertjo@physics.upenn.edu>
> 
> How would I change some of the syntax highlighting colors in Emacs? For example,
> the argument of a printf statement in a C source file is highlighted in bright
> pink. Since bright pink on a white background has very little contrast, I would
> like to change the highlighting to something darker. I couldn't find where these
> options were located in the Customize Emacs menu.

You want to change the font-lock-string face.  Note that this change
is a general one: it will affect _all_ strings Emacs fontifies in
_any_ language, not only in C.

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

end of thread, other threads:[~2005-08-30  4:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29 20:42 Change syntax highlighting colors for C source files Bob Johnson
2005-08-30  4:50 ` Eli Zaretskii
     [not found] <mailman.5407.1125348445.20277.help-gnu-emacs@gnu.org>
2005-08-30  3:24 ` Peter Lee

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