[Top][All Lists]

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

emacs calc and unit (or variable) term gathering

From: Eric S Fraga
Subject: emacs calc and unit (or variable) term gathering
Date: Wed, 09 Jan 2019 10:34:11 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Hello all,

I am using embedded calc to do some simple algebraic calculations in an
org buffer.  I get the following annoying result:

 {{{calc(n1 := 1.500 kmol / min)}}} 
 {{{calc(n2 := 6.800 kmol / min)}}}
 {{{calc(n3 := n1 + n2 => 1.500 kmol / min + 6.800 kmol / min)}}} 

in that the terms in the final expression are not gathered together.  I
would have expected (and other times do get) 8.300 kmol /min as the
result.  Does anybody have any pointers to how to get embedded calc to
gather terms?

If the units were just kmol, say, calc works as I would expect.

Eric S Fraga via Emacs 27.0.50 & org 9.1.14 on Debian buster/sid

reply via email to

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