GNU bug report logs - #75861
31.0.50; calc units error

Previous Next

Package: emacs;

Reported by: çağlar girit <cog <at> pelagi.cc>

Date: Sun, 26 Jan 2025 13:15:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 31.1

Done: Ulrich Müller <ulm <at> gentoo.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: çağlar girit <cog <at> pelagi.cc>
Cc: schwab <at> suse.de, 75861 <at> debbugs.gnu.org
Subject: bug#75861: 31.0.50; calc units error
Date: Mon, 27 Jan 2025 18:37:53 +0200
> Cc: 75861 <at> debbugs.gnu.org
> Date: Mon, 27 Jan 2025 17:18:20 +0100
> From:  çağlar girit via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> You were right!  The line causing the problem was
> 
> (setq calc-language 'math)
> 
> Which put calc in Mathematica mode and changed how it interpreted 
> math expressions with functions, such as "ln" or "sin".

Thanks for telling us.

Is Calc supposed to signal an error when you type "' 10 cm" in
Mathematica mode, or is that still some (other) kind of bug?

> I don't know how this line appeared in my .emacs.d/calc.el.
> 
> calc's definition of the dB unit includes "ln(10)", and calc 
> builds the units table before evaluating certain algebraic 
> expressions.  This resulted in the original error message I 
> submitted.
> 
> My apologies.

No need to apologize, anyone could make a mistake.




This bug report was last modified 103 days ago.

Previous Next


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