* 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
* Re: Changing the heading separator from ** to ---** (twiki topic edition)
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
0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-08-27 16:22 UTC (permalink / raw)
To: Al; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Changing the heading separator from ** to ---** (twiki topic edition)
2009-08-27 16:22 ` Carsten Dominik
@ 2009-08-28 7:54 ` Al
0 siblings, 0 replies; 3+ messages in thread
From: Al @ 2009-08-28 7:54 UTC (permalink / raw)
To: emacs-orgmode
Carsten Dominik <carsten.dominik <at> gmail.com> writes:
> On Aug 27, 2009, at 5:04 PM, Al wrote:
> > [SNIP]
> > 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
Thank you for your answer.
As I'm not too fluent in elisp, I will write a small script to do that.
---
Al
^ 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).