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

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

Re: can font-lock hide parts of text?


From: Jesper Harder
Subject: Re: can font-lock hide parts of text?
Date: Thu, 18 Dec 2003 00:22:43 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Miguel Frasson <frasson@enquist.math.leidenuniv.nl> writes:

> I would like to sort of make invisible some text that matches a
> regexp. Supose I have a chordpro line like
>
>  [A]This is a [G]Song
>
> I would like to be able to make an option that shows
>   ^This is a ^Song
> where ^ is some mark (in a different color) that there there is a chord.
>
> Someone has a clue?

You could probably do something similar to Oliver Scholz's lambda
prettifying code.  See <news:m3n0rory6t.fsf@ID-87814.user.dfncis.de>
in gnu.emacs.sources.


reply via email to

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