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

[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:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

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]