From: Sven Utcke <utcke+news@informatik.uni-hamburg.de>
Subject: adding font-lock rules
Date: 01 Nov 2002 15:03:24 +0100 [thread overview]
Message-ID: <vd0smyle6ab.fsf@kogs31.informatik.uni-hamburg.de> (raw)
Hi,
I would like to add my own font-look rules to an existing mode along
the lines of:
* in mode xxx, whenever you see yyy, colour it red.
* in mode xxx, whenever you see zzz, colour it blue.
etc --- that is, I do _not_ want to simply introduce new keywords,
which are than coloured with font-lock-keyword-face. I know how to
write my own mode doing this (including the keyword-face), but how do
I add this to an existing mode?
Thanks
Sven
--
_ __ The Cognitive Systems Group
| |/ /___ __ _ ___ University of Hamburg
| ' </ _ \/ _` (_-< phone: +49 (0)40 42883-2576 Vogt-Koelln-Strasse 30
|_|\_\___/\__, /__/ fax : +49 (0)40 42883-2572 D-22527 Hamburg
|___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html
next reply other threads:[~2002-11-01 14:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-01 14:03 Sven Utcke [this message]
[not found] ` <utcke+news@informatik.uni-hamburg.de>
2002-11-01 15:22 ` adding font-lock rules Peter S Galbraith
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=vd0smyle6ab.fsf@kogs31.informatik.uni-hamburg.de \
--to=utcke+news@informatik.uni-hamburg.de \
/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.