help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to search all open buffers?


From: Drew Adams
Subject: RE: How to search all open buffers?
Date: Mon, 27 Aug 2007 21:05:00 -0700

> > Hi.  What's the Emacs command to search for a string in all the
> > open buffers?  (I've searched the docs for a long time without
> > success, but I imagine it has to be in there somewhere...)
>
> In Icicles, you do C-u 1 C-c ` and then either pick the buffers you want
> (using C-mouse-2) or hit C-! to search them all.
>
> C-c ` is `icicle-search'.  A positive numeric prefix arg tells it
> to search multiple buffers. C-! acts on all buffers whose names
> match your input. If you type nothing, then it acts on all open buffers.
>
> http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Search_Commands%2c
> _Overview#SearchMultipleBuffersFilesAndRegions

Actually, `icicle-occur' (C-') is sufficient for what you requested - no
need for the extra features of `icicle-search' (C-`).

Use a prefix argument (C-u C-') to search multiple buffers. Choose the
buffers (C-mouse-2) to search, or use C-! to search them all. Type the
string or regexp you want to search for. Then use C-next to navigate among
the search hits.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]