Commit graph

908 commits

Author SHA1 Message Date
Jay Belanger
13eb7df084 (calc-arithmetic-menu, calc-scientific-function-menu)
(calc-algebra-menu, calc-graphics-menu, calc-vectors-menu)
(calc-units-menu, calc-variables-menu, calc-stack-menu):
Add :active keywords.

(calc-modes-menu): Add complex formats, remaining languages.
2007-12-29 05:33:52 +00:00
Jay Belanger
591b5f7a3a (math-complex-format): Add giac. 2007-12-29 04:27:46 +00:00
Jay Belanger
f2ce8fb9e0 (calc-init-extensions): Autoload commands to change languages. 2007-12-29 01:11:03 +00:00
Jay Belanger
e32279ff41 Mention new languages. 2007-12-29 00:58:07 +00:00
Jay Belanger
8209ff1081 (calc-modes-menu): Add new languages. 2007-12-29 00:57:02 +00:00
Jay Belanger
3727575538 (calc-yacas-language, calc-maxima-language, calc-giac-language)
(math-yacas-parse-Sum, math-yacas-compose-sum)
(math-yacas-compose-deriv, math-yacas-compose-taylor)
(math-maxima-parse-subst, math-maxima-parse-taylor)
(math-maxima-compose-taylor, math-maxima-compose-subst)
(math-maxima-compose-if, math-lang-switch-args)
(math-lang-compose-switch-args, math-read-giac-subscr):
New functions.

(calc-lang-allow-underscores, calc-lang-allow-percentsigns)
(calc-lang-brackets-are-subscripts, calc-lang-c-type-hex):
Add languages.

(math-vector-brackets, math-complex-format, math-variable-table)
(math-parse-table, math-oper-table, math-function-table)
(math-special-function-table, math-compose-subscr):
Add values for new languages.
2007-12-29 00:56:17 +00:00
Jay Belanger
f837742632 (calc-d-prefix-help): Add new languages. 2007-12-29 00:55:38 +00:00
Jay Belanger
f5bceabc1e (calc-init-extensions): Add keybindings for new languages. 2007-12-29 00:55:06 +00:00
Jay Belanger
d4b3de0bcc (calc-language): Add languages to docstring. 2007-12-29 00:54:16 +00:00
Jay Belanger
f2007b4296 (math-compose-expr): Add new languages. 2007-12-29 00:53:34 +00:00
Jay Belanger
5fb4539b9e (math-read-token): Fix misplaced parentheses. 2007-12-29 00:23:41 +00:00
Jay Belanger
c0db575568 (math-remove-percentsigns): Change placeholder for percent signs. 2007-12-27 17:35:59 +00:00
Jay Belanger
88cf334789 (math-to-percentsigns): Change placeholder for percent signs. 2007-12-27 17:32:59 +00:00
Jay Belanger
28d8820188 (math-to-percentsigns): New function.
(math-compose-var): Handle variables with percent signs.
(math-compose-expr): Handle function names with percent signs.
2007-12-26 17:38:24 +00:00
Jay Belanger
d039d4d8ff (math-to-percentsigns): Declare as function.
(math-read-exprs): Handle percent signs in languages that allow them.
(math-restore-underscores): Remove function.
(math-remove-percentsigns,math-restore-placeholders): New functions.
2007-12-26 17:32:13 +00:00
Jay Belanger
8c1bb9603f (calc-lang-allow-percentsigns): Declare as a variable. 2007-12-26 16:04:51 +00:00
Jay Belanger
7707eaa6b1 (calc-lang-allow-percentsigns): New variable. 2007-12-26 16:04:00 +00:00
Jay Belanger
57f8977d5c (math-restore-underscores, math-string-restore-underscores):
New functions.
(math-read-factor): Properly check variable names with underscores
for entries in `math-expr-variable-mapping'.
2007-12-12 04:55:20 +00:00
Jay Belanger
da6b9bf428 (calc-set-mode-line): Use `math-lang-name' to set language name. 2007-12-11 04:07:28 +00:00
Jay Belanger
c65d038099 (calc-lang-name): New property name. 2007-12-11 04:04:26 +00:00
David Kastrup
274f1353e0 * erc-stamp.el (erc-echo-timestamp):
* erc-lang.el (language):
* erc-backend.el (erc-server-connect): Fix buggy call to `message'.

* gnus-sum.el (gnus-summary-simplify-subject-query):
* ecomplete.el (ecomplete-display-matches): Fix buggy call to
`message'.

* textmodes/reftex.el (reftex-select-with-char):
* textmodes/reftex-toc.el (reftex-toc-do-promote)
(reftex-toc-visit-location, reftex-toc-find-section):
* textmodes/reftex-index.el (reftex-index-show-entry):
* textmodes/org.el (org-cycle-hide-archived-subtrees)
(org-table-rotate-recalc-marks, org-mark-ring-push)
(org-follow-info-link, org-mhe-get-message-folder-from-index)
(org-auto-repeat-maybe, org-store-log-note, org-delete-property)
(org-evaluate-time-range, org-edit-agenda-file-list):
* textmodes/artist.el (artist-select-next-op-in-list)
(artist-select-prev-op-in-list):
* term/mac-win.el (mac-service-insert-text):
* startup.el (fancy-about-screen):
* progmodes/vhdl-mode.el (vhdl-decision-query):
* progmodes/idlwave.el (idlwave-template)
(idlwave-scroll-completions, idlwave-display-completion-list):
* progmodes/ebrowse.el (ebrowse-show-progress):
* progmodes/cperl-mode.el (cperl-find-pods-heres):
* progmodes/antlr-mode.el (antlr-insert-option-do):
* play/mpuz.el (mpuz-close-game):
* net/rcirc.el (rcirc-next-active-buffer):
* mail/reporter.el (reporter-update-status):
* kmacro.el (kmacro-display):
* international/ja-dic-cnv.el (skkdic-set-okuri-nasi):
* emulation/viper-util.el (viper-save-setting):
* emacs-lisp/lisp-mnt.el (lm-verify):
* emacs-lisp/edebug.el (edebug-set-mode):
* emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun):
* calendar/calendar.el (calendar-print-day-of-year):
* calc/calcalg3.el (calc-curve-fit):
* calc/calcalg2.el (math-integral):
* calc/calc.el (calc-read-key-sequence, calc-version):
* calc/calc-mode.el (calc-set-simplify-mode):
* calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to
`message'.
2007-12-08 01:02:29 +00:00
Jay Belanger
3ae7df7962 (math-compose-var): Adjust declaration.
(math-var-formatter, math-compose-tex-var): Use adjusted `math-compose-var'.
2007-12-02 20:00:58 +00:00
Jay Belanger
2b8a300253 (math-compose-var): Adjust argument list.
(math-compose-expr): Use adjusted `math-compose-var'.
2007-12-02 20:00:36 +00:00
Jay Belanger
105140567b (math-compose-var): Fix declaration. 2007-12-02 03:45:14 +00:00
Jay Belanger
7cf2461032 (math-compose-vector, math-compose-var, math-tex-expr-is-flat):
Declare as functions.
(calc-lang-slash-idiv, calc-lang-allow-underscores)
math-comp-left-bracket, math-comp-right-bracket, math-comp-comma)
(math-comp-vector-prec): Declare as variables.
(math-var-formatter, math-matrix-formatter,math-lang-adjust-words)
(math-lang-read-symbol, math-land-read, math-punc-table)
(math-compose-subscr,math-dots,math-func-formatter): New property
names to store language specific information.
(math-compose-tex-var, math-compose-tex-intv)
(math-compose-maple-intv, math-compose-eqn-intv, math-compose-tex-sum)
(math-compose-tex-func, math-compose-tex-intv): New functions.
(math-eqn-ignore-words,math-tex-ignore-words,math-latex-ignore-words):
Move from calc.el.
(math-special-function-table): Add entries for tex.
(calc-lang-slash-idiv, calc-lang-allows-underscores): New variables.
(math-compose-latex-frac): Rename from `math-latex-print-frac'.
(math-compose-tex-matrix, math-compose-eqn-matrix)
(math-eqn-special-functions): Move from calccomp.el
2007-12-02 03:17:22 +00:00
Jay Belanger
f479e32a8e (calc-lang-slash-idiv,calc-lang-allow-underscores,calc-lang-c-type-hex)
(calc-lang-brackets-are-subscripts, calc-lang-parens-are-subscripts):
New variables.
(math-expr-special-function-mapping): Remove variable.
(math-eqn-ignore-words, math-tex-ignore-words, math-latex-ignore-words):
Move to calc-lang.el.
2007-12-02 03:16:05 +00:00
Jay Belanger
018f0ad2e4 (math-compose-var): New function.
(math-compose-expr): Allow more special functions to be used.
Change test for formatting fractions.  Use variables and property
names to help with language specific formatting.
(math-compose-tex-matrix, math-compose-eqn-matrix)
(math-eqn-special-functions): Move to calc-lang.el
(math-compose-rows): Use property names to help with language specific
formatting.
2007-12-02 03:14:55 +00:00
Jay Belanger
2807e8e488 (math-read-factor): Turn multiple subscripts into nested subscripts.
(math-read-token): Use variables and property names to help with
language specific parsing.
(math-read-expression-level): Use variables to help with language
specific parsing.
2007-12-02 03:13:28 +00:00
Jay Belanger
58dddf38f0 (math-sqrt-raw, math-map-vec, math-make-frac): Declare as functions. 2007-11-28 03:03:52 +00:00
Glenn Morris
8ac9225638 (math-read-big-rec): Fix declaration. 2007-11-27 07:58:30 +00:00
Glenn Morris
43f0c09ef5 (math-normalize-nonstandard): Fix declaration. 2007-11-27 07:57:07 +00:00
Glenn Morris
996d0694f8 (math-map-binop): Fix declaration. 2007-11-27 07:56:49 +00:00
Jay Belanger
adf78b0c8f (math-map-binop): Declare as a function.
(math-nlfit-make-matrix, math-nlfit-find-qmax, math-nlfit-fit)
(math-nlfit-fit-curve, calc-fit-hubbert-linear-curve):
Replace `mapcar*' by `math-map-binop'.
(math-nlfit-make-matrix): Replace `copy-list' with `copy-sequence'.
2007-11-27 04:57:57 +00:00
Jay Belanger
e5a5704e49 (math-map-binop): New function.
(calc-curve-fit): Replace `mapcar*' by `math-map-binop'.
2007-11-27 04:56:53 +00:00
Jay Belanger
ae51ae1108 (math-provably-realp): Fix typo. 2007-11-27 04:53:27 +00:00
Jay Belanger
c4efb85877 (math-read-expr-level): Declare as a function. 2007-11-27 04:08:41 +00:00
Jay Belanger
b8e003302b (edmacro-format-keys,edmacro-parse-keys)
(math-read-expr-level): Declare as functions.
2007-11-27 04:08:16 +00:00
Jay Belanger
b09c4bb497 (calc-get-fit-variables): Declare as a function. 2007-11-27 04:07:42 +00:00
Jay Belanger
47330d3f42 (calc-embedded-save-original-modes): Declare as a function. 2007-11-27 04:07:06 +00:00
Jay Belanger
22aa9347ba (calc-do-keypad, calc-inv-hyp-prefix-help)
(calc-inverse-prefix-help, calc-hyperbolic-prefix-help)
(calc-explain-why, calc-clear-command-flag)
(calc-roll-down-with-selections, calc-roll-up-with-selections)
(calc-last-args, calc-is-inverse, calc-do-prefix-help)
(math-objvecp, math-known-scalarp, math-vectorp, math-matrixp)
(math-trunc-special, math-trunc-fancy, math-floor-special)
(math-floor-fancy, math-square-matrixp, math-matrix-inv-raw)
(math-known-matrixp, math-mod-fancy, math-pow-of-zero)
(math-pow-zero, math-pow-fancy): Declare as functions.
2007-11-27 04:06:31 +00:00
Jay Belanger
84309b3b01 (math-zerop, math-negp, math-looks-negp)
(math-posp, math-compare, math-bignum, math-compare-bignum):
Declare as functions.
2007-11-27 04:05:56 +00:00
Jay Belanger
41f4eebc99 (math-read-factor, math-read-expr-level): Declare as functions. 2007-11-27 04:05:19 +00:00
Jay Belanger
a61506a749 (Info-goto-node, Info-last): Declare as functions. 2007-11-27 04:04:45 +00:00
Jay Belanger
1976223fab (calendar-current-time-zone)
(calendar-absolute-from-gregorian, dst-in-effect): Declare as
functions.
2007-11-27 04:04:08 +00:00
Jay Belanger
ded4d41900 (math-clip, math-round, math-simplify)
(math-simplify-extended, math-simplify-units, calc-set-language)
(calc-flush-caches, calc-save-modes, calc-embedded-modes-change)
(calc-embedded-var-change, math-mul-float, math-arctan-raw)
(math-sqrt-float, math-exp-minus-1-raw, math-normalize-polar)
(math-normalize-hms, math-normalize-mod, math-make-sdev)
(math-make-intv, math-normalize-logical-op, math-possible-signs)
(math-infinite-dir, math-calcFunc-to-var)
(calc-embedded-evaluate-expr, math-known-nonzerop)
(math-read-expr-level, math-read-big-rec, math-read-big-balance)
(math-format-date, math-vector-is-string, math-vector-to-string)
(math-format-radix-float, math-compose-expr, math-abs)
(math-format-bignum-binary, math-format-bignum-octal)
(math-format-bignum-hex, math-format-bignum-radix)
(math-compute-max-digits): Declare as functions.
2007-11-27 04:03:37 +00:00
Jay Belanger
c68aaac5a6 (calc-set-language, calc-edit-finish)
(calc-edit-cancel, calc-do-quick-calc, calc-do-calc-eval)
(calc-do-keypad, calcFunc-unixtime, math-parse-date)
(math-lessp, calc-embedded-finish-command)
(calc-embedded-select-buffer, calc-embedded-mode-line-change)
(calc-push-list-in-macro, calc-replace-selections)
(calc-record-list, calc-normalize-fancy, calc-do-handle-whys)
(calc-top-selected, calc-sel-error, calc-pop-stack-in-macro)
(calc-embedded-stack-change, calc-refresh-evaltos)
(calc-do-refresh, calc-binary-op-fancy, calc-unary-op-fancy)
(calc-delete-selection, calc-alg-digit-entry, calc-alg-entry)
(calc-dots, calc-temp-minibuffer-message, math-read-radix-digit)
(calc-digit-dots, math-normalize-fancy, math-normalize-nonstandard)
(math-recompile-eval-rules, math-apply-rewrites, calc-record-why)
(math-dimension-error, calc-incomplete-error, math-float-fancy)
(math-neg-fancy, math-zerop, calc-add-fractions)
(math-add-objects-fancy, math-add-symb-fancy, math-mul-zero)
(calc-mul-fractions, math-mul-objects-fancy, math-mul-symb-fancy)
(math-reject-arg, math-div-by-zero, math-div-zero, math-make-frac)
(calc-div-fractions, math-div-objects-fancy, math-div-symb-fancy)
(math-compose-expr, math-comp-width, math-composition-to-string)
(math-stack-value-offset-fancy, math-format-flat-expr-fancy)
(math-adjust-fraction, math-format-binary, math-format-radix)
(math-group-float, math-mod, math-format-number-fancy)
(math-format-bignum-fancy, math-read-number-fancy)
(calc-do-grab-region, calc-do-grab-rectangle, calc-do-embedded)
(calc-do-embedded-activate, math-do-defmath)
(calc-load-everything): Declare as functions.
2007-11-27 04:02:56 +00:00
Jay Belanger
05fed923d3 (calc-fit-s-shaped-logistic-curve)
(calc-fit-bell-shaped-logistic-curve)
(calc-fit-hubbert-linear-curve, calc-graph-add-curve)
(calc-graph-lookup, calc-graph-set-styles, math-min-list)
(math-max-list): Declare as functions.
2007-11-27 04:01:42 +00:00
Jay Belanger
2f78f9049a (calc-refresh-evaltos, calc-execute-kbd-macro)
(math-is-true, calc-explain-why, calc-alg-edit)
(math-composite-inequalities, math-flatten-lands)
(math-multi-subst, calcFunc-vmatches, math-simplify)
(math-known-matrixp, math-parse-fortran-subscr, math-to-radians-2)
(math-read-string, math-read-brackets, math-read-angle-brackets):
Declare as functions.
2007-11-27 04:00:56 +00:00
Jay Belanger
84df9db88a (calc-modes-menu): Add normal and incomplete algebraic modes. 2007-11-27 01:08:24 +00:00
Jay Belanger
b2e7f0f07f (calc-last-user-lang-parse-table): New variable.
(math-build-parse-table): Get parse information from `math-parse-table'.
2007-11-16 23:48:26 +00:00