Am 08.03.2013 12:05, schrieb Bastien:
Hi Andreas,
Andreas Röhler <andreas.roeh...@easy-emacs.de> writes:
can it be more difficult than related use of comment-start?
Yes -- check this FAQ:
http://orgmode.org/worg/org-faq.html#sec-8-12
HTH,
Thanks, still non-believing :)
(defcustom outline-regexp "[*\^L]+"
"Regular expression to match the beginning of a heading.
Any line whose beginning matches this regexp is considered to start a heading.
Note that Outline mode only checks this regexp at the start of a line,
so the regexp need not (and usually does not) start with `^'.
The recommended way to set this is with a Local Variables: list
in the file it applies to. See also `outline-heading-end-regexp'."
:type 'regexp
:group 'outlines)
IMHO remains to make that buffer-local and use outline-regexp from inside
org-mode.
Andreas