diff options
| author | Kai Großjohann | 2002-02-15 08:53:15 +0000 |
|---|---|---|
| committer | Kai Großjohann | 2002-02-15 08:53:15 +0000 |
| commit | cad113ae34fd336c0ea44dacf12c267cdb94d9ce (patch) | |
| tree | dd65ff473805a1a75a4daa29ce0569317dea3f69 /man | |
| parent | 66c8296f833ff25ec680feaaaf2ba57f429919de (diff) | |
| download | emacs-cad113ae34fd336c0ea44dacf12c267cdb94d9ce.tar.gz emacs-cad113ae34fd336c0ea44dacf12c267cdb94d9ce.zip | |
* lisp/simple.el (mark-word): Mark more if repeated.
* lisp/textmodes/paragraphs.el (mark-paragraph): Ditto.
(mark-end-of-sentence): Ditto.
Diffstat (limited to 'man')
| -rw-r--r-- | man/mark.texi | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/man/mark.texi b/man/mark.texi index 7cdc5a24fc8..4b3c28814a4 100644 --- a/man/mark.texi +++ b/man/mark.texi | |||
| @@ -278,7 +278,9 @@ Put region around current page (@code{mark-page}). | |||
| 278 | @kbd{M-@@} (@code{mark-word}) puts the mark at the end of the next | 278 | @kbd{M-@@} (@code{mark-word}) puts the mark at the end of the next |
| 279 | word, while @kbd{C-M-@@} (@code{mark-sexp}) puts it at the end of the | 279 | word, while @kbd{C-M-@@} (@code{mark-sexp}) puts it at the end of the |
| 280 | next balanced expression (@pxref{Expressions}). These commands handle | 280 | next balanced expression (@pxref{Expressions}). These commands handle |
| 281 | arguments just like @kbd{M-f} and @kbd{C-M-f}. | 281 | arguments just like @kbd{M-f} and @kbd{C-M-f}. If you repeat these |
| 282 | commands, the region is extended. For example, you can type either | ||
| 283 | @kbd{C-u 2 M-@@} or @kbd{M-@@ M-@@} to mark the next two words. | ||
| 282 | 284 | ||
| 283 | @kindex C-x h | 285 | @kindex C-x h |
| 284 | @findex mark-whole-buffer | 286 | @findex mark-whole-buffer |
| @@ -292,17 +294,20 @@ paragraph. With prefix argument, if the argument's value is positive, | |||
| 292 | point. If the prefix argument is @minus{}@var{n}, @kbd{M-h} also | 294 | point. If the prefix argument is @minus{}@var{n}, @kbd{M-h} also |
| 293 | marks @var{n} paragraphs, running back form the one surrounding point. | 295 | marks @var{n} paragraphs, running back form the one surrounding point. |
| 294 | In that last case, point moves forward to the end of that paragraph, | 296 | In that last case, point moves forward to the end of that paragraph, |
| 295 | and the mark goes at the start of the region. | 297 | and the mark goes at the start of the region. The @kbd{M-h} command |
| 298 | also supports the extension of the region, similar to @kbd{M-@@} and | ||
| 299 | @kbd{C-M-@@}. | ||
| 296 | 300 | ||
| 297 | @kbd{C-M-h} (@code{mark-defun}) similarly puts point before, and the | 301 | @kbd{C-M-h} (@code{mark-defun}) similarly puts point before, and the |
| 298 | mark after, the current (or following) major top-level definition, or | 302 | mark after, the current (or following) major top-level definition, or |
| 299 | defun (@pxref{Moving by Defuns}). (Currently it only marks one | 303 | defun (@pxref{Moving by Defuns}). (Currently it only marks one defun, |
| 300 | defun.) @kbd{C-x C-p} (@code{mark-page}) puts point before the | 304 | but repeating it marks more defuns, like for @kbd{M-@@}.) @kbd{C-x |
| 301 | current page, and mark at the end (@pxref{Pages}). The mark goes | 305 | C-p} (@code{mark-page}) puts point before the current page, and mark |
| 302 | after the terminating page delimiter (to include it in the region), | 306 | at the end (@pxref{Pages}). The mark goes after the terminating page |
| 303 | while point goes after the preceding page delimiter (to exclude it). | 307 | delimiter (to include it in the region), while point goes after the |
| 304 | A numeric argument specifies a later page (if positive) or an earlier | 308 | preceding page delimiter (to exclude it). A numeric argument |
| 305 | page (if negative) instead of the current page. | 309 | specifies a later page (if positive) or an earlier page (if negative) |
| 310 | instead of the current page. | ||
| 306 | 311 | ||
| 307 | Finally, @kbd{C-x h} (@code{mark-whole-buffer}) sets up the entire | 312 | Finally, @kbd{C-x h} (@code{mark-whole-buffer}) sets up the entire |
| 308 | buffer as the region, by putting point at the beginning and the mark at | 313 | buffer as the region, by putting point at the beginning and the mark at |