[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12687: 24.2.50; calc volume units conversion
From: |
Jay Belanger |
Subject: |
bug#12687: 24.2.50; calc volume units conversion |
Date: |
Fri, 19 Oct 2012 23:18:00 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
> emacs -Q
> C-x ** ;start calc
> 'gal RET ;enter 1 gallon
> uc ;try to convert to new units
>
> At this point calc should prompt for new units, but it does not.
Oh; thanks for catching this!
> A workaround for me is to redefine the math-get-standard-units
> function:
That works for this case (but for the wrong reasons ... for example, if
you convert gallons to liters and then convert gallons again, it won't
offer liters as a default). The problem was that `math-extract-units'
wasn't dealing with powers of units (and the standard units for volume
are m^3). This has been fixed in bzr.
Thanks again,
Jay