1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00
Commit Graph

753 Commits

Author SHA1 Message Date
Stefan Monnier
d355a0b791 Replace Lisp calls to delete-backward-char by delete-char.
* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
skeleton.el, term.el, time.el, wid-edit.el, woman.el,
calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
progmodes/ps-mode.el, progmodes/verilog-mode.el,
progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
delete-backward-char by calls to delete-char.
2010-05-24 22:11:08 -04:00
Jay Belanger
134c2f29ce calc-trail.el (calc-trail-isearch-forward)
(calc-trail-isearch-backward): Ensure that the new window
point is set correctly.
2010-05-18 17:49:56 -05:00
Jay Belanger
00681a3c86 calc-vec.el (math-vector-avg): Put the vector elements in order
before computing the averages.
2010-05-16 23:16:29 -05:00
Jay Belanger
597517ef8d calc-vec.el (calc-histogram):
(calcFunc-histogram):  Allow vectors as inputs.
(math-vector-avg): New function.

calc.texi (Manipulating Vectors): Mention that vectors can be used to
determine bins for `calc-histogram'.
2010-05-15 23:43:09 -05:00
Jay Belanger
eba62f7a59 calc-ext.el (math-group-float): Have the number of digits being
grouped depend on the radix (Bug#6189).
2010-05-15 21:18:52 -05:00
Jay Belanger
ae6bc504c0 calc-aent.el (math-read-token, math-find-user-tokens):
calc-lang.el (math-read-big-rec, math-lang-read-symbol)
(math-compose-tex-func):
calccomp.el (math-compose-expr):
calc-ext.el (math-format-flat-expr-fancy):
calc-store.el (calc-read-var-name):
calc-units.el (calc-explain-units-rec): Allow Greek letters.

calc.el (var-π, var-φ, var-γ): New variables.

calc-aent.el (math-read-replacement-list):  Add "micro" symbol.

calc-units.el (math-unit-prefixes): Add mu for micro.
(math-standard-units):  Add units.
2010-05-14 23:50:25 -05:00
Jay Belanger
78ed0efce4 calc-bin.el (math-format-twos-complement): Group digits when appropriate. 2010-05-14 18:46:11 -05:00
Stefan Monnier
0235128c15 Merge from emacs-23 2010-05-08 14:47:07 -04:00
Alexander Klimov
9822590ba8 Use the proper form for gnuplot's set command 2010-04-28 21:38:12 -05:00
Jay Belanger
f8b91752dd calc-bin.el (calc-radix): Have the O option turn on twos-complement mode. 2010-04-17 23:13:09 -05:00
Jay Belanger
a0d3397536 calc.el (calc-mode-map): Bind O to 'calc-missing-key'. 2010-04-17 22:09:18 -05:00
Jay Belanger
d8b01fef63 * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'.
Add `calc-option-prefix-help' to calc-help autoloads.
(calc-inverse): Add "Option" to message, as appropriate.
(calc-hyperbolic): Add "Option" to message, as appropriate.
(calc-option, calc-is-option): New functions.

* calc-help.el (calc-full-help):  Add `calc-option-help'.
(calc-option-prefix-help): New function.

* calc-misc.el (calc-help): Add "Option" entry.

* calc.el (calc-local-var-list): Add `calc-option-flag'.
(calc-option-flag): New variable.
(calc-do): Set `calc-option-flag to nil.
(calc-set-mode-line): Add "Opt " as appropriate.
2010-04-16 21:47:25 -05:00
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