diff options
| author | Xue Fuqiao | 2014-03-02 16:54:32 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2014-03-02 16:54:32 +0800 |
| commit | 308d541018a6810688bdf150a6a96456bc067436 (patch) | |
| tree | e25676a584a94dd1bb2d02cf54cc6a64e14628ae | |
| parent | d2b94b157caca1893f610ed65d824ce92fd18625 (diff) | |
| download | emacs-308d541018a6810688bdf150a6a96456bc067436.tar.gz emacs-308d541018a6810688bdf150a6a96456bc067436.zip | |
Document `rectangle-mark-mode'.
* doc/emacs/mark.texi (Mark):
* doc/emacs/killing.texi (Rectangles): Document `rectangle-mark-mode'.
* etc/NEWS: Related edit.
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/killing.texi | 7 | ||||
| -rw-r--r-- | doc/emacs/mark.texi | 3 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
4 files changed, 16 insertions, 0 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index a99ff76ccb5..2269349401c 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-03-02 Xue Fuqiao <xfq@gnu.org> | ||
| 2 | |||
| 3 | * mark.texi (Mark): | ||
| 4 | * killing.texi (Rectangles): Document `rectangle-mark-mode'. | ||
| 5 | |||
| 1 | 2014-03-01 Glenn Morris <rgm@gnu.org> | 6 | 2014-03-01 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * search.texi (Query Replace): Mention search-invisible. | 8 | * search.texi (Query Replace): Mention search-invisible. |
diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi index 1826c668aa5..48d7f93396b 100644 --- a/doc/emacs/killing.texi +++ b/doc/emacs/killing.texi | |||
| @@ -839,6 +839,13 @@ rectangle shifts right. | |||
| 839 | @code{string-rectangle}, but inserts the string on each line, | 839 | @code{string-rectangle}, but inserts the string on each line, |
| 840 | shifting the original text to the right. | 840 | shifting the original text to the right. |
| 841 | 841 | ||
| 842 | @findex rectangle-mark-mode | ||
| 843 | @cindex rectangular region | ||
| 844 | The command @kbd{C-x SPC} (@code{rectangle-mark-mode}) makes a | ||
| 845 | @dfn{rectangular region}. It is a new feature introduced in GNU Emacs | ||
| 846 | 24.4, and most commands now are still unaware of it, but kill and yank | ||
| 847 | (@pxref{Killing}) do work on the rectangle. | ||
| 848 | |||
| 842 | @node CUA Bindings | 849 | @node CUA Bindings |
| 843 | @section CUA Bindings | 850 | @section CUA Bindings |
| 844 | @findex cua-mode | 851 | @findex cua-mode |
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi index 7c3a9a43811..2f7ea3b4e9b 100644 --- a/doc/emacs/mark.texi +++ b/doc/emacs/mark.texi | |||
| @@ -43,6 +43,9 @@ Ordinarily, only the selected window highlights its region; however, | |||
| 43 | if the variable @code{highlight-nonselected-windows} is | 43 | if the variable @code{highlight-nonselected-windows} is |
| 44 | non-@code{nil}, each window highlights its own region. | 44 | non-@code{nil}, each window highlights its own region. |
| 45 | 45 | ||
| 46 | There is another kind of region: the ``rectangular region''. | ||
| 47 | @xref{Rectangles}. | ||
| 48 | |||
| 46 | @menu | 49 | @menu |
| 47 | * Setting Mark:: Commands to set the mark. | 50 | * Setting Mark:: Commands to set the mark. |
| 48 | * Marking Objects:: Commands to put region around textual units. | 51 | * Marking Objects:: Commands to put region around textual units. |
| @@ -371,6 +371,7 @@ conventions. To use it, add it to the `fill-nobreak-predicate' hook. | |||
| 371 | +++ | 371 | +++ |
| 372 | ** Uniquify is enabled by default, with `post-forward-angle-brackets' style. | 372 | ** Uniquify is enabled by default, with `post-forward-angle-brackets' style. |
| 373 | 373 | ||
| 374 | +++ | ||
| 374 | ** New command `C-x SPC' (`rectangle-mark-mode') makes a rectangular region. | 375 | ** New command `C-x SPC' (`rectangle-mark-mode') makes a rectangular region. |
| 375 | Most commands are still unaware of it, but kill/yank do work on the rectangle. | 376 | Most commands are still unaware of it, but kill/yank do work on the rectangle. |
| 376 | 377 | ||