From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: emacs calc and unit (or variable) term gathering
Date: Wed, 09 Jan 2019 10:34:11 +0000 [thread overview]
Message-ID: <87r2dmxgpo.fsf@ucl.ac.uk> (raw)
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.
thanks,
--
Eric S Fraga via Emacs 27.0.50 & org 9.1.14 on Debian buster/sid
reply other threads:[~2019-01-09 10:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r2dmxgpo.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).