Commit graph

791 commits

Author SHA1 Message Date
Stefan Monnier
eb6967a081 Remove the Arch metafiles. 2010-04-12 23:06:50 -04:00
Jay Belanger
cfd4160dba (calcFunc-fdiv): Use `nth' to choose elements from list. 2010-04-06 20:43:23 -05:00
Vincent Belaïche
317a26be00 (calcFunc-fdiv): Allow `fdiv' to divide fractions. 2010-04-06 20:33:00 -05:00
Chong Yidong
de3a1fe935 Fix more save-excursion warnings.
* textmodes/reftex-toc.el (reftex-toc-promote-prepare):
* emacs-lisp/elint.el (elint-add-required-env):
* cedet/semantic/db-find.el (semanticdb-find-translate-path-brutish-default):
* cedet/ede/make.el (ede-make-check-version):
* calendar/icalendar.el (icalendar--add-diary-entry):
* calc/calcalg2.el (math-tracing-integral): Use with-current-buffer instead of save-excursion.
2010-02-27 20:22:44 -05:00
Jay Belanger
05287c4978 Give `calc-command-flags' an initial value. 2010-01-16 23:08:35 -06:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Jay Belanger
d772f28bc8 (calc-octal-radix, calc-hex-radix): Add spec. 2009-11-20 01:09:03 +00:00
Jay Belanger
2d1c8c66dc (math-format-date): Fix typo. 2009-11-20 01:08:03 +00:00
Jay Belanger
e6e9cfbdc4 (calcFunc-vunpack): Let `calc-twos-complement-mode' be nil. 2009-11-20 01:00:27 +00:00
Jay Belanger
7b999abb57 (math-build-units-table-buffer): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:59:50 +00:00
Jay Belanger
f3550dacbc (calc-modes-menu): Clean up two's complement entries. 2009-11-20 00:59:24 +00:00
Jay Belanger
d2e63e7573 (math-use-emacs-fn): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:58:54 +00:00
Jay Belanger
22521c7040 (calc-graph-plot): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:58:28 +00:00
Jay Belanger
d389fbcb3f (math-format-date): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:58:00 +00:00
Jay Belanger
9e6a33ac87 (calc-init-extentions): Rename `calc-complement-signed-mode' to
`calc-twos-complement-mode'.
(math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
2009-11-20 00:57:32 +00:00
Jay Belanger
ed80ebb623 (calc-embedded-mode-vars): Rename `calc-complement-signed-mode' to
`calc-twos-complement-mode'.
2009-11-20 00:56:59 +00:00
Jay Belanger
064cb7e6e4 (math-compose-expr): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:56:28 +00:00
Jay Belanger
50a982d673 (math-format-twos-complement): Renamed from math-format-complement-signed.
(calc-radix): Rename `calc-complement-signed-mode' to
`calc-twos-complement-mode'.
(calc-octal-radix, calc-hex-radix): Add an argument for two's complement.
2009-11-20 00:55:53 +00:00
Jay Belanger
8768b1328e (calc-do-calc-eval): Let `calc-twos-complement-mode' be nil. 2009-11-20 00:55:13 +00:00
Jay Belanger
35d69a37c8 (calc-set-mode-line): Rename `calc-complement-signed-mode' to
`calc-twos-complement-mode'.
(math-format-number): Rename `math-format-complement-signed' to
`math-format-twos-complement'.
2009-11-20 00:54:19 +00:00
Jay Belanger
b06df1929b Mention twos-complement notation. 2009-11-17 02:01:44 +00:00
Jay Belanger
14467b99c9 (calc-b-prefix-help): Remove references to `calc-symclip'. 2009-11-16 23:35:14 +00:00
Jay Belanger
dd279d77ab (calc-arithmetic-menu): Remove `calc-symclip'. 2009-11-16 23:30:42 +00:00
Jay Belanger
e788cd434e (calc-get-operator):
(calc-b-oper-keys): Remove references to `calc-symclip'.
2009-11-16 23:30:18 +00:00
Jay Belanger
62be857ba2 (calc-init-extensions): Remove references to symclip. 2009-11-16 23:29:53 +00:00
Jay Belanger
0cfc719dc7 (math-symclip, calcFunc-symclip, calc-symclip): Remove. 2009-11-16 23:29:20 +00:00
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