[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Use orgstruct-mode to edit TWiki Markup language ?
From: |
Bastien Guerry |
Subject: |
Re: [Orgmode] Use orgstruct-mode to edit TWiki Markup language ? |
Date: |
Thu, 14 Feb 2008 00:58:45 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
Rainer Stengele <address@hidden> writes:
> ---+ Headline Level 1
> * text
> * text
> ---+ Headline Level 1
> i. text1
> i. text2
> ---++ Headline Level 2
> ---+++ Headline Level 3
> ---++++ Headline Level 4
>
> I wonder if it would be possible to somehow locally set the regex which
> defines what a headline for org is.
> As old perl hacker I would say the regex it is something as simple as
> ^---[+]+\s
As a starting point, maybe check outline-mode and outline-minor-mode.
(setq outline-regexp "^---\++") will help.
Then look in the menu for the show/hide commands in outline. Thus you
will have basic folding capabilities. But not all the Org fun, sure.
--
Bastien