Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!husc6!bloom-beacon!mcgill-vision!iros1!pinard From: pinard@IRO.UMontreal.CA (Francois Pinard) Newsgroups: comp.emacs Subject: Re: Multi-Buffer search? Message-ID: <1136@mannix.iros1.UUCP> Date: 4 Sep 89 00:34:57 GMT References: <668@gill.UUCP> Sender: news@iros1.UUCP Followup-To: comp.emacs Organization: Universite' de Montre'al Lines: 22 In-reply-to: paul@gill.UUCP's message of 24 Aug 89 19:56:21 GMT In article <668@gill.UUCP> paul@gill.UUCP (Paul Nordstrom) writes: Within gnu emacs, is there a simple way to search for a string across *all* buffers currently loaded? Not that I know. But if the buffers can be associated with files, my preferred way to this is to M-! execute: etags FILENAME... to collect the file names into a TAGS file, then to do: M-x visit RET RET to activate this TAGS file, and then: M-x tags-search RET pattern RET to start the search. M-, goes from one match to the next. -- Franc,ois Pinard pinard@iro.umontreal.ca (514) 588-4656 ``Vivement GNU!'' ...!uunet!iros1!pinard