[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/doc/misc calc.texi
From: |
Jay Belanger |
Subject: |
[Emacs-diffs] emacs/doc/misc calc.texi |
Date: |
Tue, 21 Jul 2009 18:58:35 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Jay Belanger <jpb> 09/07/21 18:58:35
Modified files:
doc/misc : calc.texi
Log message:
(Undoing Mistakes): Mention that the undo list will be truncated when
Calc is quit.
(Customizing Calc): Mention `calc-undo-length'.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/misc/calc.texi?cvsroot=emacs&r1=1.33&r2=1.34
Patches:
Index: calc.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/doc/misc/calc.texi,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- calc.texi 20 Jul 2009 13:58:01 -0000 1.33
+++ calc.texi 21 Jul 2009 18:58:34 -0000 1.34
@@ -10280,10 +10280,13 @@
queried whether or not to restore the variable to its original value.
The @kbd{U} key may be pressed any number of times to undo successively
farther back in time; with a numeric prefix argument it undoes a
-specified number of operations. The undo history is cleared only by the
address@hidden (@code{calc-quit}) command. (Recall that @kbd{C-x * c} is
-synonymous with @code{calc-quit} while inside the Calculator; this
-also clears the undo history.)
+specified number of operations. When the Calculator is quit, as with
+the @kbd{q} (@code{calc-quit}) command, the undo history will be
+truncated to the length of the customizable variable
address@hidden (@pxref{Customizing Calc}), which by default
+is @expr{100}. (Recall that @kbd{C-x * c} is synonymous with
address@hidden while inside the Calculator; this also truncates the
+undo history.)
Currently the mode-setting commands (like @code{calc-precision}) are not
undoable. You can undo past a point where you changed a mode, but you
@@ -35047,6 +35050,15 @@
of @code{calc-multiplication-has-precedence} is @code{t}.
@end defvar
address@hidden calc-undo-length
+The variable @code{calc-undo-length} determines the number of undo
+steps that Calc will keep track of when @code{calc-quit} is called.
+If @code{calc-undo-length} is a non-negative integer, then this is the
+number of undo steps that will be preserved; if
address@hidden has any other value, then all undo steps will
+be preserved. The default value of @code{calc-undo-length} is @expr{100}.
address@hidden defvar
+
@node Reporting Bugs, Summary, Customizing Calc, Top
@appendix Reporting Bugs
- [Emacs-diffs] emacs/doc/misc calc.texi,
Jay Belanger <=