unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* outline does not change heading line endings
@ 2007-10-26 19:54 Lennart Borgman
  0 siblings, 0 replies; only message in thread
From: Lennart Borgman @ 2007-10-26 19:54 UTC (permalink / raw)
  To: bug-gnu-emacs

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.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-26 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 19:54 outline does not change heading line endings Lennart Borgman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).