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

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

Re: Syntax highlighting for another languaje


From: Oliver Scholz
Subject: Re: Syntax highlighting for another languaje
Date: Wed, 27 Nov 2002 09:39:37 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-msvc-nt5.1.2600)

"Bermudez, Leonardo " <lbcd@ChevronTexaco.com> writes:
[...]
> I was wondering how can I define font-locking for another
> languaje. This languaje is just comment lines that start with "--",
> some comands in uppercase and numbers (its an input file for another
> program). I was checking some of the definitions for awk, c++ and
> others but they were intimidating for my newibie level in lisp.
[...]

Have a look at `define-generic-mode'. This makes it easy to define
simple modes. 

See <URL: http://www.emacswiki.org/cgi-bin/wiki.pl?GenericMode> for
more information.

For more complex stuff there is a tutorial at
<URL: http://two-wugs.net/emacs/mode-tutorial.html>

    Oliver
-- 
7 Frimaire an 211 de la Révolution
Liberté, Egalité, Fraternité!


reply via email to

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