diff options
| author | Jay Belanger | 2013-03-09 17:36:02 -0600 |
|---|---|---|
| committer | Jay Belanger | 2013-03-09 17:36:02 -0600 |
| commit | f6817529b479b942dc3a30cf091de9d0ca4c58a2 (patch) | |
| tree | 9c63a999963bfa025ee550397a599de234aaf381 /doc | |
| parent | 78cd48e721d04b94b35f6e02e7c1022092bf702e (diff) | |
| download | emacs-f6817529b479b942dc3a30cf091de9d0ca4c58a2.tar.gz emacs-f6817529b479b942dc3a30cf091de9d0ca4c58a2.zip | |
* doc/misc/calc.texi (Basic Operations on Units): Streamline some
descriptions.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 21 |
2 files changed, 12 insertions, 14 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 44a0b7b3211..6a1bfd90c20 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-03-09 Jay Belanger <jay.p.belanger@gmail.com> | ||
| 2 | |||
| 3 | * calc.texi (Basic Operations on Units): Streamline some | ||
| 4 | descriptions. | ||
| 5 | |||
| 1 | 2013-03-08 Glenn Morris <rgm@gnu.org> | 6 | 2013-03-08 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * faq.texi (Top): Don't say this was updated @today. | 8 | * faq.texi (Top): Don't say this was updated @today. |
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index 0bf7833ec34..44462d1d5a8 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -27859,7 +27859,8 @@ while typing @kbd{u c au/yr @key{RET}} produces | |||
| 27859 | 27859 | ||
| 27860 | If the units you request are inconsistent with the original units, the | 27860 | If the units you request are inconsistent with the original units, the |
| 27861 | number will be converted into your units times whatever ``remainder'' | 27861 | number will be converted into your units times whatever ``remainder'' |
| 27862 | units are left over. For example, converting @samp{55 mph} into acres | 27862 | units are left over. (This can be disabled; @pxref{Customizing Calc}.) |
| 27863 | For example, converting @samp{55 mph} into acres | ||
| 27863 | produces @samp{6.08e-3 acre / m s}. (Recall that multiplication binds | 27864 | produces @samp{6.08e-3 acre / m s}. (Recall that multiplication binds |
| 27864 | more strongly than division in Calc formulas, so the units here are | 27865 | more strongly than division in Calc formulas, so the units here are |
| 27865 | acres per meter-second.) Remainder units are expressed in terms of | 27866 | acres per meter-second.) Remainder units are expressed in terms of |
| @@ -27875,12 +27876,6 @@ change the @samp{s} to @samp{ms} to get @samp{9.8e-4 cm/ms^2}. | |||
| 27875 | The ``remainder unit'' @samp{cm} is left alone rather than being | 27876 | The ``remainder unit'' @samp{cm} is left alone rather than being |
| 27876 | changed to the base unit @samp{m}. | 27877 | changed to the base unit @samp{m}. |
| 27877 | 27878 | ||
| 27878 | If you want to disallow using inconsistent units, you can set the | ||
| 27879 | customizable variable @code{calc-ensure-consistent-units} to @code{t} | ||
| 27880 | (@pxref{Customizing Calc}). In this case, if you request units which | ||
| 27881 | are inconsistent with the original units, you will be warned about it | ||
| 27882 | and no conversion will occur. | ||
| 27883 | |||
| 27884 | You can use explicit unit conversion instead of the @kbd{u s} command | 27879 | You can use explicit unit conversion instead of the @kbd{u s} command |
| 27885 | to gain more control over the units of the result of an expression. | 27880 | to gain more control over the units of the result of an expression. |
| 27886 | For example, given @samp{5 m + 23 mm}, you can type @kbd{u c m} or | 27881 | For example, given @samp{5 m + 23 mm}, you can type @kbd{u c m} or |
| @@ -27916,13 +27911,11 @@ prompt first for the old units which this value should be considered | |||
| 27916 | to have, then for the new units. (If the value on the stack can be | 27911 | to have, then for the new units. (If the value on the stack can be |
| 27917 | simplified so that it doesn't contain any units, like @samp{ft/in} can | 27912 | simplified so that it doesn't contain any units, like @samp{ft/in} can |
| 27918 | be simplified to 12, then @kbd{u c} will still prompt for both old | 27913 | be simplified to 12, then @kbd{u c} will still prompt for both old |
| 27919 | units and new units. You can ignore the prompt for old units with | 27914 | units and new units. This can be disabled; @pxref{Customizing Calc}.) |
| 27920 | @key{RET}, or turn off the prompt by setting the customizable variable | 27915 | Assuming the old and new units you give are consistent with each |
| 27921 | @code{calc-allow-units-as-numbers} to @code{nil}; | 27916 | other, the result also will not contain any units. For example, |
| 27922 | @pxref{Customizing Calc}.) Assuming the old and new units you give are | 27917 | @kbd{@w{u c} cm @key{RET} in @key{RET}} converts the number 2 on the |
| 27923 | consistent with each other, the result also will not contain any | 27918 | stack to 5.08. |
| 27924 | units. For example, @kbd{@w{u c} cm @key{RET} in @key{RET}} converts | ||
| 27925 | the number 2 on the stack to 5.08. | ||
| 27926 | 27919 | ||
| 27927 | @kindex u b | 27920 | @kindex u b |
| 27928 | @pindex calc-base-units | 27921 | @pindex calc-base-units |