Commit graph

908 commits

Author SHA1 Message Date
Stefan Monnier
0da208548b * lisp/calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
calcAlg-blink-matching-open.
(calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
(calc-do-alg-entry): Only touch the part of the keymap that varies.
Use the new blink-matching-check-function.
2010-09-03 13:26:08 +02:00
Jay Belanger
443c2c0301 calc.texi (Customizing Calc): Rearrange description of new
variables to match the presentation of other variables.
2010-08-08 21:30:10 -05:00
Jay Belanger
2c695727e0 calc.el (calc-trail-mode,calc-refresh): Use `face' property to italicize headers.
(calc-highlight-selections-with-faces): New variable.
(calc-selected-face, calc-nonselected-face): New faces.

calccomp.el (math-comp-highlight-string): Use
`calc-highlight-selections-with-faces' to determine how to highlight
subformulas.

calc-sel.el (calc-show-selections): Change message to something
appropriate. 

calc.texi (Making Selections, Selecting Subformulas)
(Customizing Calc): Mention how to use faces to emphasize selected
subformulas.
2010-08-07 22:04:57 -05:00
Glenn Morris
be19ef0b9b Add some utf-8 coding cookies.
* lisp/calc/calc-aent.el, lisp/calc/calc-ext.el, lisp/calc/calc-lang.el:
* lisp/calc/calc-store.el, lisp/calc/calc-units.el, lisp/calc/calc.el:
* lisp/calc/calccomp.el:
Add explicit utf-8 coding cookies to files with utf-8 characters.
Also delete trailing whitespace.
2010-06-22 00:41:10 -07:00
Jay Belanger
fb3e306a4f calc-poly.el: (math-accum-factors): Make sure that constants aren't distributed
after they are factored out.
2010-06-16 18:27:20 -05:00
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