> Maurizio Vitale
> <m...@cuma.i-did-not-set--mail-host-address--so-tickle-me> writes:

> Is anybody working on making orgstruct work with programming modes (or
> other modes that require the org "markup" to be hidden in comments)?


Samuel Wales <samolog...@gmail.com> writes:

>> It might be nice to have these solutions in one place.

Yes, an overview/tutorial of the various options would be good to have.

>>
>> I know of hideshow, hideshow-org, the email thread,
>> outline-minor-mode plus regexp fixes, orgstruct, orgstruct++,
>> orgtbl, and org-babel so far.

[One obvious point for the record -- embedding code in org files is not
a mutually exclusive alternative to the others: after C-c ' the code is
edited in a language major mode buffer in which the other solutions
might be used for folding / structuring]

I'll add Carsten's outline-magic.el to that list.

http://staff.science.uva.nl/~dominik/Tools/outline-magic.el

Personally I've been using plain outline-minor-mode for code folding. I
haven't used outline-magic, but it seems like perhaps I should. Is
anyone out there currently using it?

Dan

>>
>> I guess there are several categories.  This is very rough.
>>
>>   1) code folding (e.g. hiding the contents of a defun)
>>   2) as much of org as possible without changing the
>>      behavior of the mode itself too much.  plain lists and
>>      headlines can go inside comments or docstrings.
>>   3) literate programming.  compile in two steps:
>>      compile from org and compile to binary.
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to