GNU bug report logs - #15859
24.3.50; Calc - dimensionless units again

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Sun, 10 Nov 2013 23:36:02 UTC

Severity: normal

Found in version 24.3.50

Full log


Message #11 received at 15859 <at> debbugs.gnu.org (full text, mbox):

From: "Roland Winkler" <winkler <at> gnu.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 15859 <at> debbugs.gnu.org
Subject: Re: bug#15859: 24.3.50; Calc - dimensionless units again
Date: Mon, 23 Nov 2020 09:13:11 -0600
On Sun Nov 22 2020 Michael Heerdegen wrote:
> "Roland Winkler" <winkler <at> gnu.org> writes:
> 
> > Say, the old expression is "7 m / (c s)" and I want to convert this
> > into a physically equal expression.  So I run calc-convert-units,
> > which will ask
> >
> >   (The expression is unitless when simplified) Old Units:
> 
> Yes, I agree that the command doesn't behave in a useful way here.
> 
> u s works for me here and seems to do what you want.

Thanks for confirming that the current behavior is not useful.  Long
ago, before Calc was merged into the GNU Emacs trunk.  Calc was
handling dimensionless units just fine, which is why I consider the
new behavior a bad regression.  Personally, am so annoyed by this
behavior that I run into too often that I have gone back to a
version of calc-units.el from old times before Calc was merged into
the GNU Emacs trunk.  (For myself, none of the changes that were
done since then to calc-units.el are significant or useful.)
I really would like to revert the broken changes in calc-units.el
and bring the relevant pieces of code back to what they used to be.
But I have not yet found the time to come up with a patch for this.




This bug report was last modified 2 years and 50 days ago.

Previous Next


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