[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to customize outline mode
From: |
Per Abrahamsen |
Subject: |
Re: how to customize outline mode |
Date: |
Thu, 04 Aug 2005 14:17:49 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) |
Pete Siemsen <siemsen@ucar.edu> writes:
> How can I set outline-regexp to make Emacs recognize 4 spaces as a
> header delimiter? I tried "( )+", which didn't work.
(setq outline-regexp "\\( \\)+")
\( and \) are used for grouping in Emacs regexps (plain "(" and ")"
just match themselves), and escape characters need to be escaped in
Emacs strings.