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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: jay.p.belanger <at> gmail.com
Cc: tracker <at> debbugs.gnu.org
Subject: bug#10554: closed (24.0.92; No units specified (dimensionless
 quantities in Emacs Calc))
Date: Sat, 21 Jan 2012 04:23:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 20 Jan 2012 22:21:59 -0600
with message-id <87k44lu1lk.fsf <at> gmail.com>
and subject line Re: bug#10554: 24.0.92; No units specified (dimensionless quantities in Emacs Calc)
has caused the debbugs.gnu.org bug report #10554,
regarding 24.0.92; No units specified (dimensionless quantities in Emacs Calc)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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)]
From: "Roland Winkler" <winkler <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.92; No units specified (dimensionless quantities in Emacs Calc)
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



[Message part 3 (message/rfc822, inline)]
From: Jay Belanger <jay.p.belanger <at> gmail.com>
To: 10554-done <at> debbugs.gnu.org
Cc: jay.p.belanger <at> gmail.com
Subject: Re: bug#10554: 24.0.92;
	No units specified (dimensionless quantities in Emacs Calc)
Date: Fri, 20 Jan 2012 22:21:59 -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.

The version of Calc in bzr Emacs will no longer offer "1" as a default.


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

Previous Next


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