1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-01 20:06:00 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
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
Glenn Morris
662c9c64ae Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:16:00 +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
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
5fb4539b9e (math-read-token): Fix misplaced parentheses. 2007-12-29 00:23:41 +00:00
Jay Belanger
c0db575568 (math-remove-percentsigns): Change placeholder for percent signs. 2007-12-27 17:35:59 +00:00
Jay Belanger
d039d4d8ff (math-to-percentsigns): Declare as function.
(math-read-exprs): Handle percent signs in languages that allow them.
(math-restore-underscores): Remove function.
(math-remove-percentsigns,math-restore-placeholders): New functions.
2007-12-26 17:32:13 +00:00
Jay Belanger
57f8977d5c (math-restore-underscores, math-string-restore-underscores):
New functions.
(math-read-factor): Properly check variable names with underscores
for entries in `math-expr-variable-mapping'.
2007-12-12 04:55:20 +00:00
Jay Belanger
2807e8e488 (math-read-factor): Turn multiple subscripts into nested subscripts.
(math-read-token): Use variables and property names to help with
language specific parsing.
(math-read-expression-level): Use variables to help with language
specific parsing.
2007-12-02 03:13:28 +00:00
Jay Belanger
2f78f9049a (calc-refresh-evaltos, calc-execute-kbd-macro)
(math-is-true, calc-explain-why, calc-alg-edit)
(math-composite-inequalities, math-flatten-lands)
(math-multi-subst, calcFunc-vmatches, math-simplify)
(math-known-matrixp, math-parse-fortran-subscr, math-to-radians-2)
(math-read-string, math-read-brackets, math-read-angle-brackets):
Declare as functions.
2007-11-27 04:00:56 +00:00
Jay Belanger
b2e7f0f07f (calc-last-user-lang-parse-table): New variable.
(math-build-parse-table): Get parse information from `math-parse-table'.
2007-11-16 23:48:26 +00:00
Jay Belanger
8f26ce7300 calc-aent.el
calc-do-quick-calc: Add base 2 to the list of outputs of integers.
2007-08-14 14:52:51 +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
16819e4854 (calc-do-calc-eval): Let math-expr-opers equal the function
math-standard-ops rather than the variable math-standard-opers.
(calc-algebraic-entry): Let math-expr-opers equal math-standard-ops or
math-expr-ops, as appropriate.
(math-expr-read-level,math-read-factor): Let math-expr-opers equal
math-expr-ops.
2007-06-20 04:12:15 +00:00
Jay Belanger
e8fff8ed68 Update maintainer's address. 2007-04-23 21:30:42 +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
Juanma Barranquero
8f2904a5d7 (calc-eval-error): Doc fix. 2006-12-10 23:48:40 +00:00
Jay Belanger
0b504d64af (calcAlg-edit, calcAlg-enter): Remove reference to calc-previous-alg-entry.
(calcAlg-previous): Use previous-history-element instead of
calc-previous-alg-entry.
(calc-do-alg-entry): Add history to reading from minibuffer.
Change keybinding for calcAlg-plus-minus, add keybindings for
previous-history-element and next-history-element.
(calc-alg-entry-history, calc-quick-calc-history): New variables.
(calc-do-quick-calc): Use calc-quick-calc-history.
Remove reference to calc-previous-alg-entry.
(calc-alg-entry): Use calc-alg-entry-history.
2006-07-20 20:23:06 +00:00
Jay Belanger
09ea57eaca Update copyright year. 2006-02-05 16:31:42 +00:00
Jay Belanger
ed805bee9d Updated copyright information. 2005-07-14 19:30:13 +00:00
Jay Belanger
35cdbd3051 (calc-arg-values): Declare it. 2005-05-28 04:40:31 +00:00
Jay Belanger
36692c4a90 (math-read-token): Replace string-to-int by string-to-number. 2005-05-02 19:40:50 +00:00
Jay Belanger
bf7bae80d7 (math-read-replacement-list): Add subscripts.
(math-read-subscripts): New variable.
(math-read-preprocess-string): Process subscripts.
2005-04-05 03:50:26 +00:00
Jay Belanger
dba763eec4 (math-read-token): Add local variable. 2005-02-19 19:59:49 +00:00
Jay Belanger
a6ab3125f2 (math-read-token): Separate the TeX and LaTeX parts. 2005-01-31 21:51:34 +00:00
Jay Belanger
84d77b1eb3 (math-read-token): Check for smallmatrix environment. 2005-01-31 09:16:44 +00:00
Jay Belanger
8d5cd17257 (math-read-token): Read LaTeX matrices. 2005-01-31 09:05:27 +00:00
Jay Belanger
434e689980 (math-read-token): Add support for LaTeX. 2005-01-31 06:21:31 +00:00
Jay Belanger
a1a6b42850 (calcAlg-blank-matching-open): Temporarily adjust the syntax of both
delimiters of half-open intervals.
2004-12-19 06:59:33 +00:00
Jay Belanger
c59d10e073 (math-read-replacement-list, math-read-superscripts): Move from
calc-ext.el.
(math-read-preprocess-string): Move from calc-ext.el.
2004-12-08 06:09:20 +00:00
Jay Belanger
4723353515 Add a provide statement.
(calc-Need-calc-aent): Remove it.
2004-11-30 16:59:39 +00:00
Jay Belanger
5eb3eedabb Remove unnecessary eval-when-compile.
(calc-do-quick-calc, calc-do-calc-eval, calc-alg-entry)
(math-read-expr-level, calc-check-user-syntax, math-read-factor):
Replace calls to calc-extensions by appropriate require,
replace calc-extensions-loaded by appropriate featurep.
2004-11-29 05:56:06 +00:00
Jay Belanger
d37f2979c6 (calc-eval-error): Declare and initialize the variable.
(calc-eval-error): Don't check if the variable calc-eval-error is
bound.
(calc-buffer, calc-digit-value, math-expr-data): Declare them.
(math-alg-inequalities): Move declaration to earlier in the file.
2004-11-27 04:07:22 +00:00
Jay Belanger
c4446fc2e9 (math-read-exprs): Filter input through math-read-preprocess-string. 2004-11-23 05:58:20 +00:00
Jay Belanger
3cedbf7217 (calc-do-quick-calc): Use kill-new to append string to kill-ring.
(calc-alg-exp, math-toks, math-exp-pos,math-exp-old-pos)
(math-exp-token, math-exp-keep-spaces, math-exp-str):  New variables.

(calc-do-alg-entry, calcAlg-equals, calcAlg-edit, calcAlg-enter):  Use
declared variable calc-alg-exp.

(math-build-parse-table, math-find-user-token):  Use declared variable
math-toks.

(math-read-exprs, math-read-token, calc-check-user-syntax,
calc-match-user-syntax, match-factor-after, math-read-factor):  Use
declared variables math-exp-pos math-exp-old-pos.

(math-read-exprs, math-read-token, math-read-expr-level)
(calc-check-user-syntax, calc-match-user-syntax, match-factor-after)
(math-read-factor):  Use declared variable math-exp-token.

(math-read-exprs, math-read-expr-list, math-read-token,
math-read-factor):  Use declared variable math-exp-keep-spaces.

(math-read-exprs, math-read-token):  Use declared variable
math-exp-str.

(calc-match-user-syntax):  Made m a local variable.
2004-11-11 05:48:50 +00:00
Jay Belanger
abd880c33e (math-read-exprs, math-read-expr-list, math-read-expr-level,
math-read-token, calc-check-user-syntax, calc-match-user-syntax,
math-read-if, math-factor-after, math-read-factor):  Use
declared variable math-expr-data.
2004-11-09 20:32:37 +00:00
Jay Belanger
1480882c5f (calc-alg-ent-map, calc-alg-ent-esc-map): Declared these variables
with defvar.

(calc-do-alg-entry): Since `calc-alg-ent-map' is bound, only check to
see if it is non-nil.
2004-10-21 19:20:11 +00:00
Jay Belanger
aa9208fbc7 (calcAlg-previous): Changed the regexp to the end of buffer regexp. 2004-10-19 15:34:38 +00:00
Jay Belanger
f1625eaa20 (calc-do-alg-entry): Remove Emacs version check. Use `copy-keymap' to
copy `esc-map'.
2004-10-19 14:22:47 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Deepak Goel
442a3e38fc *** empty log message *** 2003-01-15 14:58:11 +00:00
Deepak Goel
e1d290e211 Add new maintainer (deego). 2003-01-15 14:56:17 +00:00
Colin Walters
3132f345bc Change all toplevel setq' forms to defvar' forms, and move them
before their first use.  Use `when', `unless'.  Remove trailing
periods from error forms.  Add description and headers suggested by
Emacs Lisp coding conventions.
2001-11-19 07:44:56 +00:00
Colin Walters
07ff2bc860 Style cleanup; don't put closing parens on their own line, add "foo.el
ends here" to each file, and update copyright date.
2001-11-14 08:59:18 +00:00
Eli Zaretskii
4db5660258 (calc-do-alg-entry): Use
`blink-paren-function' instead of `blink-paren-hook'.
2001-11-13 07:27:27 +00:00