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

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

Re: highlight all lines with a certain prefix


From: Thien-Thi Nguyen
Subject: Re: highlight all lines with a certain prefix
Date: Tue, 07 Jul 2009 15:37:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

() 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




reply via email to

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