Subject: Re: bug#23734: 25.1.50; ibuffer: Search a buffer by content

From: Glenn Morris <[email-masked]>
Date: Thu, 09 Jun 2016 13:24:41 -0400

Tino Calancha wrote:

> It's commun one Emacs session having dozens of buffers on memory. On
> such situation, it is hard to remember the name of one particular
> buffer.
>
> It may be useful having easy way to search buffers by content.

multi-occur can do this kind of thing.

> For example, one user is developping a funtion foo
> in the buffer BUF, with name BUF-NAME:
>
> foo-type foo (bar)
>
> The user may not remember BUF-NAME, but s/he could be able
> to write a regexp matching just the content of BUF.
> For instance, something like
> "foo (bar)"
> likely would match just BUF content (or a few buffers more).

C-u M-x multi-occur-in-matching-buffers RET . RET foo (bar) RET