diff options
| author | Xue Fuqiao | 2013-08-15 16:27:22 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2013-08-15 16:27:22 +0800 |
| commit | 7cbbcaa0dd337d39939d65f58b45f50f4480ce09 (patch) | |
| tree | f817d1fabde0273e3f2d4cb26b62bba17acab420 | |
| parent | 8e5c7e6f4ee3598ea329f6a83c6d4d118cef7589 (diff) | |
| download | emacs-7cbbcaa0dd337d39939d65f58b45f50f4480ce09.tar.gz emacs-7cbbcaa0dd337d39939d65f58b45f50f4480ce09.zip | |
* doc/lispref/markers.texi (The Region): Add/move indexes.
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/markers.texi | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 0d7d13ea4e7..41e996e697e 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-08-15 Xue Fuqiao <xfq.free@gmail.com> | ||
| 2 | |||
| 3 | * markers.texi (The Region): Add/move indexes. | ||
| 4 | |||
| 1 | 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org> | 5 | 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 6 | ||
| 3 | * display.texi (ImageMagick Images): Mention :content-type and | 7 | * display.texi (ImageMagick Images): Mention :content-type and |
diff --git a/doc/lispref/markers.texi b/doc/lispref/markers.texi index 05c3fc56fd4..712e5f99b63 100644 --- a/doc/lispref/markers.texi +++ b/doc/lispref/markers.texi | |||
| @@ -387,7 +387,6 @@ This is another name for @code{set-marker}. | |||
| 387 | @section The Mark | 387 | @section The Mark |
| 388 | @cindex mark, the | 388 | @cindex mark, the |
| 389 | @c @cindex the mark? | 389 | @c @cindex the mark? |
| 390 | @cindex mark ring | ||
| 391 | 390 | ||
| 392 | Each buffer has a special marker, which is designated @dfn{the | 391 | Each buffer has a special marker, which is designated @dfn{the |
| 393 | mark}. When a buffer is newly created, this marker exists but does | 392 | mark}. When a buffer is newly created, this marker exists but does |
| @@ -426,6 +425,7 @@ the mark is active. This is the main motivation for using Transient | |||
| 426 | Mark mode. (Another is that this enables highlighting of the region | 425 | Mark mode. (Another is that this enables highlighting of the region |
| 427 | when the mark is active. @xref{Display}.) | 426 | when the mark is active. @xref{Display}.) |
| 428 | 427 | ||
| 428 | @cindex mark ring | ||
| 429 | In addition to the mark, each buffer has a @dfn{mark ring} which is a | 429 | In addition to the mark, each buffer has a @dfn{mark ring} which is a |
| 430 | list of markers containing previous values of the mark. When editing | 430 | list of markers containing previous values of the mark. When editing |
| 431 | commands change the mark, they should normally save the old value of the | 431 | commands change the mark, they should normally save the old value of the |
| @@ -671,6 +671,7 @@ integer). This is the position of either point or the mark, whichever is | |||
| 671 | larger. | 671 | larger. |
| 672 | @end defun | 672 | @end defun |
| 673 | 673 | ||
| 674 | @c FIXME: Mention it in tips.texi? | ||
| 674 | Instead of using @code{region-beginning} and @code{region-end}, a | 675 | Instead of using @code{region-beginning} and @code{region-end}, a |
| 675 | command designed to operate on a region should normally use | 676 | command designed to operate on a region should normally use |
| 676 | @code{interactive} with the @samp{r} specification to find the | 677 | @code{interactive} with the @samp{r} specification to find the |
| @@ -683,6 +684,8 @@ mark is active, and there is a valid region in the buffer. This | |||
| 683 | function is intended to be used by commands that operate on the | 684 | function is intended to be used by commands that operate on the |
| 684 | region, instead of on text near point, when the mark is active. | 685 | region, instead of on text near point, when the mark is active. |
| 685 | 686 | ||
| 687 | @cindex empty region | ||
| 688 | @vindex use-empty-active-region | ||
| 686 | A region is valid if it has a non-zero size, or if the user option | 689 | A region is valid if it has a non-zero size, or if the user option |
| 687 | @code{use-empty-active-region} is non-@code{nil} (by default, it is | 690 | @code{use-empty-active-region} is non-@code{nil} (by default, it is |
| 688 | @code{nil}). The function @code{region-active-p} is similar to | 691 | @code{nil}). The function @code{region-active-p} is similar to |