aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/calc
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixes.Paul Eggert2011-11-141-18/+18
|
* Spelling fixes.Paul Eggert2011-11-141-1/+1
|
* Change scroll-up/down bindings to Emacs 24's scroll-*-command.Chong Yidong2011-10-011-5/+5
| | | | | | | | | | | | | | | | | | | | | | * cus-edit.el (custom-mode-map): * epa.el (epa-key-list-mode-map): * man.el (Man-mode-map): * startup.el (splash-screen-keymap): * simple.el (special-mode-map): Use scroll-up-command and scroll-down-command. * progmodes/idlw-help.el (idlwave-help-mode-map): * progmodes/ebrowse.el (ebrowse-electric-position-mode-map): * net/newst-plainview.el (newsticker-mode-map): * emulation/ws-mode.el (wordstar-mode-map): * emulation/vi.el (vi-com-map): * calc/calc-graph.el (calc-graph-show-dumb): * term/sun.el (terminal-init-sun): * term/ns-win.el (global-map): * progmodes/grep.el (grep-mode-map): * progmodes/ebrowse.el (ebrowse-electric-list-mode-map): * mail/rmail.el (rmail-mode-map): * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
* * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.Feng Li2011-08-161-1/+1
|
* * calc/calc.el (calc-kill-stack-buffer): Make sure that the trailJay Belanger2011-06-011-13/+14
| | | | buffer isn't killed before making it current.
* Don't quote lambda expressions with `quote'.Stefan Monnier2011-05-232-34/+23
|
* lisp/calc/calccomp.el (math-comp-to-string-flat-term): Simplify.Juanma Barranquero2011-04-291-6/+1
|
* * calc/calc-menu.el (calc-units-menu): Add entries for logarithmicJay Belanger2011-03-201-0/+105
| | | | units and musical notes.
* * lisp/calc-units.el (calcFunc-lupquant): Rename fromJay Belanger2011-03-162-7/+7
| | | | | | | | | `calcFunc-pquant' (fixing previous commit). (calcFunc-lufquant): Rename from `calcFunc-fquant' (fixing previous commit). * lisp/calc/calc-ext.el (calc-init-extensions): Update the names of the functions being autoloaded.
* * lisp/calc/README: Mention musical notes.Jay Belanger2011-03-165-76/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calc-units.el (calc-lu-quant): Rename from `calc-logunits-quantity'. (calcFunc-lupquant): Rename from `calcFunc-powerquant'. (calcFunc-lufquant): Rename from `calcFunc-fieldquant'. (calc-db): Rename from `calc-dblevel'. (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'. (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'. (calc-np): Rename from `calc-nplevel'. (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'. (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'. (calc-lu-plus): Rename from `calc-logunits-add'. (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'. (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'. (calc-lu-minus): Rename from `calc-logunits-sub'. (calcFunc-lupsub): Rename from `calcFunc-lupowersub'. (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'. (calc-lu-times): Rename from `calc-logunits-mul'. (calcFunc-lupmul): Rename from `calcFunc-lupowermul'. (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'. (calc-lu-divide): Rename from `calc-logunits-div'. (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'. (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'. * lisp/calc/calc-ext.el (calc-init-extensions): Update the names of the functions being autoloaded. * lisp/calc/calc.el (calc-lu-power-reference): Rename from `calc-logunits-power-reference'. (calc-lu-field-reference): Rename from `calc-logunits-field-reference'. * lisp/calc/calc-help (calc-l-prefix-help): Mention musical note functions. * doc/misc/calc.texi (Logarithmic Units): Update the function names.
* * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.Jay Belanger2011-03-091-1/+1
|
* * calc/calc-units.el (math-midi-round): Translate calc-note-thresholdJay Belanger2011-03-051-1/+2
| | | | to an appropriate fraction.
* * calc/calc-units.el (math-midi-round, math-freqp, math-midip)Jay Belanger2011-03-053-2/+227
| | | | | | | | | | | | | | | | (math-spnp, math-spn-to-midi, math-midi-to-spn, math-freq-to-spn) (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi) (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions. (math-notes): New variable. * calc/calc.el (calc-note-threshold): New variable. * calc/calc-ext.el (calc-init-extensions): Add keybindings for calc-spn, calc-midi, calc-freq. Add autoloads for calcFunc-spn, calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq. * doc/misc/calc.tex (Musical Notes): New section. (Customizing Calc): Mention calc-note-threshold.
* * doc/misc/calc.texi (Logarithmic Units): Rename calc-logunits-dblevelJay Belanger2011-03-052-6/+6
| | | | | | | | | | | | and calc-logunits-nplevel to calc-dblevel and calc-nplevel, respectively. * calc/calc-ext.el (calc-init-extensions): Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel and calc-nplevel, respectively. * calc/calc-units.el (calc-dblevel): Rename from calc-logunits-dblevel. (calc-nplevel): Rename from calc-logunits-nplevel.
* * calc/calc-units.el (math-to-standard-rec): Don't treat subscriptedJay Belanger2011-03-041-1/+4
| | | | variables as units.
* * calc/calc-math.el (calcFunc-log10): Check for symbolic modeJay Belanger2011-03-012-19/+34
| | | | | | | | | | | | when evaluating. * calc/calc-units.el (math-conditional-apply, math-conditional-pow): New function. (math-logunits-add, math-logunits-mul, math-logunits-divide): (math-logunits-quant, math-logunits-level): Use `math-conditional-apply' and `math-conditional-pow' to evaluate functions. (math-logunits-level): Extract units from ratio.
* Adjust previous change to behave as intended.Jay Belanger2011-02-261-7/+7
|
* * calc/calc-ext.el (calc-init-extensions): Autoload `calc-l-prefix-help'Jay Belanger2011-02-263-2/+3
| | | | | | | | | | instead of `calc-ul-prefix-help'. * calc/calc-math.el (calcFunc-log10): Don't signal an error in symbolic mode. * calc/calc-vec.el (calcFunc-subscr): Don't do anything if the first argument is a variable.
* calc/calc-units.el (math-logunits-quant): Add support forJay Belanger2011-02-071-18/+20
| | | | non-logarithmic units.
* calc/README: Add mention of logarithmic units.Jay Belanger2011-02-063-19/+21
| | | | | | | | | | | calc/calc-help.el (calc-logunits-add): Rename from `calc-logunits-plus'. (calc-logunits-sub): Rename from `calc-logunits-minus'. (calc-logunits-mul): Rename from `calc-logunits-times'. (calcFunc-lupoweradd): Rename from `calcFunc-lupowerplus'. (calcFunc-lupowersub): Rename from `calcFunc-lupowerminus'. (calcFunc-lupowermul): Rename from `calcFunc-lupowertimes'. calc/calc-ext.el (calc-init-extensions): Change names of logarithmic unit functions in autoloads.
* calc/calc.el (calc-logunits-field-reference) Renamed fromJay Belanger2011-02-064-60/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | `calc-default-field-reference-level'. (calc-logunits-power-reference): Renamed from `calc-default-power-reference-level' calc/calc-units.el (math-logunits-quant): Renamed from `math-logunits-level' (math-logunits-plus): Renamed from math-logcombine. (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove functions. (calcFunc-lufieldplus, calcFunc-lupowerplus, calcFunc-lufieldminus) (calcFunc-lufieldminus,calc-logunits-plus calc-logunits-minus): New functions. (calcFunc-fieldquant): Renamed from `calcFunc-fieldlevel'. (calcFunc-powerquant): Renamed from `calcFunc-powerlevel'. (calc-logunits-quantity): Renamed from `calc-level'. (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel) (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel) (math-logunits-times, calcFunc-lufieldtimes, calcFunc-lupowertimes) (calc-logunits-times, math-logunits-divide, calcFunc-lufielddiv) (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level): New functions. calc-help.el (calc-u-prefix-help): Removed "L" reference. (calc-ul-prefix-help): Remove. (calc-l-prefix-help): New function. (calc-full-help): Add reference to `calc-l-prefix-help'. calc-ext.el (calc-init-extensions): Update autoloads.
* * calc/calc-mtx.el (math-lud-pivot-check): New function.Jay Belanger2011-01-311-1/+15
| | | | | (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size of potential pivots.
* Refill some long/short copyright headers.Glenn Morris2011-01-262-4/+2
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-2445-88/+46
|
* * calc/calc.el (calc-default-power-reference-level)Jay Belanger2011-01-234-5/+152
| | | | | | | | | | | | | | | (calc-default-field-reference-level): New variables. * calc/calc-units.el (math-standard-units): Add dB and Np. (math-logunits): New variable. (math-extract-logunits, math-logcombine, calcFunc-luplus) (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level) (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level): New functions. (math-find-base-units-rec): Add entry for ln(10). * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help. (calc-ul-prefix-help): New function. * calc/calc-ext.el (calc-init-extensions): Autoload new units functions. Add keybindings for new units functions.
* calc/calc-undo.el (calc-undo): Autoload it.Jay Belanger2011-01-203-2/+3
| | | | | calc/calc-ext.el (calc-init-extensions): Remove keybindings and autoload for `calc-undo'. calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
* calc/calc-prog.elJay Belanger2011-01-203-39/+39
| | | | | calc/calc-graph.el calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
* calc/calc-ext.el (calc-init-extensions): Map all `undo' keybindings to ↵Štěpán Němec2011-01-201-2/+1
| | | | `calc-undo'.
* Refill some copyright headers.Glenn Morris2011-01-158-16/+16
|
* Nuke arch-tags.Glenn Morris2011-01-1541-41/+0
|
* Merge from emacs-23Stefan Monnier2011-01-1445-54/+54
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-0245-46/+46
| |
* | calc.texi (TeX and LaTeX Language Modes, Predefined Units): Jay Belanger2010-11-183-10/+28
| | | | | | | | | | | | | | | | | | calc-units.el (math-build-units-table-buffer): README: Mention that the TeX specific units won't use the `tex' prefix in TeX mode. calc-lang.el (math-variable-table): Don't use the `tex' prefix for units in TeX mode.
* | Replace still more end-of-line etc with line-end-position, etc.Glenn Morris2010-11-082-14/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail) (nnbabyl-check-mbox): Use point-at-bol. * lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex): * lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue): * lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line): * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules): * lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter): Use point-at-bol and point-at-eol. * lisp/vc/emerge.el (emerge-line-number-in-buf): * lisp/textmodes/ispell.el (ispell-region): * lisp/textmodes/fill.el (current-fill-column): * lisp/progmodes/xscheme.el (xscheme-send-current-line): * lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy): * lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): * lisp/progmodes/sh-script.el (sh-handle-prev-do): * lisp/progmodes/meta-mode.el (meta-indent-line): * lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph) (idlwave-in-quote): * lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame) (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter): * lisp/progmodes/fortran.el (fortran-looking-at-if-then): * lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag): * lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent) (cperl-find-pods-heres): * lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun): * lisp/net/quickurl.el (quickurl-list-insert): * lisp/net/ldap.el (ldap-search-internal): * lisp/net/eudc.el (eudc-expand-inline): * lisp/mail/sendmail.el (sendmail-send-it): * lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name): * lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent) (viper-brac-function): * lisp/calc/calc-yank.el (calc-do-grab-region): * lisp/calc/calc-keypd.el (calc-keypad-press): * lisp/term.el (term-move-columns, term-insert-spaces): * lisp/speedbar.el (speedbar-highlight-one-tag-line): * lisp/simple.el (current-word): * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling): * lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference) (Info-scroll-down): * lisp/hippie-exp.el (he-line-beg): * lisp/epa.el (epa--marked-keys): * lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines) (dired-update-file-line, dired-add-entry, dired-remove-entry) (dired-relist-entry): * lisp/buff-menu.el (Buffer-menu-buffer): * lisp/array.el (current-line): * lisp/allout.el (allout-resolve-xref) (allout-latex-verbatim-quote-curr-line): Replace yet more uses of end-of-line etc with line-end-position.
* | calc-alg.el (math-var): Renamed from `var'.Jay Belanger2010-10-132-20/+20
| | | | | | | | | | | | | | (math-is-polynomial, math-is-poly-rec): Replace `var' with `math-var'. calcalg2.el (math-var): Renamed from `var'. (calcFunc-table, math-scan-for-limits): Replace `var' with `math-var'.
* | calc-prog.el (calc-read-parse-table-part): Don't "fix" the emptyJay Belanger2010-09-181-1/+2
| | | | | | | | string when it follows a repeated or optional pattern.
* | * lisp/calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replaceStefan Monnier2010-09-031-40/+23
| | | | | | | | | | | | | | 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.
* | calc.texi (Customizing Calc): Rearrange description of newJay Belanger2010-08-081-0/+2
| | | | | | | | variables to match the presentation of other variables.
* | calc.el (calc-trail-mode,calc-refresh): Use `face' property to italicize ↵Jay Belanger2010-08-073-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Add some utf-8 coding cookies.Glenn Morris2010-06-227-126/+151
| | | | | | | | | | | | | | | | * 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.
* | calc-poly.el: (math-accum-factors): Make sure that constants aren't distributedJay Belanger2010-06-161-1/+1
| | | | | | | | after they are factored out.
* | Replace Lisp calls to delete-backward-char by delete-char.Stefan Monnier2010-05-244-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | calc-trail.el (calc-trail-isearch-forward)Jay Belanger2010-05-181-10/+18
| | | | | | | | | | (calc-trail-isearch-backward): Ensure that the new window point is set correctly.
* | calc-vec.el (math-vector-avg): Put the vector elements in orderJay Belanger2010-05-161-1/+1
| | | | | | | | before computing the averages.
* | calc-vec.el (calc-histogram):Jay Belanger2010-05-152-19/+54
| | | | | | | | | | | | | | | | (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'.
* | calc-ext.el (math-group-float): Have the number of digits beingJay Belanger2010-05-151-1/+2
| | | | | | | | grouped depend on the radix (Bug#6189).
* | calc-aent.el (math-read-token, math-find-user-tokens):Jay Belanger2010-05-147-34/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | calc-bin.el (math-format-twos-complement): Group digits when appropriate.Jay Belanger2010-05-141-0/+2
| |
* | Merge from emacs-23Stefan Monnier2010-05-081-1/+1
|\|
| * Use the proper form for gnuplot's set commandAlexander Klimov2010-04-281-1/+1
| |