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
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
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
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
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
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
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
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