From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: Use orgstruct-mode to edit TWiki Markup language ? Date: Thu, 14 Feb 2008 00:07:02 +0100 Message-ID: <47B37816.1000301@diplan.de> References: <20080213225855.GK8359@odin.demosthenes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPQgj-0008I1-C2 for emacs-orgmode@gnu.org; Wed, 13 Feb 2008 18:06:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPQgi-0008Hc-Q1 for emacs-orgmode@gnu.org; Wed, 13 Feb 2008 18:06:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPQgi-0008HX-K4 for emacs-orgmode@gnu.org; Wed, 13 Feb 2008 18:06:48 -0500 Received: from ns.diplan.de ([212.34.188.4] helo=mail.diplan.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPQgi-0003on-9G for emacs-orgmode@gnu.org; Wed, 13 Feb 2008 18:06:48 -0500 Received: from [IPv6:::1] (fritz.diplan.de [192.168.99.5]) by mail.diplan.de (Postfix outbound) with ESMTP id 56C6291624 for ; Thu, 14 Feb 2008 00:06:44 +0100 (CET) In-Reply-To: <20080213225855.GK8359@odin.demosthenes.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org thanks. thats ok when starting with an org file. But having to continue to edit existing TWiki files that does not help and I would at least really like to use the outlining features of org. rainer Russell Adams schrieb: > 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 > > > _______________________________________________ > 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 >