From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [BABEL] [PROPOSAL] Seemless editing of Babel Blocks Date: Sat, 04 Sep 2010 09:04:03 -0600 Message-ID: <87r5h9czxf.fsf@gmail.com> References: <4C459236.3@gmail.com> <87k4opu5fk.fsf@gmail.com> <81hbivx88y.fsf@gmail.com> <8139ueykvc.fsf_-_@gmail.com> <878w3j1zos.fsf@stats.ox.ac.uk> <81k4n13mww.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=34818 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OruIt-0005zb-8M for emacs-orgmode@gnu.org; Sat, 04 Sep 2010 11:05:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OruIi-0007N9-U0 for emacs-orgmode@gnu.org; Sat, 04 Sep 2010 11:05:08 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:39386) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OruIi-0007Lh-OK for emacs-orgmode@gnu.org; Sat, 04 Sep 2010 11:05:04 -0400 Received: by mail-px0-f169.google.com with SMTP id 5so899364pxi.0 for ; Sat, 04 Sep 2010 08:05:04 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jambunathan K Cc: Dan Davison , emacs-orgmode@gnu.org Hi Jambunathan, Jambunathan K 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