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

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

Re: Getting started with syntax highlighting.


From: Christian Schlauer
Subject: Re: Getting started with syntax highlighting.
Date: Tue, 25 Oct 2005 20:28:00 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

Alex Polite <notmyprivateemail@gmail.com> writes:

> I want get into syntax highlighting.
>
> What I want to do is grey out all text that matches the regular
> expression "{id:\d+}. Sounds pretty basic right? But the documentation
> leaves me puzzled.
>
> Anybody out got a simple example to get me started?

Try `M-x highlight-regexp RET', maybe this is enough for you. You can
learn more about this in the comment section of the file hi-lock.el.
-- 
Christian Schlauer


reply via email to

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