Re: Help using font-lock
"Stephen J. Turnbull" <[email protected]> Sat, 17 Jun 2006 16:48:32 +0900
| Newsgroups | gmane.emacs.xemacs.general |
|---|---|
| Organization | The XEmacs Project |
| Message-ID | <[email protected]> |
>>>>> "Dan" == Dan Bar Dov <[email protected]> writes: Dan> I do not want to write a new major mode or anything fancy, Dan> something very simple. Writing major modes is actually fairly easy. However, If I recall correctly, we have some approximation to the generic-x library (but it may not be called that) available somewhere, probably in edit-utils, which does exactly what you want: you derive a mode from it (one macro call with easy-to-use arguments like the name of the new mode) and add font-lock keywords to get the desired highlighting. I'll take a look in a day or so, I'm buried this weekend, unfortunately. -- School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.