Dan Davison <davison <at> stats.ox.ac.uk> writes:

> 
> Torsten Wagner <torsten.wagner <at> gmail.com> writes:
> 
> <...>
> > 4. Is there a way to see all source code blocks of a single session tangled 
> > together in a single buffer and changes in this buffer will be placed back
after 
> > leaving into the individual blocks again 
> 
> It sounds nice, but very challenging. Would such a mechanism be robust
> to very disruptive edits in the tangled code buffer (e.g. moving large
> blocks of text around)? Would it be able to meaningfully maintain a
> mapping between buffer regions and code blocks? You'd want to start off
> by looking at the code in org-src.el to see whether you thought it could
> be extended.

One way this could be implemented is with an indirect buffer. In the indirect
buffer, you could use an overlay to hide all the org parts and just leave the
code parts visible. You're not really tangling, just hiding the non-code stuff.
You might even be able to operate the indirect buffer in ess-mode or python mode
if you wanted.

- Tom



_______________________________________________
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