From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Changing the heading separator from ** to ---** (twiki topic edition) Date: Thu, 27 Aug 2009 18:22:43 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mgj5E-0001rA-IC for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 13:48:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mgj59-0001oS-Hz for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 13:48:23 -0400 Received: from [199.232.76.173] (port=59281 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mgj59-0001oH-BL for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 13:48:19 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:47144) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mgj58-00075W-LG for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 13:48:18 -0400 Received: by mail-ew0-f211.google.com with SMTP id 7so1425042ewy.31 for ; Thu, 27 Aug 2009 10:48:18 -0700 (PDT) In-Reply-To: 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: Al Cc: emacs-orgmode@gnu.org On Aug 27, 2009, at 5:04 PM, Al wrote: > Hello, > > I generally use org-mode to edit twiki topics as it's full of > marvelous features. > > One of the main feature of org-mode I can't use is the outline > capability as the > heading syntax is choosen by twiki not me, which forbids to use > '****' for > level 4 (this will be '---++++'). > > There was a thread on March 16th which was discussion something like > this. > > Something like this: > (add-hook 'outline-minor-mode-hook > (lambda () > (setq outline-regexp "---\\++") > (define-key outline-minor-mode-map [(tab)] 'org-cycle) > (define-key outline-minor-mode-map [(control tab)] 'org-cycle) > (define-key outline-minor-mode-map [(shift tab)] 'org-global- > cycle))) > > works perfectly in any-mode + outline-minor-mode. > > However, I'd really like to use org-mode for all editing (tables, > colors, links, > ....) No. You can have tables with orgtbl-mode, but I think it will not get much better than that. The only other way would be to write import and export filters that do the headline conversion for you, so that the file being edited is actually a valid Org file. - Carsten