all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mads Jensen <spam@raptus.dk>
Subject: Re: font-lock problems
Date: 19 Sep 2005 18:07:05 +0200	[thread overview]
Message-ID: <87ll1tt51y.fsf@madamex.madamex.dk> (raw)
In-Reply-To: 87irwxxi82.fsf-monnier+gnu.emacs.help@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > (font-lock-add-keywords
> 
> Major modes shouldn't use font-lock-add-keywords for keywords that are
> always highlighted.  It would only make sense for things which change
> dynamically (i.e. very rare).

How am I supposed to get the words colored ? I have more things to
colorize, but I hope that it'll be easier to make that after learning
how to colorize something in the first place. Someone once pointed me to
(info "(elisp)Face foreground") (or something like that), which wasn't
of any help to me, as I see it. 
-- 
Mads Jensen - mail sent to address ends in /dev/null
              s/spam/madsj for emailing me 
              gpg: 7E775BDA

It is impossible to make anything foolproof because fools are so
ingenious.

  reply	other threads:[~2005-09-19 16:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-18 10:50 font-lock problems Mads Jensen
2005-09-19 14:09 ` Stefan Monnier
2005-09-19 16:07   ` Mads Jensen [this message]
2005-09-20  9:25     ` Tim X
2005-09-21  2:34     ` Stefan Monnier
2005-09-19 22:39 ` rgb

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=87ll1tt51y.fsf@madamex.madamex.dk \
    --to=spam@raptus.dk \
    /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.