Commit graph

702 commits

Author SHA1 Message Date
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
Jay Belanger
a2baa90802 (calc-quit): Use `window-full-width-p' to check window width. 2008-11-05 22:12:21 +00:00
Jay Belanger
bc6922de39 (calc-quit): Make sure that the keypad buffer exists before delete its windows. 2008-11-04 23:52:15 +00:00
Jay Belanger
df802986e5 (calcFunc-collect): Return constant polynomial when appropriate. 2008-11-03 02:16:35 +00:00
Jay Belanger
e6c1b5fb51 Mention `calc-embedded-word-regexp'. 2008-10-10 14:58:26 +00:00
Jay Belanger
fb2e993b0e (calc-embedded-make-info): Use `calc-embedded-word-regexp' to find word. 2008-10-10 14:31:19 +00:00
Jay Belanger
2e756d9bf2 (calc-embedded-word-regexp, calc-embedded-word-regexp-alist):
New variables.
(calc-embedded-open-word, calc-embedded-close-word)
(calc-embedded-open-close-word-alist): Remove unused variables.
2008-10-10 14:30:22 +00:00
Jay Belanger
9b3e5667d0 (math-standard-units): More adjustments. 2008-10-06 13:17:21 +00:00
Jay Belanger
ac318df0f7 (math-standard-units): Update the values of the units. 2008-10-06 12:40:39 +00:00
Jay Belanger
19bdc4d8a3 (math-standard-units): Add entries used to display the the values in the
units buffer.
(math-build-units-table):  Add entries to the units table to be used
to display the values in the units buffer.
(math-build-units-table-buffer):  Use the display entry of the units
table when non nil.
(calc-define-unit): Add an option to enter display value of unit.
2008-09-30 02:40:31 +00:00
Jay Belanger
11041c992f (calcFunc-venum): Properly handle intervals. 2008-09-20 22:09:39 +00:00
Jay Belanger
fa786329aa (calc-convert-temperature): Use default units when appropriate. 2008-09-17 02:25:37 +00:00
Martin Rudalics
8d676b639a (calc-dispatch-map): Fix handling of upcased and
control-prefixed keys.  (Bug #835)
2008-09-02 08:49:49 +00:00
Jay Belanger
591b6e80e7 *** empty log message *** 2008-08-14 19:21:09 +00:00