From: Xah <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: prevent part of user var highlighted as keyword in new lang mode
Date: Tue, 18 Nov 2008 18:37:55 -0800 (PST) [thread overview]
Message-ID: <56762f2d-095d-4059-8c6a-d1619fa51d94@s9g2000prm.googlegroups.com> (raw)
in writing a new language mode, how do i prevent part of variable that
gets highlighted as keyword? e.g. the “for” in “inform”.
i'm using
(setq font-lock-defaults '((xlsl-font-lock-keywords) nil nil))
Thanks.
Xah
∑ http://xahlee.org/
☄
next reply other threads:[~2008-11-19 2:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 2:37 Xah [this message]
2008-11-19 13:31 ` prevent part of user var highlighted as keyword in new lang mode Scott Frazer
2008-11-19 13:53 ` Xah
2008-11-19 17:56 ` Drew Adams
2008-11-19 18:11 ` Scott Frazer
2008-11-20 2:41 ` Xah
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=56762f2d-095d-4059-8c6a-d1619fa51d94@s9g2000prm.googlegroups.com \
--to=xahlee@gmail.com \
--cc=help-gnu-emacs@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).