all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joe Corneli <jcorneli@math.utexas.edu>
Subject: font-lock keywords that change depending on language
Date: Thu, 22 Apr 2004 18:32:44 -0500	[thread overview]
Message-ID: <E1BGngS-0003nH-00@linux183.ma.utexas.edu> (raw)

I would like to do something like this

(defvar todl-font-lock-keywords-1
  (list '((concat "^" todl-top-level-node-phrase ":")
          . font-lock-builtin-face))
  "Minimal highlighting expressions for TODL mode.")

where todl-top-level-node-phrase is "Top-level node" when the user
is working in English, but "Oberster Stufen Knoten" when the user is
working in German.  

Unfortunately, the above does not seem to work at all.  Is this to
be expected (I'm doing something wrong)? - or is it a bug?

             reply	other threads:[~2004-04-22 23:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22 23:32 Joe Corneli [this message]
     [not found] <mailman.1103.1082676809.1061.help-gnu-emacs@gnu.org>
2004-04-23  6:52 ` font-lock keywords that change depending on language Oliver Scholz
  -- strict thread matches above, loose matches on Subject: below --
2004-04-25 23:22 Joe Corneli

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=E1BGngS-0003nH-00@linux183.ma.utexas.edu \
    --to=jcorneli@math.utexas.edu \
    /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.