GNU bug report logs - #68442
Inconsistency in calc embedded

Previous Next

Package: emacs;

Reported by: Ypo <ypuntot <at> gmail.com>

Date: Sun, 14 Jan 2024 08:01:03 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ypo <ypuntot <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Inconsistency in calc embedded
Date: Sat, 13 Jan 2024 13:37:37 +0100
[Message part 1 (text/plain, inline)]
Hi


I am using calc embedded, in an org-mode buffer:

I write:

Total := 76121 EUR

Bastidor402 := 33.5124% * Total =>

(1)


After doing:

C-x * a

C-x * u (on the formula (1))


I get:

Bastidor402 := 33.5124% Total => 25509.974004 EUR


Which is correct, but the original formula (1) is changed:
Instead of

Bastidor402 := 33.5124% * Total =>
(1)

Emacs changes it to:
Bastidor402 := 33.5124% Total =>
(2)


I delete the result, and I do again C-x * u (on the formula (2)), and I get:

Bastidor402 := 33.5124 % Total => 33.5124 % 76121 EUR


Which is another change in the original formula (2). Now we have:


Bastidor402 := 33.5124 % Total =>

(3)


and a wrong result.

[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.