Hi Eric and Neeum, Eric Schulte wrote: >> Overwriting is still not supported, but I don't know if that's all that >> important (I don't have an immediate need for it). And noweb by default >> did not have it either, so perhaps it's not needed for most tasks > > This was my thinking. > >> (OTOH, you may want to think about what the best solution is if later >> on you decide to add overwriting capability). > > If someone finds a real need for overwriting code blocks, hopefully the > specifics of their need will point towards an implementation.
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... Best regards, Seb -- Sebastien Vauban