aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters2002-04-24 21:06:01 +0000
committerColin Walters2002-04-24 21:06:01 +0000
commit8cab3b9aae967fed0786c2c0fd62630530fa4ea1 (patch)
tree36f2333a8bf415aa7d7c07b6ce93e3cb80aa7e5c
parent81f755ae6e2edbdd98611b0540ac7e7d05a51fdd (diff)
downloademacs-8cab3b9aae967fed0786c2c0fd62630530fa4ea1.tar.gz
emacs-8cab3b9aae967fed0786c2c0fd62630530fa4ea1.zip
Document `multi-occur' and `multi-occur-by-filename-regexp'.
-rw-r--r--man/search.texi15
1 files changed, 13 insertions, 2 deletions
diff --git a/man/search.texi b/man/search.texi
index 1739f93bc8d..bdaa3bababd 100644
--- a/man/search.texi
+++ b/man/search.texi
@@ -1035,11 +1035,14 @@ copy, or link files by replacing regexp matches in file names.
1035 Here are some other commands that find matches for a regular 1035 Here are some other commands that find matches for a regular
1036expression. They all ignore case in matching, if the pattern contains 1036expression. They all ignore case in matching, if the pattern contains
1037no upper-case letters and @code{case-fold-search} is non-@code{nil}. 1037no upper-case letters and @code{case-fold-search} is non-@code{nil}.
1038Aside from @code{occur}, all operate on the text from point to the end 1038Aside from @code{occur} and its variants, all operate on the text from
1039of the buffer, or on the active region in Transient Mark mode. 1039point to the end of the buffer, or on the active region in Transient
1040Mark mode.
1040 1041
1041@findex list-matching-lines 1042@findex list-matching-lines
1042@findex occur 1043@findex occur
1044@findex multi-occur
1045@findex multi-occur-by-filename-regexp
1043@findex how-many 1046@findex how-many
1044@findex delete-non-matching-lines 1047@findex delete-non-matching-lines
1045@findex delete-matching-lines 1048@findex delete-matching-lines
@@ -1064,6 +1067,14 @@ moves point to the original of the chosen occurrence.
1064@item M-x list-matching-lines 1067@item M-x list-matching-lines
1065Synonym for @kbd{M-x occur}. 1068Synonym for @kbd{M-x occur}.
1066 1069
1070@item M-x multi-occur @key{RET} @var{buffers} @key{RET} @var{regexp} @key{RET}
1071This function is just like `occur', except it is able to search
1072through multiple buffers.
1073
1074@item M-x multi-occur-by-filename-regexp @key{RET} @var{bufregexp} @key{RET} @var{regexp} @key{RET}
1075This function is similar to `multi-occur', except the buffers to
1076search are specified by a regexp on their filename.
1077
1067@item M-x how-many @key{RET} @var{regexp} @key{RET} 1078@item M-x how-many @key{RET} @var{regexp} @key{RET}
1068Print the number of matches for @var{regexp} that exist in the buffer 1079Print the number of matches for @var{regexp} that exist in the buffer
1069after point. In Transient Mark mode, if the region is active, the 1080after point. In Transient Mark mode, if the region is active, the