[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: [BABEL] [PROPOSAL] Seemless editing of Babel Blocks
From: |
Eric Schulte |
Subject: |
[Orgmode] Re: [BABEL] [PROPOSAL] Seemless editing of Babel Blocks |
Date: |
Sat, 04 Sep 2010 09:04:03 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Jambunathan,
Jambunathan K <address@hidden> writes:
> >> Offer a command say 'org-to-org-src-view' which when invoked
> >> switches the org-mode buffer to target language mode and comments
> >> out all the non-src blocks.
> >>
> >> Offer a reverse command 'org-src-to-org-view' that switches the
> >> buffer to org-mode and uncomments the non-src blocks.
>
> Dan> My vote is that this proposal is too drastic.
>
> What I am proposing is tangling albeit in a loose sense of the word.
>
> Would it sound as drastic if one were to divorce the consideration of
> how often this operation gets performed - one time only or very often -
> during the lifetime of the org file.
>
> How about providing user-accessible tapping points within
> 'org-babel-map-src-blocks' (or a variation thereof) that would enable me
> have a custom command in my .emacs.
>
> For the sake of record, my suggestion is very closely related to what is
> discussed here.
>
> http://eschulte.github.com/babel-dev/PROPOSED-tangle-entire-org-mode-file-in-comments.html
>
I've just pushed up an implementation of the functionality described at
the link above, see [1] for examples and details.
Is this sufficient to satisfy the need you were addressing? If not how
could it be improved?
Thanks -- Eric
>
> Thanks,
> Jambunathan K.
>
Footnotes:
[1]
http://eschulte.github.com/babel-dev/DONE-tangle-entire-org-mode-file-in-comments.html