1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

(Other Repeating Search): Describe `how-many'

instead of `count-matches'.  Say that they work on the active
region in Transient Mark mode.
This commit is contained in:
Gerd Moellmann 2000-09-30 15:54:24 +00:00
parent 71c9ec5139
commit 9c99d2061c

View File

@ -977,7 +977,7 @@ letters and @code{case-fold-search} is non-@code{nil}.
@findex list-matching-lines
@findex occur
@findex count-matches
@findex how-many
@findex delete-non-matching-lines
@findex delete-matching-lines
@findex flush-lines
@ -1001,16 +1001,18 @@ moves point to the original of the chosen occurrence.
@item M-x list-matching-lines
Synonym for @kbd{M-x occur}.
@item M-x count-matches @key{RET} @var{regexp} @key{RET}
Print the number of matches for @var{regexp} after point.
@item M-x how-many @key{RET} @var{regexp} @key{RET}
Print the number of matches for @var{regexp} after point, or in the
active region in Transient Mark mode.
@item M-x flush-lines @key{RET} @var{regexp} @key{RET}
Delete each line that follows point and contains a match for
@var{regexp}.
Delete each line after point, or in the active region in Transient Mark
mode, that contains a match for @var{regexp}.
@item M-x keep-lines @key{RET} @var{regexp} @key{RET}
Delete each line that follows point and @emph{does not} contain a match
for @var{regexp}.
Delete each line that follows point, or is in the active region in
Transient Mark mode, and @emph{does not} contain a match for
@var{regexp}.
@end table
Searching and replacing can be performed under the control of tags