On 18.03.20 16:50, Eric S Fraga wrote:
Indeed hackish. But it does beg the question: why does ob-calc pop the stack? I cannot see any use case given that the stack is essentially infinite and can be safely ignored (in most if not all cases). Could the solution be to simply remove the =(calc-pop 1)= line at the end of =org-babel-execute:calc= function? Just a thought.
After removing (calc-pop 1) from =org-babel-execute:calc= the problem is perfectly solved. Thanks a lot.