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

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

Re: Hiding text in emacs buffer that matches regexp


From: Eli Zaretskii
Subject: Re: Hiding text in emacs buffer that matches regexp
Date: Mon, 18 Dec 2006 06:04:36 +0200

> Date: Sun, 17 Dec 2006 13:59:18 -0700
> From: "Kelly Jones" <kelly.terry.jones@gmail.com>
> 
> How can I tell emacs: hide all text matching the Perl regex
> "/^=item.*?=cut$/is" and replace it with "<<pod>>" or something similar.
> 
> I still want the text to "be" in the buffer and want it saved to
> disk-- I just don't want it displayed to me.

Read the node "Invisible Text" in the ELisp manual.  It describes how
to make this happen.




reply via email to

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