From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: can font-lock hide parts of text? Date: Thu, 18 Dec 2003 00:22:43 +0100 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071704169 21240 80.91.224.253 (17 Dec 2003 23:36:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2003 23:36:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 18 00:36:06 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AWlD3-0004zC-00 for ; Thu, 18 Dec 2003 00:36:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AWm5R-0005fp-Em for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Dec 2003 19:32:17 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news2.telebyte.nl!news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15399 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15399 Miguel Frasson 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 in gnu.emacs.sources.