Commit graph

134 commits

Author SHA1 Message Date
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
Glenn Morris
e6ce8c4239 Use forward-line rather than goto-line. 2009-08-22 19:29:18 +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
9ca102281e (calc-mode-map): Add keybinding for `calc-transpose-lines'. 2009-07-29 03:42:49 +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
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
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
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
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
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
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
91192b2e5e (calc-version): Remove. 2008-08-14 18:35:08 +00:00
Jay Belanger
a5e025ce62 (math-read-number): Handle C-like languages properly. 2008-08-05 03:45:22 +00:00
Jay Belanger
57675fb557 (math-read-number): Handle C numbers beginning with 0 correctly. 2008-08-05 03:38:24 +00:00
John Paul Wallington
d7ad7a5ec1 (defmath): Add `doc-string' decl. Add docstring. 2008-06-28 14:19:02 +00:00
Jay Belanger
7163bf2cc3 (calc-mode-map): Add extra keybindings to `calc-missing-key'. 2008-06-24 05:21:40 +00:00
Jay Belanger
24d2b0f510 (calc-mode-map): Remove old keybinding for `calc-yank'. 2008-05-13 19:12:56 +00:00
Glenn Morris
662c9c64ae Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:16:00 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Stefan Monnier
2378f0443a * calc/calc.el: Load "cal-loaddefs" rather than set up autoloads manually.
(calc-mode-map, calc-digit-map, calc-dispatch-map):
Move initialization into declaration.
* calc/calc-yank.el:
* calc/calc-misc.el:
* calc/calc-embed.el:
* calc/calc-aent.el: Add autoload cookies and set generated-autoload-file.
2008-04-08 22:07:55 +00:00
Jay Belanger
8fa92d84bd Autoload `calc-yank'.
(calc-mode-map): Add keybindings for `calc-yank'.
2008-04-01 02:06:44 +00:00
Jay Belanger
7a2c03a843 (calc-was-keypad-mode, calc-full-mode, calc-user-parse-tables)
(calc-gnuplot-default-device, calc-gnuplot-default-output)
(calc-gnuplot-print-device, calc-gnuplot-print-output)
(calc-gnuplot-geometry, calc-graph-default-resolution)
(calc-graph-default-resolution-3d, calc-invocation-macro)
(calc-trail-pointer, calc-trail-overlay, calc-undo-list)
(calc-redo-list, calc-main-buffer, calc-trail-buffer, calc-why)
(calc-last-kill, calc-dollar-values, calc-dollar-used)
(calc-hashes-used, calc-quick-prev-results, calc-said-hello)
(calc-executing-macro, calc-any-selections, calc-help-phase)
(calc-full-help-flag, calc-refresh-count, calc-display-dirty)
(calc-embedded-info, calc-embedded-active, calc-standalone-flag)
(var-EvalRules, math-expr-function-mapping, math-expr-variable-mapping)
(calc-mode-map, calc-digit-map, calc-dispatch-map, calc-do-dispatch)
(calc-read-key-sequence, calc-create-buffer, calc-quit): Add docstrings.
2008-03-23 02:30:04 +00:00
Jay Belanger
01633b01c6 Remove outdated comments.
(defcalcmodevar, calc-mode-var-list-restore-default-values)
(calc-mode-var-list-restore-saved-values, calc-autorange-units):
Add docstrings.
2008-03-20 03:08:51 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Jay Belanger
d4b3de0bcc (calc-language): Add languages to docstring. 2007-12-29 00:54:16 +00:00
Jay Belanger
7707eaa6b1 (calc-lang-allow-percentsigns): New variable. 2007-12-26 16:04:00 +00:00
Jay Belanger
da6b9bf428 (calc-set-mode-line): Use `math-lang-name' to set language name. 2007-12-11 04:07:28 +00:00
David Kastrup
274f1353e0 * erc-stamp.el (erc-echo-timestamp):
* erc-lang.el (language):
* erc-backend.el (erc-server-connect): Fix buggy call to `message'.

* gnus-sum.el (gnus-summary-simplify-subject-query):
* ecomplete.el (ecomplete-display-matches): Fix buggy call to
`message'.

* textmodes/reftex.el (reftex-select-with-char):
* textmodes/reftex-toc.el (reftex-toc-do-promote)
(reftex-toc-visit-location, reftex-toc-find-section):
* textmodes/reftex-index.el (reftex-index-show-entry):
* textmodes/org.el (org-cycle-hide-archived-subtrees)
(org-table-rotate-recalc-marks, org-mark-ring-push)
(org-follow-info-link, org-mhe-get-message-folder-from-index)
(org-auto-repeat-maybe, org-store-log-note, org-delete-property)
(org-evaluate-time-range, org-edit-agenda-file-list):
* textmodes/artist.el (artist-select-next-op-in-list)
(artist-select-prev-op-in-list):
* term/mac-win.el (mac-service-insert-text):
* startup.el (fancy-about-screen):
* progmodes/vhdl-mode.el (vhdl-decision-query):
* progmodes/idlwave.el (idlwave-template)
(idlwave-scroll-completions, idlwave-display-completion-list):
* progmodes/ebrowse.el (ebrowse-show-progress):
* progmodes/cperl-mode.el (cperl-find-pods-heres):
* progmodes/antlr-mode.el (antlr-insert-option-do):
* play/mpuz.el (mpuz-close-game):
* net/rcirc.el (rcirc-next-active-buffer):
* mail/reporter.el (reporter-update-status):
* kmacro.el (kmacro-display):
* international/ja-dic-cnv.el (skkdic-set-okuri-nasi):
* emulation/viper-util.el (viper-save-setting):
* emacs-lisp/lisp-mnt.el (lm-verify):
* emacs-lisp/edebug.el (edebug-set-mode):
* emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun):
* calendar/calendar.el (calendar-print-day-of-year):
* calc/calcalg3.el (calc-curve-fit):
* calc/calcalg2.el (math-integral):
* calc/calc.el (calc-read-key-sequence, calc-version):
* calc/calc-mode.el (calc-set-simplify-mode):
* calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to
`message'.
2007-12-08 01:02:29 +00:00
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