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: Michael Heerdegen <michael_heerdegen <at> web.de>, Ulrich Müller <ulm <at> gentoo.org>
Cc: cog <at> pelagi.cc, schwab <at> suse.de, 75861 <at> debbugs.gnu.org
Subject: bug#75861: 31.0.50; calc units error
Date: Sat, 01 Feb 2025 10:43:28 +0200
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Cc: schwab <at> suse.de,  75861 <at> debbugs.gnu.org,  eliz <at> gnu.org
> Date: Sat, 01 Feb 2025 00:37:38 +0100
> 
> Hello,
> 
> Ulrich, you were the last one to change code in "calc-units.el" so I
> just CC you here if you don't mind... if you get the chance, could you
> maybe have a look into this issue?
> 
> > 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.
> 
> I don't think this is necessary, the combination of unit definition and
> language syntax is still a special case.  I would want to try to fix
> this.
> 
> One simple possibility could be to predefine ln(10) as a math constant
> and refer to it in the unit definition.  I think we did something
> similar in other places, don't recall the reasons.
> 
> > Since '1 cm' doesn't mean anything in the other languages anyway.
> 
> Isn't it interpreted the same in all language modes?

Adding Ulrich.




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.