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: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 75861 <at> debbugs.gnu.org
Cc: cog <at> pelagi.cc, schwab <at> suse.de, eliz <at> gnu.org
Subject: bug#75861: 31.0.50; calc units error
Date: Fri, 31 Jan 2025 02:34:35 +0100
çağlar girit via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:

> So perhaps there is a bug somewhere in the Mathematica language
> implementation, starting at calc-lang.el line 1816, but difficult for
> me to find.

AFAIU, this is a more general design problem.  Switching the language
makes all input (in a broader sense) being interpreted as expression in
that language.  Like, interpreting the built-in unit definitions.

If you reverse your recipe so that Calc builds the unit table before you
switch to Mathematica language mode, the issue doesn't appear.


Michael.




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.