From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: emacs-orgmode@gnu.org
Subject: Re: Use orgstruct-mode to edit TWiki Markup language ?
Date: Wed, 13 Feb 2008 16:58:55 -0600 [thread overview]
Message-ID: <20080213225855.GK8359@odin.demosthenes.org> (raw)
In-Reply-To: <fovqm0$c3n$1@ger.gmane.org>
I export org files into TWiki with the following Carten posted:
perl -ape 's/^\*+/"---" . "+" x length($&)/e' input.org > output.txt
On Wed, Feb 13, 2008 at 11:24:19PM +0100, Rainer Stengele wrote:
> Hi all,
>
> We (have to) use TWiki as a documentation tool in my company.
> I already use Emacs erin-mode to edit the TWiki pages which is not bad.
>
> What I am really mssing is something like the outline (folding)
> possibilities of org!
>
> I know org provides the orgstruct-mode, but the problem is the different
> headline format of the TWiki markup language:
>
> Example:
>
> ---+ 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
>
> A configurable headline could serve in all similar cases where you find
> a regular formatted headline.
>
>
> Of course I would be more than happy to have org produce TWiki markup
> language directly...
>
>
> rainer
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
------------------------------------------------------------------
Russell Adams RLAdams@AdamsInfoServ.com
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
next prev parent reply other threads:[~2008-02-13 22:59 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 [this message]
2008-02-13 23:07 ` Rainer Stengele
2008-02-14 0:58 ` Bastien Guerry
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080213225855.GK8359@odin.demosthenes.org \
--to=rladams@adamsinfoserv.com \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).