emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Changing the heading separator from ** to ---** (twiki topic edition)
@ 2009-08-27 15:04 Al
  2009-08-27 16:22 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Al @ 2009-08-27 15:04 UTC (permalink / raw)
  To: emacs-orgmode

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,
....)

Is there a solution to use org-mode and just change the heading separator from
* to ---+
** to ---++
*** to ---+++

etc

Thanks in advance.

 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-28  7:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-27 15:04 Changing the heading separator from ** to ---** (twiki topic edition) Al
2009-08-27 16:22 ` Carsten Dominik
2009-08-28  7:54   ` Al

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).