[Orgmode] RE: org mode in multi-mode

2011-01-02 Thread Hopsing K
Appended is a patch to implement kind of a "break" on a child entry: -- a.org --- a a * s1 b b * # c c --- When doing a TAB on "* s1" only the "b" section will fold. "* #" (a heading with name "#") is implemented as a child that is made visible by default when when unfolding. It is also s

[Orgmode] org mode in multi-mode

2011-01-01 Thread Hopsing K
I am trying to use org-mode and c-mode together with using the Two-Mode-Mode (http://www.emacswiki.org/cgi-bin/wiki/MultipleModes). I'd like to embed org-mode comments inside a c file, using org-mode for commenting c code, something that would be quite useful I thought. something like this ---