aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJay Belanger2009-07-29 03:46:13 +0000
committerJay Belanger2009-07-29 03:46:13 +0000
commit5a9e3ab796d960502a156e1cbc3d33f9b5bdc8e0 (patch)
tree64eb13df2391b4e262ee5108bc93572659ea01e2 /doc
parent9ca102281e1423bb67a293025d9c7bd1e2ae9030 (diff)
downloademacs-5a9e3ab796d960502a156e1cbc3d33f9b5bdc8e0.tar.gz
emacs-5a9e3ab796d960502a156e1cbc3d33f9b5bdc8e0.zip
(Stack Manipulation Commands): Add documentation for
`calc-transpose-lines'
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/calc.texi19
2 files changed, 23 insertions, 1 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 8c38e7f8ee3..6afc271848d 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc.texi (Stack Manipulation Commands): Add documentation for
4 `calc-transpose-lines'
5
12009-07-27 Michael Albinus <michael.albinus@gmx.de> 62009-07-27 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * dbus.texi (Receiving Method Calls): Describe special return value 8 * dbus.texi (Receiving Method Calls): Describe special return value
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index 0e6fc6db8d8..028afba3e6f 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -11845,12 +11845,29 @@ which copies instead of moving the element in level @var{n}.)
11845With a negative argument @mathit{-@var{n}}, @key{TAB} rotates the stack 11845With a negative argument @mathit{-@var{n}}, @key{TAB} rotates the stack
11846to move the object in level @var{n} to the deepest place in the 11846to move the object in level @var{n} to the deepest place in the
11847stack, and the object in level @mathit{@var{n}+1} to the top. @kbd{M-@key{TAB}} 11847stack, and the object in level @mathit{@var{n}+1} to the top. @kbd{M-@key{TAB}}
11848rotates the deepest stack element to be in level @mathit{n}, also 11848rotates the deepest stack element to be in level @var{n}, also
11849putting the top stack element in level @mathit{@var{n}+1}. 11849putting the top stack element in level @mathit{@var{n}+1}.
11850 11850
11851@xref{Selecting Subformulas}, for a way to apply these commands to 11851@xref{Selecting Subformulas}, for a way to apply these commands to
11852any portion of a vector or formula on the stack. 11852any portion of a vector or formula on the stack.
11853 11853
11854@kindex C-xC-t
11855@pindex calc-transpose-lines
11856@cindex Moving stack entries
11857The command @kbd{C-x C-t} (@code{calc-transpose-lines}) will transpose
11858the stack object determined by the point with the stack object at the
11859next higher level. For example, with @samp{10 20 30 40 50} on the
11860stack and the point on the line containing @samp{30}, @kbd{C-x C-t}
11861creates @samp{10 20 40 30 50}. More generally, @kbd{C-x C-t} acts on
11862the stack objects determined by the current point (and mark) similar
11863to how the text-mode command @code{transpose-lines} acts on
11864lines. With argument @var{n}, @kbd{C-x C-t} will move the stack object
11865at the level above the current point and move it past N other objects;
11866for example, with @samp{10 20 30 40 50} on the stack and the point on
11867the line containing @samp{30}, @kbd{C-u 2 C-x C-t} creates
11868@samp{10 40 20 30 50}. With an argument of 0, @kbd{C-x C-t} will switch
11869the stack objects at the levels determined by the point and the mark.
11870
11854@node Editing Stack Entries, Trail Commands, Stack Manipulation, Stack and Trail 11871@node Editing Stack Entries, Trail Commands, Stack Manipulation, Stack and Trail
11855@section Editing Stack Entries 11872@section Editing Stack Entries
11856 11873