1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-10 16:20:17 -08:00
Commit graph

106 commits

Author SHA1 Message Date
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Jay Belanger
1265829ec3 calc.texi (TeX and LaTeX Language Modes, Predefined Units):
calc-units.el (math-build-units-table-buffer):
README: Mention that the TeX specific units won't use the `tex' prefix
in TeX mode.

calc-lang.el (math-variable-table): Don't use the `tex' prefix for
units in TeX mode.
2010-11-18 19:14:36 -06:00
Glenn Morris
be19ef0b9b Add some utf-8 coding cookies.
* lisp/calc/calc-aent.el, lisp/calc/calc-ext.el, lisp/calc/calc-lang.el:
* lisp/calc/calc-store.el, lisp/calc/calc-units.el, lisp/calc/calc.el:
* lisp/calc/calccomp.el:
Add explicit utf-8 coding cookies to files with utf-8 characters.
Also delete trailing whitespace.
2010-06-22 00:41:10 -07:00
Jay Belanger
ae6bc504c0 calc-aent.el (math-read-token, math-find-user-tokens):
calc-lang.el (math-read-big-rec, math-lang-read-symbol)
(math-compose-tex-func):
calccomp.el (math-compose-expr):
calc-ext.el (math-format-flat-expr-fancy):
calc-store.el (calc-read-var-name):
calc-units.el (calc-explain-units-rec): Allow Greek letters.

calc.el (var-π, var-φ, var-γ): New variables.

calc-aent.el (math-read-replacement-list):  Add "micro" symbol.

calc-units.el (math-unit-prefixes): Add mu for micro.
(math-standard-units):  Add units.
2010-05-14 23:50:25 -05:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Jay Belanger
7b999abb57 (math-build-units-table-buffer): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:59:50 +00:00
Stefan Monnier
6df9b6d78f * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
(calcDigit-nondigit):
* calc/calc-yank.el (calc-copy-to-buffer):
* calc/calc-units.el (calc-invalidate-units-table):
* calc/calc-trail.el (calc-trail-yank):
* calc/calc-store.el (calc-insert-variables):
* calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
* calc/calc-prog.el (calc-read-parse-table):
* calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
* calc/calc-help.el (calc-describe-bindings, calc-describe-key):
* calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
(calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
(calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
(calc-graph-name, calc-graph-find-command, calc-graph-view)
(calc-graph-view, calc-gnuplot-command, calc-graph-init):
* calc/calc-ext.el (calc-realign):
* calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
(calc-embedded-finish-edit, calc-embedded-make-info)
(calc-embedded-finish-command, calc-embedded-stack-change):
* calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
2009-10-28 18:35:33 +00:00
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