diff options
| author | Glenn Morris | 2014-10-03 19:36:49 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-10-03 19:36:49 -0700 |
| commit | 1a06ba3736b72b6af87529cf14f2ff82c6649cf5 (patch) | |
| tree | fce2f52b0d0975fc6439799bb6e98d6741a269fc /doc | |
| parent | caafef5ddc019b2cd4030f71fb3f307c3775b4da (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/killing.texi | 19 |
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 @@ | |||
| 1 | 2014-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 | |||
| 1 | 2014-10-03 Martin Rudalics <rudalics@gmx.at> | 6 | 2014-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} |
| 756 | Insert @var{string} on each line of the rectangle. | 756 | Insert @var{string} on each line of the rectangle. |
| 757 | @item C-x @key{SPC} | ||
| 758 | Toggle Rectangle Mark mode (@code{rectangle-mark-mode}). | ||
| 759 | When this mode is active, the region-rectangle is highlighted and can | ||
| 760 | be 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. | |||
| 840 | shifting the original text to the right. | 844 | shifting 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 | 848 | whether 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, |
| 846 | 24.4, and most commands now are still unaware of it, but kill and yank | 850 | commands that resize the region (@kbd{C-f}, @kbd{C-n} etc.) do |
| 847 | (@pxref{Killing}) do work on the rectangle. | 851 | so in a rectangular fashion, and killing and yanking operate on the |
| 852 | rectangle. @xref{Killing}. The mode persists only as long as the | ||
| 853 | region 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 | |||
| 887 | of each line in the rectangle (on the same side as the cursor). | 893 | of 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 |
| 893 | registers by providing a one-digit numeric prefix to the kill, copy, | 900 | registers by providing a one-digit numeric prefix to the kill, copy, |