From: Stefan Kangas Date: Sat, 13 Apr 2024 21:45:28 +0000 (+0200) Subject: * doc/misc/calc.texi: Improve indexing. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44a5aa0ab114f7125f3efd41eed26bd0b457213c;p=emacs.git * doc/misc/calc.texi: Improve indexing. (cherry picked from commit bbc5204a0f3ebea32429bd01207284eead23bf22) --- diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index ac2ac5a0f91..f7b7e277b58 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi @@ -31468,6 +31468,7 @@ newline so that mode annotations will appear on lines by themselves. @node Programming @chapter Programming +@cindex Programming Calc @noindent There are several ways to ``program'' the Emacs Calculator, depending on the nature of the problem you need to solve. @@ -31596,7 +31597,7 @@ following sections. @noindent @kindex X -@cindex Programming with keyboard macros +@cindex Programming Calc, with keyboard macros @cindex Keyboard macros The easiest way to ``program'' the Emacs Calculator is to use standard keyboard macros. Press @w{@kbd{C-x (}} to begin recording a macro. From @@ -31997,7 +31998,7 @@ The @kbd{m m} command saves the last invocation macro defined by @noindent @kindex Z F @pindex calc-user-define-formula -@cindex Programming with algebraic formulas +@cindex Programming Calc, with algebraic formulas Another way to create a new Calculator command uses algebraic formulas. The @kbd{Z F} (@code{calc-user-define-formula}) command stores the formula at the top of the stack as the definition for a key. This @@ -32106,6 +32107,7 @@ in symbolic form without ever activating the @code{deriv} function. Press @node Lisp Definitions @section Programming with Lisp +@section Programming Calc, with Lisp @noindent The Calculator can be programmed quite extensively in Lisp. All you do is write a normal Lisp function definition, but with @code{defmath} @@ -32851,6 +32853,7 @@ a large argument, a simpler program like the first one shown is fine. @node Calling Calc from Your Programs @subsection Calling Calc from Your Lisp Programs +@cindex Calling Calc from Lisp @noindent A later section (@pxref{Internals}) gives a full description of Calc's internal Lisp functions. It's not hard to call Calc from