aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2014-10-03 19:36:49 -0700
committerGlenn Morris2014-10-03 19:36:49 -0700
commit1a06ba3736b72b6af87529cf14f2ff82c6649cf5 (patch)
treefce2f52b0d0975fc6439799bb6e98d6741a269fc /doc
parentcaafef5ddc019b2cd4030f71fb3f307c3775b4da (diff)
downloademacs-1a06ba3736b72b6af87529cf14f2ff82c6649cf5.tar.gz
emacs-1a06ba3736b72b6af87529cf14f2ff82c6649cf5.zip
doc/emacs copyedits re rectangle-mark-mode
* doc/emacs/killing.texi (Rectangles): Copyedits re rectangle-mark-mode. (CUA Bindings): Mention rectangle-mark-mode.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/killing.texi19
2 files changed, 18 insertions, 6 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 5d262c00c33..c0bd8979631 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12014-10-04 Glenn Morris <rgm@gnu.org>
2
3 * killing.texi (Rectangles): Copyedits re rectangle-mark-mode.
4 (CUA Bindings): Mention rectangle-mark-mode.
5
12014-10-03 Martin Rudalics <rudalics@gmx.at> 62014-10-03 Martin Rudalics <rudalics@gmx.at>
2 7
3 * frames.texi (Frame Commands): 8 * frames.texi (Frame Commands):
diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi
index 45dbd5727ac..f4b1752643d 100644
--- a/doc/emacs/killing.texi
+++ b/doc/emacs/killing.texi
@@ -754,6 +754,10 @@ Replace rectangle contents with @var{string} on each line
754(@code{string-rectangle}). 754(@code{string-rectangle}).
755@item M-x string-insert-rectangle @key{RET} @var{string} @key{RET} 755@item M-x string-insert-rectangle @key{RET} @var{string} @key{RET}
756Insert @var{string} on each line of the rectangle. 756Insert @var{string} on each line of the rectangle.
757@item C-x @key{SPC}
758Toggle Rectangle Mark mode (@code{rectangle-mark-mode}).
759When this mode is active, the region-rectangle is highlighted and can
760be shrunk/grown, and the standard kill and yank commands operate on it.
757@end table 761@end table
758 762
759 The rectangle operations fall into two classes: commands to erase or 763 The rectangle operations fall into two classes: commands to erase or
@@ -840,11 +844,13 @@ rectangle shifts right.
840shifting the original text to the right. 844shifting the original text to the right.
841 845
842@findex rectangle-mark-mode 846@findex rectangle-mark-mode
843@cindex rectangular region 847 The command @kbd{C-x @key{SPC}} (@code{rectangle-mark-mode}) toggles
844 The command @kbd{C-x @key{SPC}} (@code{rectangle-mark-mode}) makes a 848whether the region-rectangle or the standard region is highlighted
845@dfn{rectangular region}. It is a new feature introduced in GNU Emacs 849(first activating the region if necessary). When this mode is enabled,
84624.4, and most commands now are still unaware of it, but kill and yank 850commands that resize the region (@kbd{C-f}, @kbd{C-n} etc.) do
847(@pxref{Killing}) do work on the rectangle. 851so in a rectangular fashion, and killing and yanking operate on the
852rectangle. @xref{Killing}. The mode persists only as long as the
853region is active.
848 854
849@node CUA Bindings 855@node CUA Bindings
850@section CUA Bindings 856@section CUA Bindings
@@ -887,7 +893,8 @@ any direction. Normal text you type is inserted to the left or right
887of each line in the rectangle (on the same side as the cursor). 893of each line in the rectangle (on the same side as the cursor).
888 894
889 You can use this rectangle support without activating CUA by calling the 895 You can use this rectangle support without activating CUA by calling the
890@code{cua-rectangle-mark-mode} command. 896@code{cua-rectangle-mark-mode} command. But see also the standard
897@code{rectangle-mark-mode}. @xref{Rectangles}.
891 898
892 With CUA you can easily copy text and rectangles into and out of 899 With CUA you can easily copy text and rectangles into and out of
893registers by providing a one-digit numeric prefix to the kill, copy, 900registers by providing a one-digit numeric prefix to the kill, copy,