From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: help-gnu-emacs@gnu.org
Subject: Re: highlight all lines with a certain prefix
Date: Tue, 07 Jul 2009 15:37:14 +0200 [thread overview]
Message-ID: <8763e4iph1.fsf@ambire.localdomain> (raw)
In-Reply-To: <3b9893450907052313g39937432ja25e27f1ed360735@mail.gmail.com> (n179911@gmail.com's message of "Sun, 5 Jul 2009 23:13:04 -0700")
() n179911 <n179911@gmail.com>
() Sun, 5 Jul 2009 23:13:04 -0700
In emacs, is there a way which highlight lines with certain
prefix in a file? For example I want to highlight all lines
with '-' or ' -' (a lot of spaces followed by a '-' of a file?
One way is to use Outline mode, tweaked appropriately. For
example, see <http://www.gnuvola.org/software/guile-pg/NEWS>
(look at the end of the file for the "Local Variables" block).
thi
next prev parent reply other threads:[~2009-07-07 13:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-06 6:13 highlight all lines with a certain prefix n179911
2009-07-07 6:54 ` tomas
2009-07-07 13:37 ` Thien-Thi Nguyen [this message]
[not found] <mailman.1966.1246938928.2239.help-gnu-emacs@gnu.org>
2009-07-07 6:17 ` Stefan Kamphausen
2009-07-07 10:53 ` Alan Mackenzie
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=8763e4iph1.fsf@ambire.localdomain \
--to=ttn@gnuvola.org \
--cc=help-gnu-emacs@gnu.org \
/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.