Re: Multiple named code blocks

2020-11-30 Thread mooss
Hi Diego, This feature does indeed what I need, I will update my code with it. Thank you for your help. Best regards, Félix

Re: Multiple named code blocks

2020-11-30 Thread mooss
Hi Greg, I don't know why I missed this, it is exactly what I needed. Thank you for your help. Best regards, Félix

Re: Multiple named code blocks

2020-11-28 Thread mooss
Hi Tom, The downsides you mention are making perfect sense, especially the cd and rm examples, I did not thought about that and I agree that this would be a dangerous default. Another possibility would be to shield this behaviour behind a header argument, for example by adding a "dimension" to th

Multiple named code blocks

2020-11-28 Thread mooss
Hi, I have been using org-mode for almost three years and I loved it so much that I started working on a literate programming tool based on it. One particular technique that I use is having multiple named code blocks, like so: #+begin_src perl :noweb yes :results output <> sub foo { <> } foo; #