GNU bug report logs - #10554
24.0.92; No units specified (dimensionless quantities in Emacs Calc)

Previous Next

Package: emacs;

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

Date: Thu, 19 Jan 2012 05:27:02 UTC

Severity: normal

Found in version 24.0.92

Done: Jay Belanger <jay.p.belanger <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jay Belanger <jay.p.belanger <at> gmail.com>
To: "Roland Winkler" <winkler <at> gnu.org>
Cc: 10554 <at> debbugs.gnu.org, jay.p.belanger <at> gmail.com
Subject: bug#10554: 24.0.92; No units specified (dimensionless quantities in Emacs Calc)
Date: Thu, 19 Jan 2012 15:45:55 -0600
> In Calc type
...
> Convert this to SI units with u c si RET
> - That's perfect. We get a dimensionless number.
...
> Now when we type again u c, Calc remembers what we did before.
> So as a unit it offers "default 1".

Calc should probably offer "si" as the default in this case.

> Let's take this default.
> So just type RET
>
> Error: No units specified
>
> In other words: if an expression with units simplifies to a
> dimensionless number, Calc does not accept the unit "1", though it
> even offers this unit as a default for calc-convert-units.

Calc shouldn't offer "1" as a default; I'll fix it so that it doesn't
do that anymore.

I'll also change it so that Calc can offer unit systems and composite
units as default units, but that should probably wait until after 24.1
comes out.

Jay




This bug report was last modified 13 years and 149 days ago.

Previous Next


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