emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ob-calc duplicate stack-element issue


From: Heiko Schmidt
Subject: Re: ob-calc duplicate stack-element issue
Date: Mon, 6 Apr 2020 06:39:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]