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

135 Commits

Author SHA1 Message Date
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
Jay Belanger
f1e0e03c67 (math-do-integral-methods): Try linear, then non-linear, substitutions. 2004-11-08 02:21:11 +00:00
Jay Belanger
4710da05cb (math-linear-subst-tried): New variable.
(math-do-integral):  Set `math-linear-subst-tried' to nil.

(math-do-integral-methods):  Use `math-linear-subst-tried' to
determine what type of substitution to try.

(math-integ-try-linear-substituion):  Set `math-linear-subst-tried' to
t.
2004-11-07 23:33:29 +00:00
Jay Belanger
97d8398874 (calc-over-notation): Replaced `completing-read' with
`interactive "s"'.
2004-11-01 20:08:56 +00:00
Jay Belanger
8cb77f98f0 (calc-match): Use an extra argument instead of `interactive-p'. 2004-10-26 19:09:40 +00:00
Jay Belanger
1f5a0f5d5d (calc-other-window): Use an extra argument instead of `interactive-p'. 2004-10-26 19:06:24 +00:00
Jay Belanger
577e1b7491 (calc,full-calc, calc-quit, calc-keypad, full-calc-keypad)
(calc-trail-display):  Use an extra argument instead of `interactive-p'.
2004-10-26 19:05:53 +00:00
Jay Belanger
b89c5b7158 (calc-digit-dots): Inhibit read-only before erasing minibuffer. 2004-10-25 13:57:20 +00:00
Jay Belanger
1480882c5f (calc-alg-ent-map, calc-alg-ent-esc-map): Declared these variables
with defvar.

(calc-do-alg-entry): Since `calc-alg-ent-map' is bound, only check to
see if it is non-nil.
2004-10-21 19:20:11 +00:00
Stefan Monnier
22101fbb14 (calc-describe-bindings): Fix last change. 2004-10-21 19:09:46 +00:00
Jay Belanger
6e237e7298 (calc-graph-init): Use `set-process-query-on-exit-flag' 2004-10-21 15:41:15 +00:00
Jay Belanger
aa9208fbc7 (calcAlg-previous): Changed the regexp to the end of buffer regexp. 2004-10-19 15:34:38 +00:00
Jay Belanger
da8937c1f8 (calc-fancy-prefix): Removed emacs version check. 2004-10-19 14:41:50 +00:00
Jay Belanger
33f3d9aebb (calc-graph-plot): Removed emacs version check. 2004-10-19 14:41:18 +00:00
Jay Belanger
ab079f7202 (calc-total-algebraic-mode): Removed error call that would be given
when the current emacs was used.
2004-10-19 14:39:57 +00:00
Jay Belanger
cecd4c2023 (calc-emacs-type-19, calc-emacs-type-epoch, calc-emacs-type-gnu19):
Removed.

(calc-digit-map, calc-read-key-sequence, calc-read-key): Removed
check for old emacs versions.
2004-10-19 14:36:47 +00:00
Jay Belanger
f1625eaa20 (calc-do-alg-entry): Remove Emacs version check. Use `copy-keymap' to
copy `esc-map'.
2004-10-19 14:22:47 +00:00
Jay Belanger
4ebcaf0ef8 (calc-init-extensions): Define calc-alg-map' and calc-alg-esc-map'
for current Emacs.
2004-10-19 14:21:31 +00:00
Jay Belanger
2061942c16 (calc-describe-bindings): Set `buffer-read-only' to nil while working
in the keybindings buffer; remove some extra information from the
keybindings buffer.
2004-10-18 19:13:16 +00:00
Jay Belanger
6fb690e298 (calc-help-function-list, calc-help-variable-list): New variables.
(calc-help-index-entries): New function.

(calc-describe-function):  Use calc-help-function-list instead of
obarray for completion.

(calc-describe-variable):  Use calc-help-variable-list instead of
obarray for completion.
2004-10-12 15:47:32 +00:00
Jay Belanger
749dadb57d (calc-describe-copying, calc-describe-distribution, calc-describe-thing,
calc-describe-no-warranty, calc-describe-key):  Go to appropriate info
node in one step.
2004-10-11 03:29:45 +00:00
Jay Belanger
65ce291b9c (calc-info-goto-node): New function.
(calc-tutorial, calc-info-summary): Go to appropriate Calc info node
in one step.
2004-10-11 03:27:24 +00:00
Jay Belanger
9d3c486a7e Added `calc-info-goto-node' to autoloads. 2004-10-11 03:25:09 +00:00
Jay Belanger
b881982543 (calc-graph-add-curve): Moved the call to `calc-graph-set-styles' so
the gnuplot buffer will appear in a separate window.
2004-09-21 18:52:00 +00:00
Jay Belanger
cde090ee08 (calc-mode-var-list): Removed unnecessary quotes. 2004-09-20 18:35:40 +00:00
John Paul Wallington
91af11b2a3 (calc-quick-units): Fix overzealous s/or/unless. 2004-09-18 09:29:35 +00:00
Jay Belanger
def71c184c (calc-mode-var-list): Fixed the value of `calc-matrix-brackets'. 2004-09-17 17:07:07 +00:00
Jay Belanger
32d5360ac8 (calc-bug-address): Changed email address to send bug reports to.
Also changed the maintainer address at the top.
2004-09-15 16:57:57 +00:00
Jay Belanger
a8aee43bd2 (calc-mode): Compare calc-settings-file' to user-init-file' rather
than "\\.emacs" to determine if it is the user-init-file.
2004-09-15 16:54:26 +00:00
Jay Belanger
f10b7b1b5a calc/calc-embed.el (calc-embedded-set-modes): Use
`calc-mode-var-list' correctly.
2004-09-15 16:49:04 +00:00
Jay Belanger
7b2cda3878 calc/calc.el (calc-mode-var-list): Define this variable.
(calc-always-load-extensions, calc-line-numbering,
calc-line-breaking, calc-display-just, calc-display-origin,
calc-number-radix, calc-leading-zeros, calc-group-digits,
calc-group-char, calc-point-char, calc-frac-format,
calc-prefer-frac, calc-hms-format, calc-date-format,
calc-float-format, calc-full-float-format, calc-complex-format,
calc-complex-mode, calc-infinite-mode, calc-display-strings,
calc-matrix-just, calc-break-vectors, calc-full-vectors,
calc-full-trail-vectors, calc-vector-commas, calc-vector-brackets,
calc-matrix-brackets, calc-language, calc-language-option,
calc-left-label, calc-right-label, calc-word-size,
calc-previous-modulo, calc-simplify-mode, calc-auto-recompute,
calc-display-raw, calc-internal-prec, calc-angle-mode,
calc-algebraic-mode, calc-incomplete-algebraic-mode,
calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix,
calc-window-height, calc-display-trail, calc-show-selections,
calc-use-selections, calc-assoc-selections,
calc-display-working-message, calc-auto-why , calc-timing,
calc-mode-save-mode, calc-standard-date-formats,
calc-autorange-units, calc-was-keypad-mode, calc-full-mode,
calc-user-parse-tables, 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,
calc-invocation-macro, calc-show-banner): Give these values as
  part of `calc-mode-var-list's initialization after the variables
  are declared with defvar.
2004-09-15 16:48:19 +00:00
Stefan Monnier
e1fbd956b0 Add comment. 2004-03-26 15:30:42 +00:00
Stefan Monnier
6a3ed0641c (calc-mode-map): Use mapc. 2004-03-26 15:29:13 +00:00
Eli Zaretskii
bc47b3f8c5 (calc-do-embedded-activate): Add autoload
cookie.  Don't check if we are looking-at open-formula.
2004-02-16 17:16:22 +00:00
Andreas Schwab
79cd7893f4 (calc-do-prefix-help): Remove extra format
string argument.
2004-02-08 22:40:16 +00:00