help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generic mode -- keywords


From: fork
Subject: Re: Generic mode -- keywords
Date: Mon, 29 Aug 2011 17:17:45 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Drew Adams <drew.adams <at> oracle.com> writes:

> I'm no expert here, but see (elisp) Search-based Fontification, > and check
`keep' and `t' to deal with overriding. 

Well, you pass for an expert in my book.  Here is a new line for comment face:

("\\(\\*[^;\\*/]*;\\)" 0 'font-lock-comment-face t)

I think with my new found knowledge, I might also be able to handle places with
string expansion.  E.G.: "blah &foo. blah"  Should have read for the constant
string but (say) blue for the stuff inside "&."  My mode currently has red for
the whole string.

Tx




reply via email to

[Prev in Thread] Current Thread [Next in Thread]