Hi Henri-Paul, Henri-Paul Indiogine wrote: > Greetings! > > I am just now starting to use babel in my org-mode files. I am > intrigued by its capabilities, but I encountered a strange phenomenon: > > --------8<------------------------------->8------------- > #+srcname: test > #+begin_src sh :results value > #!/bin/bash > > echo "hello" > > #+end_src > > #+results: test > : hello > -------8<--------------------------------->8------------ > > Why is there a ":" at the beginning of the results line?
Its purpose is to delimit the result block. Imagine you re-eval the code block, and that (by default, BTW) the result block must be overridden by the new value, Babel must have a way to identify what to delete first. > Can I get rid of it? The only other solutions are: - use the option =:results raw=, but you can't do any replace anymore (of old results by new results) - =(setq org-babel-min-lines-for-block-output 1)=, to force Org to put the output enclosed in a #+begin/end_example block. Best regards, Seb -- Sebastien Vauban