unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: dieter@duenenhof-wilhelm.de
Subject: fontifying of user defined variables
Date: Tue, 12 Sep 2006 12:00:28 +0200	[thread overview]
Message-ID: <10129949.484411158055226421.JavaMail.servlet@kundenserver> (raw)

Hi

I'd like to highlight user specified variables in a major mode for a simple macro language (Ansys parametric design language or APDL). 

All number variables are specified with the following assignment:

VARIABEL=VALUE

I'd like to fontify in a certain face any variable VARIABLE which was defined in such a way and appears after the definition anywhere in the code.

Could you please outline the method or point to a lisp file where such a "dynamic" highlighting is accomplished.

--
  Dieter

             reply	other threads:[~2006-09-12 10:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-12 10:00 dieter [this message]
2006-09-13 21:54 ` fontifying of user defined variables Dieter Wilhelm
     [not found] ` <mailman.6912.1158195722.9609.help-gnu-emacs@gnu.org>
2006-09-14 14:47   ` rgb
2006-09-16  7:42     ` Dieter Wilhelm

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=10129949.484411158055226421.JavaMail.servlet@kundenserver \
    --to=dieter@duenenhof-wilhelm.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.
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).