diff options
| author | Jay Belanger | 2009-07-29 03:46:13 +0000 |
|---|---|---|
| committer | Jay Belanger | 2009-07-29 03:46:13 +0000 |
| commit | 5a9e3ab796d960502a156e1cbc3d33f9b5bdc8e0 (patch) | |
| tree | 64eb13df2391b4e262ee5108bc93572659ea01e2 /doc | |
| parent | 9ca102281e1423bb67a293025d9c7bd1e2ae9030 (diff) | |
| download | emacs-5a9e3ab796d960502a156e1cbc3d33f9b5bdc8e0.tar.gz emacs-5a9e3ab796d960502a156e1cbc3d33f9b5bdc8e0.zip | |
(Stack Manipulation Commands): Add documentation for
`calc-transpose-lines'
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 19 |
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 @@ | |||
| 1 | 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com> | ||
| 2 | |||
| 3 | * calc.texi (Stack Manipulation Commands): Add documentation for | ||
| 4 | `calc-transpose-lines' | ||
| 5 | |||
| 1 | 2009-07-27 Michael Albinus <michael.albinus@gmx.de> | 6 | 2009-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}.) | |||
| 11845 | With a negative argument @mathit{-@var{n}}, @key{TAB} rotates the stack | 11845 | With a negative argument @mathit{-@var{n}}, @key{TAB} rotates the stack |
| 11846 | to move the object in level @var{n} to the deepest place in the | 11846 | to move the object in level @var{n} to the deepest place in the |
| 11847 | stack, and the object in level @mathit{@var{n}+1} to the top. @kbd{M-@key{TAB}} | 11847 | stack, and the object in level @mathit{@var{n}+1} to the top. @kbd{M-@key{TAB}} |
| 11848 | rotates the deepest stack element to be in level @mathit{n}, also | 11848 | rotates the deepest stack element to be in level @var{n}, also |
| 11849 | putting the top stack element in level @mathit{@var{n}+1}. | 11849 | putting 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 |
| 11852 | any portion of a vector or formula on the stack. | 11852 | any 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 | ||
| 11857 | The command @kbd{C-x C-t} (@code{calc-transpose-lines}) will transpose | ||
| 11858 | the stack object determined by the point with the stack object at the | ||
| 11859 | next higher level. For example, with @samp{10 20 30 40 50} on the | ||
| 11860 | stack and the point on the line containing @samp{30}, @kbd{C-x C-t} | ||
| 11861 | creates @samp{10 20 40 30 50}. More generally, @kbd{C-x C-t} acts on | ||
| 11862 | the stack objects determined by the current point (and mark) similar | ||
| 11863 | to how the text-mode command @code{transpose-lines} acts on | ||
| 11864 | lines. With argument @var{n}, @kbd{C-x C-t} will move the stack object | ||
| 11865 | at the level above the current point and move it past N other objects; | ||
| 11866 | for example, with @samp{10 20 30 40 50} on the stack and the point on | ||
| 11867 | the 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 | ||
| 11869 | the 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 | ||