[Top][All Lists]

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

outline does not change heading line endings

From: Lennart Borgman
Subject: outline does not change heading line endings
Date: Fri, 26 Oct 2007 21:54:42 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070728 Thunderbird/ Mnenhy/

In outline there are two variables that are used to match heading lines, outline-regexp and outline-heading-end-regexp. When using outline-demote etc only the beginning of the heading is changed even if both this variables have similar values.

An example of this is if you try to edit wiki articles and have the variables set with something like this:

  (set (make-local-variable 'outline-regexp) "==+")
  (set (make-local-variable 'outline-heading-end-regexp) "==+")

Wiki header lines look like this:

= H1 =
== H2 ==
=== H3 ===

This is for Emacs 22.

reply via email to

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