GNU bug report logs -
#75861
31.0.50; calc units error
Previous Next
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
On 2025-01-31 at 02:34:35, Michael Heerdegen wrote:
> ç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.
It seems that a better design would always interpret built-in
expressions in the default language. Or better yet warn that the
units functionality is only available in the default language.
Since '1 cm' doesn't mean anything in the other languages anyway.
--
çög
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.