Subject: Re: bug#75861: 31.0.50; calc units error

From: Eli Zaretskii <[email-masked]>
Date: Mon, 27 Jan 2025 18:37:53 +0200

> Cc: [email-masked]
> 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" <[email-masked]>
> 
> 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.