Mercurial > emacs
changeset 32035:396b07cf1395
(Other Repeating Search): Describe `how-many'
instead of `count-matches'. Say that they work on the active
region in Transient Mark mode.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sat, 30 Sep 2000 15:54:24 +0000 |
parents | 259c9935f2db |
children | 29b572780dea |
files | man/search.texi |
diffstat | 1 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/man/search.texi Sat Sep 30 14:35:11 2000 +0000 +++ b/man/search.texi Sat Sep 30 15:54:24 2000 +0000 @@ -977,7 +977,7 @@ @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 @@ @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