Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: Re: how to customize outline mode
Date: Thu, 04 Aug 2005 14:17:49 +0200	[thread overview]
Message-ID: <rjhde5aob6.fsf@sheridan.dina.kvl.dk> (raw)
In-Reply-To: <vs9mzo08gyx.fsf@ucar.edu>

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.


      reply	other threads:[~2005-08-04 12:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02 16:02 Pete Siemsen
2005-08-04 12:17 ` Per Abrahamsen [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=rjhde5aob6.fsf@sheridan.dina.kvl.dk \
    --to=abraham@dina.kvl.dk \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).