Fork me on GitHub
#emacs
<
2015-08-24
>
bozhidar08:08:19

guess you should ping org-babel’s team

bozhidar08:08:32

seem you’re getting the result from the first form in the block

nblumoe15:08:28

well it's the result from both forms. or from all forms more generally

nblumoe15:08:44

but I guess you are right. seems to be a bug to me

whacked16:08:46

@nblumoe: hit a similar thing many years ago, don't know if it's the same thing

whacked16:08:01

but it was reporting the second-to-last return value

whacked16:08:21

so i stuck a random const, like 1 at the end as a workaround

nblumoe16:08:01

thanks @whacked. this does not seem to be the case anymore. however, I really need to have both, the results and the code in a clear way as I am exporting both. would be a bit weird to have some random const in every code block! 😉

whacked17:08:55

ah sorry, the second-to-last return value on its own line is what i meant

whacked17:08:16

but i guess that still doesn't apply? I tested it on a haskell block and it sort of still happens

whacked17:08:09

and yes, I was digging through some old org files and they are peppered with random consts on the lines before #+END_SRC