From: Bastien Guerry <bzg@altern.org>
To: Rainer Stengele <rainer.stengele@diplan.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Use orgstruct-mode to edit TWiki Markup language ?
Date: Thu, 14 Feb 2008 00:58:45 +0000 [thread overview]
Message-ID: <87ir0sgxq2.fsf@bzg.ath.cx> (raw)
In-Reply-To: <fovqm0$c3n$1@ger.gmane.org> (Rainer Stengele's message of "Wed, 13 Feb 2008 23:24:19 +0100")
Rainer Stengele <rainer.stengele@diplan.de> 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
prev parent reply other threads:[~2008-02-14 0:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 22:24 Use orgstruct-mode to edit TWiki Markup language ? Rainer Stengele
2008-02-13 22:58 ` Russell Adams
2008-02-13 23:07 ` Rainer Stengele
2008-02-14 0:58 ` Bastien Guerry [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ir0sgxq2.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=rainer.stengele@diplan.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.