Commit graph

965 commits

Author SHA1 Message Date
Jay Belanger
887484c140 (calc-b-prefix-help): Add help for `calc-symclip'. 2009-11-16 00:11:51 +00:00
Jay Belanger
fa2c374a22 (calc-arithmetic-menu): Add item for `calc-symclip'.
(calc-modes-menu): Add item for twos complement.
2009-11-16 00:07:07 +00:00
Jay Belanger
43a4260ead (calc-get-operator): Add `calc-symclip'.
(calc-b-oper-keys): Add `calc-symclip' to list.
2009-11-16 00:02:21 +00:00
Jay Belanger
6f1b89435a (math-read-number-fancy): Read complement signed numbers.
(calc-init-extensions): Add binding for `calc-symclip'.
Add autoloads for `calcFunc-symclip' and `calc-symclip'.
2009-11-16 00:01:57 +00:00
Jay Belanger
802732d033 (calc-embedded-mode-vars): Add `calc-complement-signed-mode'. 2009-11-16 00:01:17 +00:00
Jay Belanger
b1d9611c47 (calc-word-size): Reset the variables math-2-word-size' and math-half-2-word-size'.
(math-format-complement-signed, math-symclip, calcFunc-symclip, calc-symclip): New functions.
2009-11-16 00:00:22 +00:00
Jay Belanger
55c222f6ed (math-read-token): Read complement signed numbers. 2009-11-15 23:59:38 +00:00
Jay Belanger
12d8d7f4d7 (calcDigit-key): Fix regexp. 2009-11-15 23:58:11 +00:00
Jay Belanger
7d08336e25 (math-2-word-size, math-half-2-word-size, calc-complement-signed-mode):
new variables.
(calc-set-mode-line): Add indicator for twos-complements.
(math-format-number): Format twos-complement notation.
2009-11-15 23:55:53 +00:00
Jay Belanger
6292c59952 (calc-date-notation): Check to see if the format is whitespace
instead of only the empty string.
2009-11-02 02:59:23 +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
Jay Belanger
1d228a31c3 (math-read-number, math-read-number-simple): Use `save-match-data'. 2009-10-23 01:40:13 +00:00
Glenn Morris
eaf9b5643d Use window-full-height-p. 2009-10-06 02:42:29 +00:00
Glenn Morris
b15c31c722 Remove unused declarations. 2009-10-01 02:17:38 +00:00
Juanma Barranquero
d88444f292 * speedbar.el (speedbar-item-delete):
* calc/calc-prog.el (calc-kbd-if):
* language/hanja-util.el (hanja-init-load): Fix typos in messages.

* epa.el (epa-key-list-mode-map):
* hi-lock.el (hi-lock-menu): Fix typos in menus.

* progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
(hs-show-hook): Fix typo in docstring.
2009-09-29 02:26:20 +00:00
Glenn Morris
547c692190 (calc-graph-lookup): Avoid assignment to free variable `var'.
Delete trailing whitespace.
2009-09-19 21:22:45 +00:00
Glenn Morris
f3445fab9f (var): Define for compiler.
Delete trailing whitespace.
2009-09-19 21:11:40 +00:00
Glenn Morris
a9d46b583e (arglist): Define for compiler.
Delete trailing whitespace.
2009-09-15 02:35:22 +00:00
Stefan Monnier
5cb16bfc75 Improve commenting convention.
(calc-digit-map, toplevel): Simplify.
2009-08-30 05:12:46 +00:00
Stefan Monnier
2aa0e5bf92 * paths.el (abbrev-file-name): Move to abbrev.el.
* abbrev.el (abbrev-file-name): Move from paths.el.
Obey user-emacs-directory.
* calc/calc.el (calc-settings-file): Don't autoload and instead obey
user-emacs-directory.
* dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
abbrev-file-name and calc-settings-file any more.
* startup.el (command-line): Recompute abbrev-file-name and
abbreviated-home-dir.
(normal-no-mouse-startup-screen): Improve the generic code and get rid
of the special code for when C-h bindings haven't been changed.
(display-startup-echo-area-message): Use with-current-buffer.
(command-line-1): Use a list of strings, rather than a list of lists
of strings for longopts.
2009-08-29 19:22:38 +00:00
Jay Belanger
42110eaf95 (math-trig-rewrite, math-hyperbolic-trig-rewrite): New functions.
(calc-simplify): Simplify trig functions when asked.
2009-08-24 18:43:50 +00:00
Glenn Morris
e6ce8c4239 Use forward-line rather than goto-line. 2009-08-22 19:29:18 +00:00
Glenn Morris
d5d105e863 Use help-print-return-message rather than the now obsolete alias. 2009-08-21 07:24:26 +00:00
Eli Zaretskii
8b0bcc2eca (calc-graph-plot): Set calc-graph-last-device to "windows" when "pgnuplot"
is used.
(calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't call
accept-process-output if "pgnuplot" is used.
(calc-graph-init): Don't send -display and -geometry to "pgnuplot".  If
"pgnuplot" is used, glean gnuplot version by running "pgnuplot -V" with
shell-command-to-string.
2009-08-07 14:54:10 +00:00
Eli Zaretskii
615cc5fba6 (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as the default. 2009-08-07 14:52:56 +00:00
Jay Belanger
38216c3089 calc-mode.el (calc-matrix-brackets): Remove "P" from prompt. 2009-07-30 04:44:23 +00:00
Jay Belanger
9ca102281e (calc-mode-map): Add keybinding for `calc-transpose-lines'. 2009-07-29 03:42:49 +00:00
Jay Belanger
2845f6fd61 (calc-transpose-lines): New function. 2009-07-29 03:42:19 +00:00
Jay Belanger
b159e5b047 (calc-undo-length): New variable.
(calc-quit): Truncate rather than eliminate `calc-undo-list'.
2009-07-21 18:56:35 +00:00
Jay Belanger
e4a5a3079b (calc-embedded-make-info): Don't force when `calc-embedded-word' is
called twice.
2009-07-06 00:11:09 +00:00
Jay Belanger
2e9b968b28 (math-use-emacs-fn): Make sure that the number is formatted correctly. 2009-07-03 01:43:33 +00:00
Glenn Morris
d916c9650d (calc-graph-plot): Avoid assignment to free variable `filename'. 2009-06-23 07:28:19 +00:00
Jay Belanger
7048562d01 (calc-mode): Replace copy-list' with copy-sequence'. 2009-04-27 23:12:20 +00:00
Jay Belanger
26361eae76 (calc-set-mode-line): Check to make sure that the correct Calc buffer
gets "Embed" in the mode line.
(calc-mode): Copy stack list for additional Calc buffers.
2009-04-26 01:39:48 +00:00
Jay Belanger
4880bb30ba (calc-buffer-list): New variable.
(calc-kill-stack-buffer): New function.
(calc-mode): Add `calc-kill-stack-buffer' to
`kill-buffer-query-functions'.
Add current buffer to `calc-buffer-list'.
2009-03-30 02:19:07 +00:00
Jay Belanger
e42ed20cbb (calc-embedded-restore-original-modes): Add argument for Calculator buffer.
(calc-do-embedded): Use specific Calculator buffer when cancelling
embedded mode.
2009-03-30 02:17:40 +00:00
Jay Belanger
7b3752ab87 (math-use-emacs-fn): Make sure that the lisp number is in decimal. 2009-02-21 19:19:58 +00:00
Jay Belanger
170bc4f7d8 (calc-sel-expand-formula): Simplify expanded denominator. 2009-01-27 05:12:28 +00:00
Jay Belanger
d22546d532 (cal-sel-mult-both-sides): Add an option to expand the denominator. 2009-01-27 01:21:54 +00:00
Jay Belanger
1b2d606c19 Mention change to `j *'. 2009-01-27 01:20:27 +00:00
Jay Belanger
18e50b48db (calcFunc-apart): Improve test for rational functions. 2009-01-24 02:27:04 +00:00
Jay Belanger
91ca6606a6 (math-compose-tex-sqrt): New function (previously commented out).
(math-special-function-table): Use `math-compose-tex-sqrt' to compose
sqrts in TeX and LaTeX mode.
2009-01-11 19:14:59 +00:00
Glenn Morris
1e4bd40da2 Replace last-input-char with last-input-event. 2009-01-09 05:00:56 +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
Jay Belanger
9f6a59d16c (calcFunc-collect): Normalize the coefficients of the
polynomial rather than the whole polynomial.
2008-11-26 02:39:57 +00:00
Jay Belanger
be5255e21c (calc-settings-file, calc-language-alist)
calc-embedded-announce-formula, calc-embedded-announce-formula-alist)
calc-embedded-open-formula, calc-embedded-close-formula)
calc-embedded-open-close-formula-alist)
calc-embedded-word-regexp-alist, calc-embedded-open-plain)
calc-embedded-close-plain, calc-embedded-open-close-plain-alist)
calc-embedded-open-new-formula, calc-embedded-close-new-formula)
calc-embedded-open-close-new-formula-alist, calc-embedded-open-mode)
calc-embedded-close-mode, calc-embedded-open-close-mode-alist)
calc-gnuplot-name, calc-gnuplot-plot-command)
calc-gnuplot-print-command, calc-multiplication-has-precedence):
Remove unnecessary asterisks from docstrings.
2008-11-25 01:30: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