GNU bug report logs -
#10554
24.0.92; No units specified (dimensionless quantities in Emacs Calc)
Previous Next
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
[Message part 1 (text/plain, inline)]
Your bug report
#10554: 24.0.92; No units specified (dimensionless quantities in Emacs Calc)
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 10554 <at> debbugs.gnu.org.
--
10554: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10554
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> 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.
The version of Calc in bzr Emacs will no longer offer "1" as a default.
[Message part 3 (message/rfc822, inline)]
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
This bug report was last modified 13 years and 181 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.