1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
Jay Belanger
35edc8219a calc-embed.el: (calc-override-minor-modes-map, calc-override-minor-modes):
New variables.
(calc-do-embedded): Make sure that Calc keystrokes aren't overwritten
by minor modes.
2006-05-02 20:52:52 +00:00
Jay Belanger
a48b489eb9 (calc-embedded-make-info): Use `math-read-expr' when
`math-read-big-expr' doesn't work.
2006-04-27 18:40:41 +00:00
Jay Belanger
09ea57eaca Update copyright year. 2006-02-05 16:31:42 +00:00
Jay Belanger
346bffae0c (calc-do-embedded): Update help message. 2005-11-28 22:14:35 +00:00
Jay Belanger
58ba2f8f07 Update copyright information. 2005-07-14 20:05:30 +00:00
Jay Belanger
33739eb852 (calc-embedded-firsttime, calc-embedded-firsttime-buf,
calc-embedded-firsttime-formula): New variables.
(calc-do-embedded): Use calc-embedded-firsttime,
calc-embedded-firsttime-buf and calc-embedded-firsttime-formula to
determine whether or not to run hooks.
(calc-embedded-make-info) Set calc-embedded-firsttime-buf and
calc-embedded-firsttime-formula appropriately.
Set calc-embedded delimiter variables according to mode.
2005-07-09 03:42:56 +00:00
Jay Belanger
1705c02390 (calc-embedded-word): Change argument passed to calc-embedded.
(calc-embedded-make-info): Have plain prefix argument select entire line.
2005-05-31 19:24:27 +00:00
Jay Belanger
c622c18ec0 (calc-embedded-make-info): Adjust positioning of end of selected
region when an argument is given.
2005-05-28 05:36:16 +00:00
Jay Belanger
21646dd1cd (calc-embedded-make-info): When selecting region with positive prefix
argument, use end of line instead of beginning of next line.
2005-05-28 05:05:55 +00:00
Jay Belanger
9ca6c34d5e (calc-embed-arg): New variable.
(calc-do-embedded-activate, calc-embedded-activate-formula)
(calc-embedded-edit, calc-do-embedded-activate)
(calc-embedded-make-info): Use new variable in place of undeclared variable.
2005-05-28 04:36:16 +00:00
Jay Belanger
ec878460aa (calc-embedded-preserve-modes): New function. 2005-05-08 04:58:38 +00:00
Jay Belanger
1f9d9bb9a2 calc-embed.el
(calc-embedded-announce-formula, calc-embedded-open-formula)
(calc-embedded-close-formula, calc-embedded-open-word)
(calc-embedded-close-word, calc-embedded-open-plain)
(calc-embedded-close-plain, calc-embedded-open-new-formula)
(calc-embedded-close-new-formula, calc-embedded-open-mode)
(calc-embedded-close-mode): Move definitions to calc.el.
2005-04-01 21:44:21 +00:00
Jay Belanger
5e2b0a66e9 (calc-embedded-mode-change): Save all relevant mode settings in
calc-embedded-original-modes when modes are permanently changed.
2005-03-24 13:34:53 +00:00
Jay Belanger
9e74b3fb26 (calc-embedded-original-modes): New variable.
(calc-embedded-save-original-modes)
(calc-embedded-restore-original-modes): New functions.
(calc-do-embedded): Save original modes when entering embedded mode
and restore when leaving embedded mode.
(calc-embedded-modes-change): Change the value of
calc-embedded-original-modes to reflect permanent changes.
2005-03-22 16:12:57 +00:00
Jay Belanger
51d6d30054 calc-embed.el
(calc-do-embedded): Put data on stack before changing modes.
2005-03-21 15:49:02 +00:00
Jay Belanger
0e425a588c (calc-embedded-language-alist): Remove.
(calc-embedded-find-modes): Use calc-language-alist instead of
calc-embedded-language-alist.
2005-03-11 22:23:26 +00:00
Jay Belanger
60e5274505 (math-ms-args): Declare it.
(calc-embedded-eval-expr, calc-embedded-eval-get-var): Use variable
math-ms-args.
(calc-embedded-subst): Use math-multi-subst-rec to substitute
variables.
2005-03-10 07:14:32 +00:00
Jay Belanger
b332c7d319 (calc-do-embedded): Set mode line when embedded mode begins.
(calc-embedded-language-alist): New variable.
(calc-embedded-find-modes): Use calc-embedded-language-alist to set
default language mode.
2005-03-08 05:26:44 +00:00
Jay Belanger
954fc58360 (calc-embedded-update): Don't put in unnecessary newlines.
Adjust the end of formula marker.
2005-02-04 06:22:18 +00:00
Jay Belanger
0a18efee86 (calc-embedded-find-bounds): Set formula bound on line with formula. 2005-02-01 03:57:08 +00:00
Jay Belanger
316fc0cc95 (calc-embedded-open-formula, calc-embedded-close-formula):
Ignore matrix environments.
2005-01-31 21:52:11 +00:00
Jay Belanger
7f72c3db5a (calc-embedded-subst): Replace math-multi-subst-rec, which is only
supposed to be called by math-multi-subst, by math-multi-subst.
2005-01-10 05:01:27 +00:00
Jay Belanger
4091a1e2f1 (calc-embedded-finish-edit): Use calc-edit-top for the beginning of
the edited object.
2005-01-02 17:07:16 +00:00
Jay Belanger
937640a621 Add a provide statement.
(calc-Need-calc-embed): Remove it.
(calc-do-embedded-activate): Remove from autoloads.
2004-11-30 17:04:40 +00:00
Jay Belanger
b9bc92b4d7 (calc-embedded-update): Finish changing prev-mode to calc-embed-prev-mode. 2004-11-26 23:31:27 +00:00
Jay Belanger
adb0a6165d (calc-original-buffer): Declare it.
(calc-embed-outer-top, calc-embed-outer-bot, calc-embed-top)
(calc-embed-bot): New variables.
(calc-do-embedded, calc-embedded-mark-formula)
(calc-embedded-find-bounds, calc-embedded-duplicate)
(calc-embedded-new-formula, calc-embedded-make-info):
Replace variables outer-top, outer-bot, bot and top by declared
variables.
(calc-embed-prev-modes): New variable.
(calc-embedded-set-modes, calc-embedded-update): Replace variable
prev-modes with declared variable.
(calc-embed-vars-used): New variable.
(calc-embedded-make-info, calc-embedded-evaluate-expr)
(calc-embedded-update, calc-embedded-find-vars): Replace variable
vars-used by declared variable.
2004-11-26 22:38:31 +00:00
Jay Belanger
f10b7b1b5a calc/calc-embed.el (calc-embedded-set-modes): Use
`calc-mode-var-list' correctly.
2004-09-15 16:49:04 +00:00
Eli Zaretskii
bc47b3f8c5 (calc-do-embedded-activate): Add autoload
cookie.  Don't check if we are looking-at open-formula.
2004-02-16 17:16:22 +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
6e1c888ad0 Add new maintainer (deego). 2003-01-15 15:16:25 +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
bf77c646a5 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 09:09:09 +00:00
Eli Zaretskii
af32d76e49 (calc-do-embedded): Call `y-or-n-p' with
correct number of arguments.
2001-11-13 07:28:01 +00:00
Eli Zaretskii
136211a997 Initial import of Calc 2.02f. 2001-11-06 18:59:06 +00:00