From 9c99d2061c56f13145980f4bdb8ca9dc4752f516 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sat, 30 Sep 2000 15:54:24 +0000 Subject: [PATCH] (Other Repeating Search): Describe `how-many' instead of `count-matches'. Say that they work on the active region in Transient Mark mode. --- man/search.texi | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/man/search.texi b/man/search.texi index 98c076fd561..ee4f15f7756 100644 --- a/man/search.texi +++ b/man/search.texi @@ -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 -- 2.39.2