Commit graph

670 commits

Author SHA1 Message Date
Colin Walters
9b08ce78d2 (calc-flush-caches): Add optional arg `inhibit-msg'. 2002-09-30 04:23:37 +00:00
Colin Walters
80f952a297 (calc-dispatch-map): Actually set to keymap. 2002-09-29 14:48:27 +00:00
Colin Walters
730576f3ec (calc-bug-address, calc-scan-for-dels, calc-stack)
(calc-stack-top, 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-complex-format)
(calc-full-float-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-function-open, calc-function-open)
(calc-function-close, calc-language-output-filter)
(calc-language-input-filter, calc-radix-formatter)
(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-inverse-flag)
(calc-hyperbolic-flag, calc-keep-args-flag, 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-display-sci-high, calc-display-sci-low, calc-other-modes)
(calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
Make into real defvars.
(calc-mode-var-list): Delete.
(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): Make into defvars,
taken from `calc-mode-var-list'.
(calc-emacs-type-epoch, calc-emacs-type-19)
(calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
(calc-version, calc-version-date, calc-trail-pointer)
(calc-trail-overlay, calc-undo-list, calc-redo-list)
(calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
(calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
(calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
(calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
(calc-said-hello, calc-executing-macro, calc-any-selections)
(calc-help-phase, calc-full-help-flag, calc-refresh-count)
(calc-display-dirty, calc-prepared-composition)
(calc-selection-cache-default-entry, calc-embedded-info)
(calc-embedded-active, calc-standalone-flag, var-EvalRules)
(math-eval-rules-cache-tag, math-radix-explicit-format)
(math-expr-function-mapping, math-expr-variable-mapping)
(math-read-expr-quotes, math-working-step, math-working-step-2)
(var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
defvars, from toplevel setq.
(calc-mode-map): Set up keymap in more modern fashion.
(calc-dispatch-map): Ditto.
(calc-command-flags, calc-final-point-line)
(calc-final-point-column): Defvar.
(calc-do): Use `save-current-buffer' instead of `save-excursion'.
(sel-mode): Defvar.
(calc-any-evaltos): Ditto.
(calc-buffer, calc-prev-char, calc-prev-prev-char)
(calc-digit-value): Ditto.
(math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
(math-sub-bignum): Bind `diff'.
(calc-selection-cache-entry): Defvar.
(calc-count-lines): Reference `pos' instead of `newpos'.
2002-09-27 04:55:22 +00:00
Colin Walters
558f9ba1c1 (calc-mode): Add font-lock-defontify to change-major-mode-hook. 2002-09-18 16:47:48 +00:00
David Kastrup
2363bd8daa (math-format-stack-value): Revert a broken
if->when replacement and reformat so that this does not happen
again.  Fixes a pretty lethal line formatting/yanking bug.
2002-08-05 09:34:12 +00:00
Juanma Barranquero
6f8269719e Fix typo. 2002-07-09 09:57:34 +00:00
Colin Walters
cd01230948 Use when', unless'.
(calc-trail-mode): Use an italic `font-lock-face'.
(calc-refresh): Ditto.
2002-06-12 05:11:22 +00:00
Miles Bader
a579b36f34 (calc-d-prefix-help): Add `@'. 2002-05-30 01:07:52 +00:00
Miles Bader
4813c36271 (calc-init-extensions): Add binding for `d@'.
(calc-toggle-banner): New function.
2002-05-30 01:05:21 +00:00
Miles Bader
1501f4f67e (calc-show-banner): New variable.
(calc-refresh): Only show banner if `calc-show-banner' is non-nil.
(calc-mode-var-list): Add `calc-show-banner'.
2002-05-30 01:04:15 +00:00
Colin Walters
be59410cd4 (math-standard-units): Update from CODATA. 2002-05-14 18:49:33 +00:00
Colin Walters
4cb72a5478 Revert previous change. 2002-04-14 05:51:31 +00:00
Colin Walters
91da64426a (math-format-number): Load `calc-ext' before we call
`math-group-float'.
2002-04-14 05:50:05 +00:00
Colin Walters
23cbf556ab (math-format-radix-float): Load calc-ext' before we call math-group-float'. 2002-04-14 01:51:15 +00:00
Colin Walters
afa717ec93 (calc-init-base): Ditto. 2002-03-29 23:00:21 +00:00
Colin Walters
59f4b0804d (calc-delete-windows-keep): Function deleted. 2002-03-29 22:55:53 +00:00
Colin Walters
1cc6997c38 (calc-was-split): Var deleted.
(calc): Remove reference to it.
(calc): Ditto.
(calc-quit): Ditto.
2002-03-29 22:55:39 +00:00
Colin Walters
2c37c14bd0 (calc-gnuplot-tempfile): Don't expand against
`temporary-file-directory'; we now do that in `calc-graph-file-cache'.
(calc-temp-file-name): Use `make-temp-file'.
2002-03-01 01:18:37 +00:00
Colin Walters
960e24e7bd (calc-scroll-left): Call scroll-left interactively, so they do something.
(calc-scroll-right): Ditto.
2002-02-26 19:54:21 +00:00
Colin Walters
a9c76ab2e6 (math-solve-get-sign): Convert integer to string. 2002-02-24 01:14:55 +00:00
Colin Walters
67dbc846a9 (calc-invent-variables): Convert integer to string. 2002-02-23 21:33:19 +00:00
Colin Walters
88258edfb6 (math-solve-get-int): Convert return value from
`math-get-from-counter' to a string before calling `concat' on it.
2002-02-18 20:06:20 +00:00
Colin Walters
418685d8e3 (calc-split-manual): Look for calc.texi.
(calc-public-autoloads): Obsolete; remove.
(calc-private-autoloads): Ditto.
(calc-add-autoloads): Ditto.
2002-02-18 20:06:07 +00:00
Colin Walters
061b2cc1e5 (calc-with-default-simplification): Use &rest for body. 2002-02-18 20:05:49 +00:00
Andreas Schwab
cd01f5b91c (calcDigit-key): Use minibuffer-prompt-end instead of point-min. 2002-02-08 12:32:18 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
Pavel Janík
0ff9b955fe Doc fixes. 2001-12-20 18:59:32 +00:00
Colin Walters
906bd0efe9 (Commentary): Cleanup, and add logistic curve fitting suggestion from
Robert J. Chassell <bob@rattlesnake.com>.
2001-11-24 22:34:26 +00:00
Colin Walters
4fdb78a13a (calc-init-extensions): Update the rest of the autoload names to match
files renamed on initial calc import.
2001-11-24 20:51:34 +00:00
Colin Walters
c567a7dbfe Add header comment. 2001-11-24 01:44:15 +00:00
Pavel Janík
0508150294 Delete empty lines at the end of file. 2001-11-23 06:06:41 +00:00
Pavel Janík
471f8b9293 Delete empty line at the end of file. 2001-11-23 06:06:01 +00:00
Pavel Janík
a2cdc7f9d9 "This file is part of GNU Emacs." added. 2001-11-23 06:05:11 +00:00
Colin Walters
7743d0332f Remove. 2001-11-22 20:35:42 +00:00
Colin Walters
afb55b714b (report-calc-bug): Use `reporter-prompt-for-summary-p'. 2001-11-22 20:34:30 +00:00
Colin Walters
8f148852e1 (report-calc-bug): Use reporter.el. 2001-11-22 07:59:01 +00:00
Colin Walters
b23d58ff83 (calc-info): Don't perform voodoo, just (info "Calc"). 2001-11-22 06:03:24 +00:00
Colin Walters
e790567163 (calc-slow-wrapper): Move (point) call outside of (function ...)
wrapper.
2001-11-21 06:24:04 +00:00
Colin Walters
7054901c2b (toplevel): Add comment and version header.
(calc-init-base): Bump version to 2.02f, update date.
2001-11-19 20:00:21 +00:00
Colin Walters
3132f345bc 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:44:56 +00:00
Colin Walters
f269b73e3e (calc-record-compilation-date): Remove.
(calc-bug-address): Update.
(calc-settings-file): Use `user-init-file'.

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:43:05 +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
cb19607288 (calc-settings-file-name, calc-save-modes): Handle null
`calc-settings-file'.

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:37:04 +00:00
Colin Walters
dac12d8087 (math-fixnump, math-fixnatnump, calcFunc-trunc)
(calcFunc-floor): Ditto.

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:36:42 +00:00
Colin Walters
3e3b3c7e38 (calc-wrapper, calc-slow-wrapper)
(math-showing-full-precision, math-with-extra-prec, math-working)
(calc-with-default-simplification)
(calc-with-trail-buffer): Use backtick.
(Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
(Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
(Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
(Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
(Math-integer-neg, Math-equal, Math-lessp, Math-primp)
(Math-num-integerp, Math-bignum-test, Math-equal-int)
(Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
(calc-record-compilation-date-macro): Deleted.  Callers updated.
(math-format-radix-digit): Move to calc-bin.el.

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:35:49 +00:00
Colin Walters
1e253dcb11 (calc-keypad-mode): New.
(calc-do-keypad): Use it.
(calc-keypad-map): Move into `calc-keypad-mode'.

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:34:59 +00:00
Colin Walters
12f1951a27 (calc-over-notation): Use `completing-read'.
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:34:00 +00:00
Colin Walters
bac0fac8ac Update maintainer. 2001-11-14 09:12:48 +00:00
Colin Walters
bf77c646a5 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:09:09 +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