From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Use orgstruct-mode to edit TWiki Markup language ? Date: Wed, 13 Feb 2008 23:24:19 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPQ1Y-0000XS-BG for emacs-orgmode@gnu.org; Wed, 13 Feb 2008 17:24:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPQ1V-0000WE-2w for emacs-orgmode@gnu.org; Wed, 13 Feb 2008 17:24:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPQ1U-0000W9-SW for emacs-orgmode@gnu.org; Wed, 13 Feb 2008 17:24:12 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JPQ1U-0002k2-Ml for emacs-orgmode@gnu.org; Wed, 13 Feb 2008 17:24:12 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JPQ1R-0006vo-5e for emacs-orgmode@gnu.org; Wed, 13 Feb 2008 22:24:09 +0000 Received: from p57af42dc.dip0.t-ipconnect.de ([87.175.66.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Feb 2008 22:24:09 +0000 Received: from rainer.stengele by p57af42dc.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Feb 2008 22:24:09 +0000 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 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