aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger2005-01-19 16:58:06 +0000
committerJay Belanger2005-01-19 16:58:06 +0000
commit8423891cfdd1958e2ca0599ee4ff9b965cac4669 (patch)
tree69a069c964cf2cfd3febb5bb928fe42e99655f68
parent7679290d6ea68280dc4f6665156f178ec3bdcbc1 (diff)
downloademacs-8423891cfdd1958e2ca0599ee4ff9b965cac4669.tar.gz
emacs-8423891cfdd1958e2ca0599ee4ff9b965cac4669.zip
(Keep arguments): Clarify the effect of keeping arguments on keyboard macros.
-rw-r--r--man/calc.texi18
1 files changed, 10 insertions, 8 deletions
diff --git a/man/calc.texi b/man/calc.texi
index b3e499a8f8f..6278d5a8d97 100644
--- a/man/calc.texi
+++ b/man/calc.texi
@@ -12188,14 +12188,16 @@ the stack contains the arguments and the result: @samp{2 3 5}.
12188 12188
12189With the exception of keyboard macros, this works for all commands that 12189With the exception of keyboard macros, this works for all commands that
12190take arguments off the stack. (To avoid potentially unpleasant behavior, 12190take arguments off the stack. (To avoid potentially unpleasant behavior,
12191keyboard macros ignore the @kbd{K} prefix.) As another example, @kbd{K 12191a @kbd{K} prefix before a keyboard macro will be ignored. A @kbd{K}
12192a s} simplifies a formula, pushing the simplified version of the formula 12192prefix called @emph{within} the keyboard macro will still take effect.)
12193onto the stack after the original formula (rather than replacing the 12193As another example, @kbd{K a s} simplifies a formula, pushing the
12194original formula). Note that you could get the same effect by typing 12194simplified version of the formula onto the stack after the original
12195@kbd{@key{RET} a s}, copying the formula and then simplifying the copy. 12195formula (rather than replacing the original formula). Note that you
12196One difference is that for a very large formula the time taken to format 12196could get the same effect by typing @kbd{@key{RET} a s}, copying the
12197the intermediate copy in @kbd{@key{RET} a s} could be noticeable; @kbd{K 12197formula and then simplifying the copy. One difference is that for a very
12198a s} would avoid this extra work. 12198large formula the time taken to format the intermediate copy in
12199@kbd{@key{RET} a s} could be noticeable; @kbd{K a s} would avoid this
12200extra work.
12199 12201
12200Even stack manipulation commands are affected. @key{TAB} works by 12202Even stack manipulation commands are affected. @key{TAB} works by
12201popping two values and pushing them back in the opposite order, 12203popping two values and pushing them back in the opposite order,