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

169 Commits

Author SHA1 Message Date
Jay Belanger
3f53a1f4df (calc-original-buffer, calc-return-buffer, calc-one-window)
(calc-edit-handler, calc-restore-trail, calc-allow-ret): Declare them.
2004-11-26 22:34:23 +00:00
Jay Belanger
866ebaa905 (math-grade-vec): New variable.
(calcFunc-grade, calcFunc-rgrade, math-grade-beforep): Replace
variable grade-vec by declared variable.
(math-rb-close): New variable.
(math-read-brackets, math-read-vector): Replace variable close by
declared variable.
2004-11-26 22:33:49 +00:00
Jay Belanger
f58af89963 (calc-last-why-command): Declare it. 2004-11-26 22:33:19 +00:00
Jay Belanger
92d7f48929 Change maintainer name. 2004-11-26 22:32:51 +00:00
Jay Belanger
3effaa28f5 Finish making previous changes. 2004-11-25 06:29:11 +00:00
Jay Belanger
95d91710e9 Finish making previous change. 2004-11-25 06:28:25 +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
4fd1fc35b1 (math-poly-base-top-expr): New variable.
(math-polynomial-p1): Replace variable mpb-top-expr by declared
variable.
(math-poly-base-total-base): New variable.
(math-total-polynomial-base, math-polynomial-p1): Replace variable
mpb-total-base by declared variable.
(math-factored-vars, math-to-list): Declare it.
(math-fact-expr): New variable.
(calcFunc-factors, calcFunc-factor, math-factor-expr,
math-factor-expr-try, math-factor-expr-part): Replace variable expr by
declared variable.
(math-fet-x): New variable.
(math-factor-expr-try, math-factor-poly-coefs): Replace variable x by
declared variable.
(math-factor-poly-coefs): Make temp a local variable.
2004-11-25 05:52:38 +00:00
Jay Belanger
885e6671fc Added comment.
(math-polynomial-base): Replace variable mpb-top-expr by
math-poly-base-top-expr.
2004-11-25 05:51:40 +00:00
Jay Belanger
276d28655e (math-trunc): Replace variable prec by math-trunc-prec.
(math-floor): Replace variable prec by math-floor-prec.
2004-11-24 21:45:32 +00:00
Jay Belanger
67549a854a (math-scalar-functions, math-nonscalar-functions)
(math-scalar-if-args-functions, math-real-functions)
(math-positive-functions, math-nonnegative-functions)
(math-real-scalar-functions, math-real-if-arg-functions)
(math-integer-functions, math-num-integer-functions)
(math-rounding-functions, math-float-rounding-functions)
(math-integer-if-args-functions, math-super-types):
Move declarations to earlier in file.

(math-unit-prefixes): Declared it.

(math-floor-prec, math-trunc-prec): New variables.
(math-trunc-fancy): Replace variable prec by declared variable.
(math-floor-fancy): Replace variable prec by declared variable.

(math-com-bterms): New variable.
(math-commutative-equal, math-commutative-collect): Replace variable
bterms by declared variable.
2004-11-24 21:45:04 +00:00
Jay Belanger
ac39a77ca1 (calc-gnuplot-default-device, calc-gnuplot-default-output)
(calc-gnuplot-print-device, calc-gnuplot-print-output)
(calc-gnuplot-geometry, calc-graph-default-resolution)
(calc-graph-default-resolution-3d): Remove redundant initial values.
2004-11-24 21:44:23 +00:00
Jay Belanger
7893af2d79 (calc-embedded-active): Removed unnecessary declaration.
(calc-show-banner): Removed redundant declaration.
2004-11-24 21:43:36 +00:00
Jay Belanger
86498823f8 (math-nrf-n, math-nrf-nf, math-nrf-nfm1): New variables.
(math-nth-root-float, math-nth-root-float-iter): Replace variables
n, nf and nfm1 by declared variables.

(math-nri-n): New variable.
(math-nth-root-int, math-nth-root-int-iter): Replace variable n by
declared variable.

(calcFunc-log): Removed misplaced condition.
2004-11-24 18:01:37 +00:00
Jay Belanger
9822335996 (math-fd-date, math-fd-dt, math-fd-year, math-fd-month)
(math-fd-day, math-fd-weekday, math-fd-hour, math-fd-minute)
(math-fd-second, math-fd-bc-flag): New variables.
(math-format-date, math-format-date-part): Replace variables
date, dt, year, month, day, weekday, hour, minute, second and
bc-flag by declared variables.

(math-pd-str): New variable.
(math-parse-date, math-parse-date-word, math-parse-standard-date):
Replace variable str by declared variable.

(math-daylight-savings-hook, math-tzone-names): Move definitions
to earlier in the file.

(var-TimeZone): Declare it.

(math-exp-str, math-exp-pos): Declare them.

(math-sh-year): New variable.
(math-setup-add-holidays, math-setup-holidays)
(math-setup-year-holiday): Replace variable `year'
by declared variable.
2004-11-24 17:59:37 +00:00
Jay Belanger
f0a35df4ea (math-stack-value-offset): Replace variables c, wid and off with
math-svo-c, math-svo-wid and math-svo-off.
2004-11-24 06:01:45 +00:00
Jay Belanger
1c80b98b61 Add comment. 2004-11-24 06:00:30 +00:00
Jay Belanger
fdcf8e2b4a (math-svo-c, math-svo-wid, math-svo-off): New variables.
(math-stack-value-offset-fancy): Replace variables c, wid and off
by declared variables.

(math-comp-just, math-comp-comma-spc): New variables.
(math-compose-expr, math-compose-matrix): Replace variable just by
declared variable.

(math-comp-vector-prec): New variable.
(math-compose-expr, math-compose-matrix, math-compose-rows): Replace
variable vector-prec by declared variable.

(math-comp-left-bracket, math-comp-right-bracket, math-comp-comma): New variables.
(math-compose-expr, math-compose-rows): Replace variables left-bracket,
right-bracket and comma by declared variables.

(math-comp-full-width): New variable.
(math-comp-to-string-flat, math-comp-to-string-flat-term): Replace
variable full-width by declared variable.

(math-comp-sel-tag): Declared it.

(math-comp-highlight, math-comp-word, math-comp-level)
(math-comp-margin, math-comp-pos, math-comp-buf, math-comp-base)
(math-comp-hgt, math-comp-tag, math-comp-hpos, math-comp-vpos):
New variables.

(math-comp-to-string-flat, math-comp-to-string-flat-term)
(math-comp-sel-flat-term): Replace variables comp-highlight, comp-word,
comp-level, comp-margin, comp-pos and comp-buf by declared variables.

(math-comp-simplify, math-comp-simplify-term, math-comp-add-string)
(math-comp-add-string-sel): Replace variables comp-highlight,
comp-buf, comp-base, comp-height, comp-tag, comp-hpos and comp-vpos
by declared variables.
2004-11-24 05:59:23 +00:00
Jay Belanger
c4446fc2e9 (math-read-exprs): Filter input through math-read-preprocess-string. 2004-11-23 05:58:20 +00:00
Jay Belanger
66c2cf664e (math-read-replacement-list, math-read-superscripts): New variables.
(math-read-preprocess-string): New function.
(math-read-expr): Filter input through math-read-preprocess-string.
2004-11-23 05:56:40 +00:00
Jay Belanger
8cd2540e17 (math-read-big-lines): New variable.
(math-read-big-rec, math-read-big-char, math-read-big-emptyp)
(math-read-big-error, math-read-big-balance): Replace variable
lines by declared variable.

(math-read-big-baseline, math-read-big-h2): New variables.
(math-read-big-rec): Replace variables the-baseline and the-h2
by declared variables.

(math-read-big-rec): Fix typo.

(math-read-big-balance): Replace unbound variable by value.

(math-rb-h1, math-rb-h2, math-rb-v1, math-rb-v2): New variables.
(math-read-big-rec, math-read-big-char, math-read-big-emptyp)
(math-read-big-balance): Replace variables h1, h2, v1 and v2 by
declared variables.

(math-read-big-err-msg): New variable.
(math-read-big-error): Replace variable err-msg by declared variable.
2004-11-22 04:53:51 +00:00
Jay Belanger
c308c46341 (math-read-big-expr, math-read-big-bigp): Replace variable lines by
math-read-big-lines.
(math-read-big-expr): Replace variables the-baseline, the-h2
and err-msg by math-read-big-baseline, math-read-big-h2 and
math-read-err-msg.
(math-read-big-bigp): Replace variable h2 with math-rb-h2.
2004-11-22 04:52:48 +00:00
Jay Belanger
03cc1abafe (calc-curve-nvars, calc-curve-varnames, calc-curve-model)
(calc-curve-coefnames): New variable.
(calc-curve-fit, calc-get-fit-variables): Replace variables nvars,
varnames, model and coefnames by declared variables.

(math-root-widen): New variable.
(math-search-root, math-find-root): Replace variable root-widen by
declared variable.

(var-DUMMY): Declare it.
(math-root-vars, math-min-vars): Move the declarations to earlier in
the file.

(math-brent-min): Make d a local variable.

(math-find-minimum): Replace non-existent variable.

(math-ninteg-romberg): Remove unnecessary variable.

(math-ninteg-temp): New variable.
(math-ninteg-romberg, math-ninteg-midpoint): Replace variable
integ-temp by declared variable.

(math-fit-first-var, math-fit-first-coef, math-fit-new-coefs): New variables.
(math-general-fit): Replace variables first-var, first-coef and
new-coefs by declared variables.
(calcFunc-fitvar): Replace variable first-var by declared variable.
(calcFunc-fitparam): Replace variable first-coef by declared variable.
(calcFunc-fitdummy): Replace variable new-coefs by declared variable.

(math-all-vars-vars, math-all-vars-found): New variables.
(math-all-vars-in, math-all-vars-rec): Replace variables vars and
found by declared variable math-all-vars-vars.
2004-11-21 05:55:43 +00:00
Jay Belanger
a6cecab98a (math-integral-cache-state, calc-lang)
(calc-original-buffer): Declare them.

(calc-user-formula-alist): New variable.
(calc-user-define-formula, calc-fix-user-formula)
(calc-user-define-composition, calc-finish-formula-edit):
Replace variable alist by declared variable.

(var-q0, var-q1, var-q2, var-q3, var-q4, var-q5, var-q6)
(var-q7, var-q7, var-q8, var-q9): Declare them.
(calc-kbd-push): Don't check to see if var-q0 through var-q9
are bound.

(calcFunc-typeof): Replace undeclared variable by correct expression.

(math-exp-env): New variable.
(math-define-body, math-define-exp): Replace exp-env by declared
variable.

(math-define-exp): Replace misplaced variable by expression.
2004-11-21 05:52:41 +00:00
Jay Belanger
8416e352b1 (calc-selection-cache-entry): Moved declaration to earlier in the
file.

(calc-selection-cache-num, calc-selection-cache-comp)
(calc-selection-cache-offset, calc-selection-true-num)
(calc-final-point-line, calc-final-point-column)
(calc-original-buffer): Declare them.


(calc-fnp-op, calc-fnp-num): New variables.
(calc-find-nth-part, calc-find-nth-part-rec)
(calc-select-previous): Replace op and num by declared variables.

(calc-rsf-old, calc-rsf-new): New variables.
(calc-replace-sub-formula, calc-replace-sub-formula-rec):
Replace variables old and new by declared variables.

(calc-sel-reselect): New variable.
(calc-auto-selection, calc-enter-selection, calc-edit-selection)
(calc-sel-evaluate, calc-sel-expand-formula, calc-sel-expand-formula)
(calc-sel-mult-both-sides, calc-sel-add-both-sides):  Replace variable
reselect with declared variable.

(calc-edit-disp-trail): Declare it.
(calc-finish-selection-edit):  Replace variable disp-trail by declared
variable.
2004-11-19 22:21:18 +00:00
Jay Belanger
7fc684b392 (calc-edit-disp-trail): New variable.
(calc-edit-finish, calc-finish-stack-edit): Replace variable
disp-trail by declared variable.
2004-11-19 22:17:25 +00:00
Jay Belanger
40ead93715 (calc-rewrite-selection): Make rules a local variable.
(calc-rewr-sel): New variable.
(calc-rewrite-selection, calc-locate-selection-marker, calc-rewrite):
Use the declared variable calc-rewr-sel instead of sel.

(math-rewrite):  Use let* to declare variables.

(math-mt-many): Declare it.

(math-rewrite-whole-expr): New variable.
(math-rewrite, math-rewrite-phase): Replace variable expr by declared
variable.

(math-import-list): Declare it.

(math-rewrite-heads-heads, math-rewrite-heads-skips)
(math-rewrite-heads-blanks ): New variables.
(math-rewrite-heads, math-rewrite-heads-rec): Replace variables heads,
skips and blanks by declared variables.

(math-regs, math-num-regs, math-prog-last, math-bound-vars)
(math-conds, math-copy-neg, math-rhs, math-pattern, math-remembering)
(math-aliased-vars): Declare them.

(math-rwcomp-subst-old, math-rwcomp-subst-new)
(math-rwcomp-subst-old-func, math-rwcomp-subst-new-func):
New variables.
(math-rwcomp-substitute, math-rwcomp-subst-rec): Replace variables
old, new, old-func and new-func by declared variables.

(math-rwcomp-assoc-args, math-rwcomp-addsub-args):  Remove unnecessary
variable.

(math-rewrite-phase): Declare it.

(math-apply-rw-regs): New variable.
(math-apply-rewrites, math-rwapply-replace-regs,
math-rwapply-reg-looks-negp): Replace variable regs by declared variable.

(math-apply-rw-ruleset): New variable.
(math-apply-rewrites, math-rwapply-remember): Replace variable ruleset
by declared variable.
2004-11-19 21:03:48 +00:00
Jay Belanger
358c90f4f2 (math-simplify-divisor): Remove unnecessary variables. 2004-11-18 16:30:27 +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
Jay Belanger
e10300728d (calc-poly-div-remainder): Declared it. 2004-11-17 19:23:01 +00:00
Jay Belanger
e528df0df8 (math-defsimplify): Changed the argument in the created function to
math-simplify-expr.
2004-11-17 19:22:31 +00:00
Jay Belanger
0c90894530 (calc-poly-div): Made calc-poly-div-remainder a local variable.
(math-eval-rules-cache, math-eval-rules-cache-other):  Declared them.

(math-top-only):  New variable
(math-simplify, math-simplify-step):  Replace variable top-only by
declared variable math-top-only.

(math-simplify-expr):  Declared it.
Replaced argument expr in all calls of math-defsimplify by
math-simplify-expr.
(math-simplify-plus, math-simplify-times, math-simplify-divide)
(math-simplify-divisor, math-simplify-one-divisor)
(math-simplify-mod, math-simplify-ineq, math-simplify-sqrt)
(math-simplify-pow):  Replaced variable expr by declared variable
math-simplify-expr.

(math-simplify-divisor):  Removed local variables temp and op.
(math-simplify-one-divisor):  Made temp and op local variables.

(math-simplify-divisor-nover, math-simplify-divisor-dover):  New
variables.
(math-simplify-divisor, math-simplify-one-divisor):  Use declared
variables.

(math-expr-subst-new, math-expr-subst-old):  New variables.
(math-expr-subst, math-expr-subst-rec):  Use declared variables.

(math-is-poly-degree, math-is-poly-loose):  New variables.
(math-is-polynomial, math-is-poly-rec):  Use declared variables.

(math-poly-base-const-ok, math-poly-base-pred): New variables.
(math-polynomial-base, math-polynomial-base-rec):  Use declared
variables.
2004-11-17 19:21:57 +00:00
Jay Belanger
f7adda5411 (math-integrate-by-parts): Removed unused variable var-thing.
(math-integ-depth, math-integ-level, math-integral-limit)
(math-enable-subst, math-any-substs, math-integ-msg)
(math-prev-parts-v, math-good-parts, math-max-integral-limit)
(math-int-threshold, math-int-factors, math-double-roots)
(math-solve-simplifying, var-IntegLimit, math-solve-sign)
(var-GenCount):  Declared these variables.
(calcFunc-integ):  Don't check if var-IntegLimit is bound.

(math-integral-cache, math-integral-cache-state):  Move declarations
to earlier in the file.

(math-deriv-var, math-deriv-total, math-deriv-symb):  New variables.
(math-derivative, calcFunc-deriv, calcFunc-tderiv):  Replace
variables deriv-var, deriv-total and deriv-symb by declared variables
math-deriv-var, math-deriv-total and math-deriv-symb.

(math-cur-record):  New variable.
(math-integral, math-replace-integral-parts, math-integrate-by-parts)
(calc-dump-integral-cache, math-try-integral):  Replace variable
cur-record by declared variable math-cur-record.

(math-has-rules):  New variable.
(math-try-integral, math-do-integral):  Use declared variable
math-has-rules instead of has-rules.

(math-t1, math-t2, math-t3):  New variables.
(math-do-integral, math-do-integral-methods, math-try-solve-for)
(math-try-solve-prod, math-solve-poly-funny-powers)
(math-solve-crunch-poly, math-decompose-poly)
(math-solve-find-root-term, math-find-root-in-prod):  Replace
variables t1, t2, t3 by declared variables math-t1, math-t2,
math-t3.

(math-so-far, math-integ-expr):  New variables.
(math-do-integral-methods, math-integ-try-linear-substitutions)
(math-integ-try-substitutions):  Replace variables so-far and expr by
declared variables math-so-far and math-integ-expr.

(math-expr-parts):  New variable.
(math-expr-rational-in, math-expr-rational-in-rec):  Replace variable
parts by declared variable math-expr-parts.

(calc-low, calc-high):  New variables.
(calcFunc-table, math-scan-for-limits):  Replaced variable low and
high with the declared variable calc-low and calc-high.

(math-solve-var, math-solve-full):  New variables.
(math-try-solve-for, math-try-solve-prod, math-solve-prod)
(math-decompose-poly, math-solve-quartic, math-poly-all-roots)
(math-solve-find-root-in-prod, math-solve-for, math-solve-system)
(math-solve-system-rec, math-solve-get-sign, math-solve-get-int):
Replace variables solve-var and solve-full with declared variables
math-solve-var and math-solve-full.

(math-solve-vars):  New variable.
(math-solve-system, math-solve-system-rec):  Replace variable
solve-vars with declared variable math-solve-vars.

(math-try-solve-sign):  New variable.
(math-try-solve-for, math-try-solve-prod):  Replace variable
sign by declared variable math-try-solve-sign.

(math-solve-b):  New variable.
(math-solve-poly-funny-powers, math-decompose-poly):  Replace variable
b by declared variable math-solve-b.

(math-solve-system-vv, math-solve-res):  New variables
(math-solve-system-rec, math-solve-system-subst):  Replaced variables
vv and res with declared variables math-solve-system-vv and
math-solve-system-res.
2004-11-15 06:16:21 +00:00
Jay Belanger
68d1b30d25 (calc-dumb-map): Declared it.
(calc-graph-show-dumb):  Check if calc-dumb-map is non-nil rather than
unbound.

(calc-graph-name):  Made `end' a local variable.

(calc-graph-lookup):  Made `varname' a local variable.

(var-DUMMY, var-DUMMY2, var-PlotRejects, calc-gnuplot-trail-mark):
Declared them.
(calc-graph-format-data):  Don't check if var-PlotRejects is bound.

(calc-graph-plot, calc-graph-compute-3d):  Removed references to the
unused variable y3vec.

(calc-graph-show-dumb):  Removed reference to unused variable found-pt.

(calc-graph-kill-hook, calc-graph-plot):  Removed reference to
calc-graph-prev-kill-hook.

(calc-graph-yvalue, calc-graph-yvec, calc-graph-numsteps,
calc-graph-numsteps3, calc-graph-xvalue, calc-graph-xvec,
calc-graph-xname, calc-graph-yname, calc-graph-xstep,
calc-graph-ycache, calc-graph-ycacheptr, calc-graph-refine,
calc-graph-keep-file, calc-graph-xval, calc-graph-xlow,
calc-graph-xhigh, calc-graph-yval, calc-graph-yp, calc-graph-xp,
calc-graph-zp, calc-graph-yvector, calc-graph-resolution,
calc-graph-y3value, calc-graph-y3name,
calc-graph-y3step, calc-graph-y3step, calc-graph-zval,
calc-graph-stepcount, calc-graph-is-splot, calc-graph-surprise-splot,
calc-graph-blank, calc-graph-non-blank, calc-graph-curve-num):  New
variables.
(calc-graph-plot, calc-graph-compute-2d, calc-graph-refine-2d)
(calc-graph-recompute-2d, calc-graph-compute-3d, calc-graph-format-data):
Replaced undeclared variables with the above declared variables.
2004-11-12 22:35:21 +00:00
Jay Belanger
8d7498c1ff (math-prime-factors-finished): Declared it as a variable.
(calcFunc-dfac):  Replaced max by n.

(math-stirling-local-cache):  New variable.
(math-stirling-number, math-stirling-1, math-stirling-2):  Replaced
the variable `cache' by the declared variable math-stirling-local-cache.

(var-RandSeed):  Declared it.
(math-init-random-base, math-random-digit):  Don't check to see if
var-RandSeed is bound.

(math-random-cache, math-gaussian-cache, calc-verbose-nextprime):
Declared them instead of just setting them.

(math-init-random-base):  Made i a local variable.

(math-random-digit):  Made math-random-last a local variable.

(math-prime-test-cache):  Moved declaration to before it is used.

(math-prime-test-cache-k, math-prime-test-cache-q,
math-prime-test-cache-nm1, math-prime-factors-finished):  Declared
them as variables.
2004-11-11 20:59:02 +00:00
Jay Belanger
fe1f8500f8 (math-defcache): Use defvar for the new variables it creates. 2004-11-11 20:16:15 +00:00
Jay Belanger
411b140762 (math-read-brackets, math-check-for-commas): Use declared variable
math-exp-pos.

(math-check-for-commas):  Use declared variable math-exp-str.

(math-read-brackets):  Use declared variables math-exp-old-pos,
math-exp-keep-spaces.

(math-read-brackets, math-read-vector, math-read-matrix):  Use
declared variable math-exp-token.
2004-11-11 05:53:19 +00:00
Jay Belanger
679e2630d3 (math-parse-tex-sum): Use declared variable math-exp-old-pos.
(math-parse-fortran-vector, math-parse-fortran-vector-end)
(math-parse-eqn-prime):  Use declared variable math-exp-token.
2004-11-11 05:52:17 +00:00
Jay Belanger
97660b3e63 (math-read-angle-bracket): Use declared variables math-exp-pos,
math-exp-str.
2004-11-11 05:51:24 +00:00
Jay Belanger
e59b8655da (math-read-expr): Use declared variables math-exp-pos,
math-exp-old-pos, math-exp-str, math-exp-token,
math-exp-keep-spaces.
2004-11-11 05:50:09 +00:00
Jay Belanger
3cedbf7217 (calc-do-quick-calc): Use kill-new to append string to kill-ring.
(calc-alg-exp, math-toks, math-exp-pos,math-exp-old-pos)
(math-exp-token, math-exp-keep-spaces, math-exp-str):  New variables.

(calc-do-alg-entry, calcAlg-equals, calcAlg-edit, calcAlg-enter):  Use
declared variable calc-alg-exp.

(math-build-parse-table, math-find-user-token):  Use declared variable
math-toks.

(math-read-exprs, math-read-token, calc-check-user-syntax,
calc-match-user-syntax, match-factor-after, math-read-factor):  Use
declared variables math-exp-pos math-exp-old-pos.

(math-read-exprs, math-read-token, math-read-expr-level)
(calc-check-user-syntax, calc-match-user-syntax, match-factor-after)
(math-read-factor):  Use declared variable math-exp-token.

(math-read-exprs, math-read-expr-list, math-read-token,
math-read-factor):  Use declared variable math-exp-keep-spaces.

(math-read-exprs, math-read-token):  Use declared variable
math-exp-str.

(calc-match-user-syntax):  Made m a local variable.
2004-11-11 05:48:50 +00:00
Jay Belanger
abd880c33e (math-read-exprs, math-read-expr-list, math-read-expr-level,
math-read-token, calc-check-user-syntax, calc-match-user-syntax,
math-read-if, math-factor-after, math-read-factor):  Use
declared variable math-expr-data.
2004-11-09 20:32:37 +00:00
Jay Belanger
54961aa0ca (math-parse-fortran-vector, math-parse-fortran-vector-end,
math-parse-tex-sum, math-parse-eqn-matrix, math-parse-eqn-prime,
math-read-math-subscr):  Use declared variable math-expr-data.
2004-11-09 20:32:13 +00:00
Jay Belanger
5c8a5f96c7 (math-read-brackets, math-read-vector, math-read-matrix): Use
declared variable math-expr-data.
2004-11-09 20:31:40 +00:00
Jay Belanger
ce037856d4 (math-rewrite, math-rewrite-phase): Use declared variable math-mt-many.
(math-rewrite):  Use declared variable math-mt-func.
2004-11-09 20:31:12 +00:00
Jay Belanger
f7917133cb (math-expand-form): Use declared variable math-mt-many. 2004-11-09 20:30:40 +00:00
Jay Belanger
dc78141338 (math-normalize-a): New variable.
(math-normalize):  Use declared variable math-normalize-a.
2004-11-09 20:30:10 +00:00
Jay Belanger
722401eb12 (calc-init-extensions): Remove old code.
(math-expr-data, math-mt-many, math-mt-func, calc-z-prefix-buf)
(calc-z-prefix-msgs):  New variables.

(calc-z-prefix-help, calc-user-function-list):  Use declared variables
calc-z-prefix-buf, calc-z-prefix-msgs.

(math-normalize-nonstandard):  Use declared variable math-normalize-a.

(math-map-tree, math-map-tree-rec):  Use declared variables
math-mt-many, math-mt-func.

(math-read-expression, math-read-string):  Use declared variable math-expr-data.
2004-11-09 20:29:34 +00:00
Jay Belanger
5f16f8be79 (calc-init-extensions): Bound calc-yank to mouse-2. 2004-11-09 04:49:01 +00:00
Jay Belanger
f55320b5c4 (calc-mode-hook, calc-trail-mode-hook, calc-start-hook, calc-end-hook)
(calc-load-hook):  New variables.

(calc, calc-trail-display, calc-mode):  Removed obsolete sections.

(calc-x-paste-text):  Removed.
2004-11-09 04:43:03 +00:00