all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: can font-lock hide parts of text?
Date: Thu, 18 Dec 2003 00:22:43 +0100	[thread overview]
Message-ID: <m3smjj6ncs.fsf@defun.localdomain> (raw)
In-Reply-To: gyekv3d0a5.fsf@enquist.math.leidenuniv.nl

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	other threads:[~2003-12-17 23:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-17 13:46 can font-lock hide parts of text? Miguel Frasson
2003-12-17 23:22 ` Jesper Harder [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3smjj6ncs.fsf@defun.localdomain \
    --to=harder@myrealbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.