unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@gnu.org>
Subject: Re: font-lock-keyword
Date: Wed, 21 Jul 2004 06:16:14 +0200	[thread overview]
Message-ID: <2914-Wed21Jul2004061614+0300-eliz@gnu.org> (raw)
In-Reply-To: <1090355453.4230.353.camel@haddox.ds.amrdec.army.mil> (message from Randy Haddox on Tue, 20 Jul 2004 15:30:54 -0500)

> From: Randy Haddox <randal.haddox@us.army.mil>
> Date: Tue, 20 Jul 2004 15:30:54 -0500
> 
> I am trying to set up a custom .emacs function that will assign
> individual foreground colors to a list of keywords.
> 
> For example, I'd like to find the keywords "include", "define", and
> "assign" in a file and change their foreground colors to "green",
> "blue", and "purple" respectively.

"C-h f hi-lock-mode RET" should tell you what to do.

  reply	other threads:[~2004-07-21  4:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20 20:30 font-lock-keyword Randy Haddox
2004-07-21  4:16 ` Eli Zaretskii [this message]
     [not found] <mailman.797.1090355649.1960.help-gnu-emacs@gnu.org>
2004-07-20 22:04 ` font-lock-keyword Sandip Chitale

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=2914-Wed21Jul2004061614+0300-eliz@gnu.org \
    --to=eliz@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).