diff options
author | Jay Belanger <jay.p.belanger@gmail.com> | 2011-01-23 23:08:04 -0600 |
---|---|---|
committer | Jay Belanger <jay.p.belanger@gmail.com> | 2011-01-23 23:08:04 -0600 |
commit | 603823f5b7759118ff542a37a1c03e772a89853d (patch) | |
tree | 0493fa76f3f5901ae396f33742319c4dcbc1fda7 /lisp/calc/calc-help.el | |
parent | c517fb38cdd6721853625ecd737f7e551a28f294 (diff) | |
download | emacs-603823f5b7759118ff542a37a1c03e772a89853d.tar.gz |
* calc/calc.el (calc-default-power-reference-level)
(calc-default-field-reference-level): New variables.
* calc/calc-units.el (math-standard-units): Add dB and Np.
(math-logunits): New variable.
(math-extract-logunits, math-logcombine, calcFunc-luplus)
(calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
(calcFunc-fieldlevel, calcFunc-powerlevel, calc-level): New
functions.
(math-find-base-units-rec): Add entry for ln(10).
* calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
(calc-ul-prefix-help): New function.
* calc/calc-ext.el (calc-init-extensions): Autoload new units
functions. Add keybindings for new units functions.
Diffstat (limited to 'lisp/calc/calc-help.el')
-rw-r--r-- | lisp/calc/calc-help.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/calc/calc-help.el b/lisp/calc/calc-help.el index 847eccf658f..14d292dd164 100644 --- a/lisp/calc/calc-help.el +++ b/lisp/calc/calc-help.el @@ -663,12 +663,19 @@ C-w Describe how there is no warranty for Calc." (calc-do-prefix-help '("Simplify, Convert, Temperature-convert, Base-units" "Autorange; Remove, eXtract; Explain; View-table; 0-9" - "Define, Undefine, Get-defn, Permanent" + "Define, Undefine, Get-defn, Permanent, Logarithmic" "SHIFT + View-table-other-window" "SHIFT + stat: Mean, G-mean, Std-dev, Covar, maX, miN" "SHIFT + stat: + (sum), - (asum), * (prod), # (count)") "units/stat" ?u)) +(defun calc-ul-prefix-help () + (interactive) + (if (eq this-command last-command) + (message "ul-") + (message "logarithmic-units: + (logarithmic), - (logarithmic), Level: ul-")) + (push ?l unread-command-events) + (push ?u unread-command-events)) (defun calc-v-prefix-help () (interactive) |