Mercurial > emacs
changeset 44823:230b150398fa
Document `multi-occur' and `multi-occur-by-filename-regexp'.
author | Colin Walters <walters@gnu.org> |
---|---|
date | Wed, 24 Apr 2002 21:06:01 +0000 |
parents | 0ecfbafcac13 |
children | 637c10f08055 |
files | man/search.texi |
diffstat | 1 files changed, 13 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/man/search.texi Wed Apr 24 21:04:32 2002 +0000 +++ b/man/search.texi Wed Apr 24 21:06:01 2002 +0000 @@ -1035,11 +1035,14 @@ Here are some other commands that find matches for a regular expression. They all ignore case in matching, if the pattern contains no upper-case letters and @code{case-fold-search} is non-@code{nil}. -Aside from @code{occur}, all operate on the text from point to the end -of the buffer, or on the active region in Transient Mark mode. +Aside from @code{occur} and its variants, all operate on the text from +point to the end of the buffer, or on the active region in Transient +Mark mode. @findex list-matching-lines @findex occur +@findex multi-occur +@findex multi-occur-by-filename-regexp @findex how-many @findex delete-non-matching-lines @findex delete-matching-lines @@ -1064,6 +1067,14 @@ @item M-x list-matching-lines Synonym for @kbd{M-x occur}. +@item M-x multi-occur @key{RET} @var{buffers} @key{RET} @var{regexp} @key{RET} +This function is just like `occur', except it is able to search +through multiple buffers. + +@item M-x multi-occur-by-filename-regexp @key{RET} @var{bufregexp} @key{RET} @var{regexp} @key{RET} +This function is similar to `multi-occur', except the buffers to +search are specified by a regexp on their filename. + @item M-x how-many @key{RET} @var{regexp} @key{RET} Print the number of matches for @var{regexp} that exist in the buffer after point. In Transient Mark mode, if the region is active, the