Commit graph

1063 commits

Author SHA1 Message Date
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Jay Belanger
1265829ec3 calc.texi (TeX and LaTeX Language Modes, Predefined Units):
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.
2010-11-18 19:14:36 -06:00
Glenn Morris
9b026d9f13 Replace still more end-of-line etc with line-end-position, etc.
* 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.
2010-11-08 21:33:07 -08:00
Jay Belanger
a974dcf2bb calc-alg.el (math-var): Renamed from `var'.
(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'.
2010-10-13 22:14:38 -05:00
Jay Belanger
c2a845b504 calc-prog.el (calc-read-parse-table-part): Don't "fix" the empty
string when it follows a repeated or optional pattern.
2010-09-18 12:23:12 -05:00
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