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: çağlar girit <cog <at> pelagi.cc>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 75861 <at> debbugs.gnu.org
Subject: bug#75861: 31.0.50; calc units error
Date: Mon, 27 Jan 2025 17:18:20 +0100
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".

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.

On 2025-01-27 at 13:32:44, Andreas Schwab wrote:

> Do you have anything in ~/.emacs.d/calc.el (calc-settings-file)?

-- 
çög




This bug report was last modified 102 days ago.

Previous Next


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