From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neeum Zawan Subject: Re: Literate Programming - Continue a Source Block? Date: Sun, 19 Jun 2011 16:38:57 -0700 Message-ID: <871uyp5r3i.fsf@fester.com> References: <87pqmokh6d.fsf@fester.com> <80k4cw22uf.fsf@somewhere.org> <87fwnkjqoh.fsf@fester.com> <87mxhsnmcf.fsf@gmail.com> <877h8wj9za.fsf@fester.com> <877h8tv6yh.fsf@gmail.com> <87fwnhgps2.fsf@fester.com> <871uz0m8q9.fsf@gmail.com> <87oc238vby.fsf@fester.com> <87zkllie03.fsf@gmail.com> <871uyv7jxm.fsf@fester.com> <871uyvuhqy.fsf@gmail.com> <87wrgm6g3a.fsf@fester.com> <87hb7qcr3z.fsf@gmail.com> <878vt15bc8.fsf@fester.com> <87hb7pxe92.fsf@gmail.com> <80mxhhndri.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYRX1-0004SU-02 for emacs-orgmode@gnu.org; Sun, 19 Jun 2011 19:35:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QYRWz-0003Np-P9 for emacs-orgmode@gnu.org; Sun, 19 Jun 2011 19:35:55 -0400 Received: from lo.gmane.org ([80.91.229.12]:55181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYRWz-0003Nl-Hd for emacs-orgmode@gnu.org; Sun, 19 Jun 2011 19:35:53 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QYRWy-0002Rn-1c for emacs-orgmode@gnu.org; Mon, 20 Jun 2011 01:35:52 +0200 Received: from c-71-237-233-41.hsd1.or.comcast.net ([71.237.233.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jun 2011 01:35:52 +0200 Received: from mailinglists by c-71-237-233-41.hsd1.or.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jun 2011 01:35:52 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Sebastien Vauban" writes: > The only case that pops up to my mind now, of such a use case where > overwriting could be "needed" (well, let's say useful) is for some pedagogical > document that one would write, where code is constructed from a simplistic > (and buggy) approach to a correct one. > > One could say: the code to do that is this one, and show the block contents. > > Then, discover problems to it, explain them in the document, and make a new > version of the block with the same name (for tangling reasons). > > Then, highlight some limitations of the new code, fix them in a new block with > the same name, etc. > > Does that mean it needs to be implemented? Up to you... I gave a similar example earlier, and I think Eric said that can be handled by just changing the tangle header for the code you overwrite. Not as convenient, though.