1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-11 00:30:17 -08:00
Commit graph

199 commits

Author SHA1 Message Date
Jay Belanger
f479e32a8e (calc-lang-slash-idiv,calc-lang-allow-underscores,calc-lang-c-type-hex)
(calc-lang-brackets-are-subscripts, calc-lang-parens-are-subscripts):
New variables.
(math-expr-special-function-mapping): Remove variable.
(math-eqn-ignore-words, math-tex-ignore-words, math-latex-ignore-words):
Move to calc-lang.el.
2007-12-02 03:16:05 +00:00
Glenn Morris
43f0c09ef5 (math-normalize-nonstandard): Fix declaration. 2007-11-27 07:57:07 +00:00
Jay Belanger
c68aaac5a6 (calc-set-language, calc-edit-finish)
(calc-edit-cancel, calc-do-quick-calc, calc-do-calc-eval)
(calc-do-keypad, calcFunc-unixtime, math-parse-date)
(math-lessp, calc-embedded-finish-command)
(calc-embedded-select-buffer, calc-embedded-mode-line-change)
(calc-push-list-in-macro, calc-replace-selections)
(calc-record-list, calc-normalize-fancy, calc-do-handle-whys)
(calc-top-selected, calc-sel-error, calc-pop-stack-in-macro)
(calc-embedded-stack-change, calc-refresh-evaltos)
(calc-do-refresh, calc-binary-op-fancy, calc-unary-op-fancy)
(calc-delete-selection, calc-alg-digit-entry, calc-alg-entry)
(calc-dots, calc-temp-minibuffer-message, math-read-radix-digit)
(calc-digit-dots, math-normalize-fancy, math-normalize-nonstandard)
(math-recompile-eval-rules, math-apply-rewrites, calc-record-why)
(math-dimension-error, calc-incomplete-error, math-float-fancy)
(math-neg-fancy, math-zerop, calc-add-fractions)
(math-add-objects-fancy, math-add-symb-fancy, math-mul-zero)
(calc-mul-fractions, math-mul-objects-fancy, math-mul-symb-fancy)
(math-reject-arg, math-div-by-zero, math-div-zero, math-make-frac)
(calc-div-fractions, math-div-objects-fancy, math-div-symb-fancy)
(math-compose-expr, math-comp-width, math-composition-to-string)
(math-stack-value-offset-fancy, math-format-flat-expr-fancy)
(math-adjust-fraction, math-format-binary, math-format-radix)
(math-group-float, math-mod, math-format-number-fancy)
(math-format-bignum-fancy, math-read-number-fancy)
(calc-do-grab-region, calc-do-grab-rectangle, calc-do-embedded)
(calc-do-embedded-activate, math-do-defmath)
(calc-load-everything): Declare as functions.
2007-11-27 04:02:56 +00:00
Jay Belanger
ebbdfa246a (calc-mode): Require calc-menu. 2007-11-15 02:57:46 +00:00
Noah Friedman
84b4b70d64 Add `backward-delete-char-untabify' to the list of bindings to remap when
`calc-scan-for-dels' is non-nil.
2007-11-13 18:52:00 +00:00
Dan Nicolaescu
6546555e7d * calc/calc.el (calc-emacs-type-lucid): Remove.
(calc-digit-map, calcDigit-start, calc-read-key)
(calc-clear-unread-commands):
* calc/calc-ext.el (calc-user-key-map): Replace uses of
calc-emacs-type-lucid with (featurep 'xemacs)

* emulation/tpu-mapper.el: Replace tpu-lucid-emacs19-p with
(featurep 'xemacs).
(tpu-lucid-emacs19-p): Remove.
(tpu-map-key): Make it a function instead of using fset.  Inline
tpu-emacs-map-key and tpu-lucid-map-key.  Use featurep 'xemacs.
(tpu-emacs-map-key, tpu-lucid-map-key): Remove.

* ielm.el: Use featurep 'xemacs.

* progmodes/cperl-mode.el (cperl-xemacs-p): Remove.
(condition-case, cperl-can-font-lock, cperl-singly-quote-face)
(cperl-define-key, cperl-mode-map, cperl-mode, cperl-init-faces)
(cperl-write-tags, cperl-tags-hier-init, cperl-perldoc): Replace
cperl-xemacs-p with (featurep 'xemacs).
(font-lock-cache-position): Pacify byte compiler.
2007-10-29 15:33:04 +00:00
Jay Belanger
c8d0074405 (math-standard-opers): Lower the precedence of negation. 2007-10-27 20:24:52 +00:00
Juanma Barranquero
2a78421d93 (calc-digit-map, calc-dispatch-map, calc-mode, calc-quit):
Use `mapc' rather than `mapcar'.
2007-09-26 00:09:32 +00:00
Jay Belanger
37cecd78a0 (math-bignum-digit-length): Compute the appropriate value. 2007-08-17 20:18:16 +00:00
Jay Belanger
82f36338e6 (calc-language-alist): Add texinfo-mode. 2007-08-17 03:57:06 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
075969b476 Switch license to GPLv3 or later. 2007-07-25 03:51:22 +00:00
Jay Belanger
236e165a5a (math-bignum-digit-length,math-bignum-digit-size,math-small-integer-size):
Don't eval when compiled.
2007-07-08 01:40:33 +00:00
Jay Belanger
9066adc420 (math-bignum-digit-size,math-small-integer-size): Evaluate when compiled. 2007-07-08 00:14:16 +00:00
Jay Belanger
a6a0d3cbf5 (math-bignum-digit-length): Evaluate when compiled. 2007-07-08 00:11:09 +00:00
Jay Belanger
aefad52dcd (math-bignum-digit-length): Change to optimal value.
(math-read-number-simple): Remove leading 0s.
2007-07-07 23:56:33 +00:00
Jay Belanger
e90988a097 (math-read-number): Replace number by variable.
(math-read-number-simple): Properly parse small integers.
2007-07-07 04:15:40 +00:00
Jay Belanger
9ae06d96f6 (math-add-bignum): Replace number by constant. 2007-07-06 03:58:00 +00:00
Jay Belanger
a6d107f171 (math-bignum-digit-length,math-bignum-digit-size,math-small-integer-size):
New constants.
(math-normalize,math-bignum-big,math-make-float,math-div10-bignum)
(math-scale-left,math-scale-left-bignum,math-scale-right)
(math-scale-right-bignum,math-scale-rounding,math-add,math-add-bignum)
(math-sub-bignum,math-sub,math-mul,math-mul-bignum,math-mul-bignum-digit)
(math-idivmod,math-quotient,math-div-bignum,math-div-bignum-digit)
(math-div-bignum-part,math-format-bignum-decimal,math-read-bignum):
Use math-bignum-digit-length, math-bignum-digit-size and
math-small-integer-size.
2007-06-23 04:08:18 +00:00
Jay Belanger
1f26c38058 (math-read-number-simple): New function. 2007-06-22 01:05:10 +00:00
Jay Belanger
cad63e32bd (math-standard-ops): Fix precedence of multiplication. 2007-06-20 19:32:49 +00:00
Jay Belanger
515e955e0a (calc-multiplication-has-precendence): New variable.
(math-standard-ops,math-standard-ops-p,math-expr-ops): New functions.
(math-expr-opers): Define using math-standard-ops rather than
math-standard-opers.
2007-06-20 04:07:24 +00:00
Jay Belanger
b943a9d642 Update maintainer's address.
(calc-bug-address): Update maintainer's address.
2007-04-23 21:29:30 +00:00
Jay Belanger
bd149d6ec3 (calc-version): New function. 2007-04-16 02:30:04 +00:00
Jay Belanger
802ed9b9e7 (calc-trail-mode): Shorten the title. 2007-04-16 01:50:16 +00:00
Glenn Morris
7c671b23f3 Change form of license text to match rest of Emacs. 2007-03-19 20:59:53 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Jay Belanger
9999226411 (calc-dispatch): Remove unnecessary `sit-for'. 2006-09-12 17:00:40 +00:00
Jay Belanger
8190210bf9 (calc-previous-alg-entry): Remove variable. 2006-07-20 20:22:18 +00:00
Jay Belanger
09ea57eaca Update copyright year. 2006-02-05 16:31:42 +00:00
Jay Belanger
d24f83d4b7 Change global keybinding for calc-dispatch to "\C-x*"
(calc-dispatch-map): Add more keys for `calc-same-interface'.
2005-11-28 22:12:59 +00:00
Jay Belanger
431bbd673e (calc-left-divide): New function. 2005-11-14 20:13:46 +00:00
Jay Belanger
bbcaa3e3b6 (calc-matrix-mode, calc-set-mode-line): Change the mode name `square'
to 'sqmatrix'.
2005-10-10 19:41:08 +00:00
Jay Belanger
8868c48e5a (calc-set-mode-line): Add square matrix option. 2005-10-07 21:18:47 +00:00
Jay Belanger
58ba2f8f07 Update copyright information. 2005-07-14 20:05:30 +00:00
Jay Belanger
0124a115fe (calc-embedded-announce-formula-alist)
(calc-embedded-open-close-plain-alist)
(calc-embedded-open-close-mode-alist): Added checks for additional
major modes (due to Robert J. Chassell  <bob@rattlesnake.com>).
2005-07-11 06:43:39 +00:00
Jay Belanger
b2d2748d7a (calc-embedded-announce-formula-alist, calc-embedded-open-close-formula-alist,
calc-embedded-open-close-word-alist, calc-embedded-open-close-plain-alist,
calc-embedded-open-close-new-formula-alist, calc-embedded-open-close-mode-alist,
calc-embedded-new-buffer-hook, calc-embedded-new-formula-hook,
calc-embedded-mode-hook): New variables.
2005-07-09 03:41:40 +00:00
Juanma Barranquero
111a5355b7 (calc): Finish `defgroup' description with period.
(math-format-stack-value): "?\ " -> "?\s".
2005-07-04 02:39:37 +00:00
Jay Belanger
ed65ed86e1 (calc-bug-address): Fix docstring.
(calc-window-hook, calc-trail-window-hook): New variables.
(calc-trail-display): Use calc-trail-window-hook if it is non-nil.
(calc): Use calc-window-hook if it is non-nil.
2005-05-30 21:03:51 +00:00
Jay Belanger
dd168a3e47 (calc-user-invocation): Check if calc-invocation-macro is non-nil. 2005-05-30 02:49:54 +00:00
Jay Belanger
f5a3eb30e9 (calc-alg-map): Declare it. 2005-05-28 04:41:46 +00:00
Lute Kamstra
462789ab2a (calc): Specify customization group. 2005-05-27 12:14:21 +00:00
Jay Belanger
04e9c13cc2 (calc-language-alist): Remove extra defvar. 2005-05-26 18:02:06 +00:00
Lute Kamstra
d74fa98c01 (calc-mode, calc-trail-mode): Use run-mode-hooks. 2005-05-26 13:30:23 +00:00
Thien-Thi Nguyen
f8fc52569f Update years in copyright notice; nfc. 2005-05-17 19:08:39 +00:00
Jay Belanger
28572d7db7 (calcDigit-key, math-read-number, math-read-bignum): Replace
string-to-int by string-to-number.
2005-05-02 19:45:57 +00:00
Lute Kamstra
ec1e11a9a4 (calc-trail-mode): Don't set font-lock-defaults. 2005-04-25 22:22:51 +00:00
Jay Belanger
2f145e580c (calc-language-alist): Add tags to customization type. 2005-04-04 03:56:45 +00:00
Jay Belanger
60afc271ff calc.el
(calc-settings-file, calc-language-alist): Make customizable.
(calc-embedded-announce-formula, calc-embedded-open-formula)
(calc-embedded-close-formula, calc-embedded-open-word)
(calc-embedded-close-word, calc-embedded-open-plain)
(calc-embedded-close-plain, calc-embedded-open-new-formula)
(calc-embedded-close-new-formula, calc-embedded-open-mode)
(calc-embedded-close-mode, calc-gnuplot-name, calc-gnuplot-plot-command)
(calc-gnuplot-print-command): Move here from other files and make customizable.
2005-04-01 21:43:47 +00:00
Jay Belanger
f7e30874fe Update copyright date.
(calc-version): Increase to 2.1
(calc-version-date): Remove.
2005-03-29 16:15:49 +00:00