Subject: bug#10554: 24.0.92; No units specified (dimensionless quantities in Emacs Calc)

From: "Roland Winkler" <[email-masked]>
Date: Wed, 18 Jan 2012 23:24:41 -0600

In Calc type

'e T m^2 / hbar

Convert this to SI units with u c si RET
- That's perfect. We get a dimensionless number.
Let's try again. In Calc type (more my range of numbers)

'e T nm^2 / hbar

Now when we type again u c, Calc remembers what we did before.
So as a unit it offers "default 1". 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.

In GNU Emacs 24.0.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2011-12-14 on regnitz
Windowing system distributor `The X.Org Foundation', version 11.0.10706000