1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
Glenn Morris
e93c003eb1 Replace last-command-char with last-command-event. 2009-01-09 03:57:12 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
112203942c (math-additional-units): Doc fix (active voice). 2008-11-20 02:44:21 +00:00
Juanma Barranquero
60afd99b0d * calc/calc-units.el (math-units-table): Doc fix.
(math-standard-units): Fix typo in constant's description.
  (math-additional-units): Fix typo in docstring.
2008-11-19 17:03:40 +00:00
Jay Belanger
4929aa69ce (math-standard-units): Add eps0, permittivity of vacuum. 2008-11-19 14:17:08 +00:00
Jay Belanger
9b3e5667d0 (math-standard-units): More adjustments. 2008-10-06 13:17:21 +00:00
Jay Belanger
ac318df0f7 (math-standard-units): Update the values of the units. 2008-10-06 12:40:39 +00:00
Jay Belanger
19bdc4d8a3 (math-standard-units): Add entries used to display the the values in the
units buffer.
(math-build-units-table):  Add entries to the units table to be used
to display the values in the units buffer.
(math-build-units-table-buffer):  Use the display entry of the units
table when non nil.
(calc-define-unit): Add an option to enter display value of unit.
2008-09-30 02:40:31 +00:00
Jay Belanger
fa786329aa (calc-convert-temperature): Use default units when appropriate. 2008-09-17 02:25:37 +00:00
Glenn Morris
662c9c64ae Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:16:00 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Jay Belanger
a34f800f02 (calc-convert-temperature): Ensure that units are on the result
even when the result is zero.
2007-12-31 02:40:18 +00:00
Jay Belanger
0317ca7890 (math-simplify-units-quotient): Replace missing exponent. 2007-10-24 01:51:40 +00:00
Jay Belanger
0f3955d99c (calc-convert-units, calc-convert-temperature): Remove unnecessary
colons.
2007-09-26 06:00:47 +00:00
Juanma Barranquero
09040c8d89 (math-build-units-table): Use mapc' rather than mapcar'. 2007-09-26 00:08:16 +00:00
Jay Belanger
7026903cf3 (math-standard-units): Give exact conversion for tsp. 2007-08-17 19:57:14 +00:00
Jay Belanger
a21f3259fd (math-standard-units): Update values. Put in exact values when
possible.
(math-unit-prefixes): Replace floats with powers of ten.
(math-standard-units-systems): Replace floats with integers.
(math-make-unit-string): Remove extra spaces in output.
2007-08-15 15:42:58 +00:00
Jay Belanger
5360ea16a4 (math-get-standard-units,math-get-units,math-make-unit-string)
(math-get-default-units,math-put-default-units): New functions.
(math-default-units-table): New variable.
(calc-convert-units, calc-convert-temperature): Add machinery to
supply default values.
2007-08-14 05:24:35 +00:00
Jay Belanger
e6cd99dc69 (calc-convert-temperature): Use `/' to create fractions. 2007-08-07 21:06:29 +00:00
Glenn Morris
075969b476 Switch license to GPLv3 or later. 2007-07-25 03:51:22 +00:00
Jay Belanger
e8fff8ed68 Update maintainer's address. 2007-04-23 21:30:42 +00:00
Glenn Morris
7c671b23f3 Change form of license text to match rest of Emacs. 2007-03-19 20:59:53 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Jay Belanger
09ea57eaca Update copyright year. 2006-02-05 16:31:42 +00:00
Jay Belanger
65b62d0acb (math-convert-units): Replace any composite unit by its definition. 2005-11-09 06:02:54 +00:00
Jay Belanger
cf39c18286 (math-standard-units): Add units, adjust symbols and update values.
(math-unit-prefixes):  Add more prefixes.
2005-10-19 20:19:04 +00:00
Deepak Goel
5c08522d85 message format spec fixes, commit # 11 2005-09-18 12:42:35 +00:00
Jay Belanger
58ba2f8f07 Update copyright information. 2005-07-14 20:05:30 +00:00
Jay Belanger
2e2b4fbe92 (math-apply-units): Change the places in which units are simplified. 2005-07-08 04:32:51 +00:00
Jay Belanger
ed8060d98f (calc-invalidate-units-table): Use inhibit-read-only.
(math-build-units-table-buffer): Use view-mode.
2005-05-20 22:39:33 +00:00
Jay Belanger
02bf5ab9c2 (math-standard-units): Redefine Watt hour as W*hr. 2005-04-09 18:59:36 +00:00
Jay Belanger
40b444acab Add simplification rules for calcFunc-sec, calcFunc-csc, calcFunc-cot. 2005-02-15 19:27:17 +00:00
Jay Belanger
c738837928 Make sure the proper macro definitions are available when compiling. 2005-01-06 18:14:08 +00:00
Jay Belanger
7d02e8cd1f Add a provide statement.
(calc-Need-calc-units): Remove it.
2004-11-30 17:27:44 +00:00
Jay Belanger
3effaa28f5 Finish making previous changes. 2004-11-25 06:29:11 +00:00
Jay Belanger
2797124100 (calc-convert-units): Make units a local variable.
(calc-num-units, calc-den-units): New variables.
(calc-explain-units, calc-explain-units-rec): Replace variables
num-units and den-units by declared variables.
(math-cu-unit-list): New variable.
(math-build-units-table, math-compare-unit-names)
(math-convert-units, math-convert-units-rec): Replace variable
unit-list by declared variable.
(math-fbu-base, math-fbu-entry): New variables.
(math-find-base-units, math-find-base-units-rec): Replace variables
base and entry by declared variables.
(math-which-standard): New variable.
(math-to-standard-units, math-to-standard-rec): Replace variable
which-standard by declared variable.
(math-fcu-u): New variable.
(math-find-compatible-unit, math-find-compatible-unit-rec):
Replace variable u by declared variable.
(math-cu-new-units, math-cu-pure): New variables.
(math-convert-units, math-convert-units-rec): Replace variables
new-units and pure by declared variables.
(math-try-cancel-units): New variable.
(math-simplify-units-quotient): Replace variable try-cancel-units by
declared variable.
2004-11-25 05:53:35 +00:00
Jay Belanger
f095c6c9db (math-simplify-expr): Declared it.
Replaced argument expr in all calls of math-defsimplify by
math-simplify-expr.
(math-simplify-units-prod):  Replaced variable expr by declared
variable math-simplify-expr.
2004-11-17 19:23:41 +00:00
John Paul Wallington
91af11b2a3 (calc-quick-units): Fix overzealous s/or/unless. 2004-09-18 09:29:35 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Deepak Goel
6e1c888ad0 Add new maintainer (deego). 2003-01-15 15:16:25 +00:00
Colin Walters
be59410cd4 (math-standard-units): Update from CODATA. 2002-05-14 18:49:33 +00:00
Colin Walters
8cd8ee52f7 (calcFunc-usimplify): Add missing quote to defalias argument.
Change all toplevel `setq' forms to `defvar' forms, and move them
before their first use.  Use `when', `unless'.  Remove trailing
periods from error forms.  Add description and headers suggested by
Emacs Lisp coding conventions.
2001-11-19 07:42:20 +00:00
Colin Walters
c9aef71977 (calcFunc-unsimplify): Use defalias' instead of fset' and
`symbol-function'.

Style cleanup; don't put closing parens on their
own line, add "foo.el ends here" to each file, and update
copyright date.
2001-11-14 09:08:03 +00:00
Eli Zaretskii
136211a997 Initial import of Calc 2.02f. 2001-11-06 18:59:06 +00:00