From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: incremental search in all visible buffers Date: Sun, 14 Sep 2008 08:26:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <82e8556b-2d45-4c5e-b806-c736fe4a7545@m73g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1221406894 25541 80.91.229.12 (14 Sep 2008 15:41:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2008 15:41:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 14 17:42:29 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ketk2-00040i-MC for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 17:42:26 +0200 Original-Received: from localhost ([127.0.0.1]:56328 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ketj1-00079R-SO for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 11:41:23 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r15g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 24.6.185.159 Original-X-Trace: posting.google.com 1221405994 28258 127.0.0.1 (14 Sep 2008 15:26:34 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 14 Sep 2008 15:26:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r15g2000prh.googlegroups.com; posting-host=24.6.185.159; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:162232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57574 Archived-At: On Sep 13, 10:40 pm, tomer wrote: > is there any way to use incremental seach in all visible buffers. > this is usefull when working on a buffer while viewing also another > buffer, and I want to search(incremnatal search with highlight) on > both buffers and view immediate result on the buffers. > Thanks > Tomer you can go to dired, mark the buffers u want, then do a interactive find/replace operation where the replace string is identical to the find string. Basically: =E2=80=A2 M-x dired =E2=80=A2 type =E2=80=9Cm=E2=80=9D to mark. =E2=80=A2 type =E2=80=9CQ=E2=80=9D to call dired-do-query-replace-regexp. =E2=80=A2 give your find string and replace string. =E2=80=A2 type =E2=80=9Cn=E2=80=9D to not replace. So, the above would function like interactive search. For detail, see: http://xahlee.org/emacs/find_replace_inter.html not sure how to apply this to =E2=80=9Cvisible=E2=80=9D buffers... but it i= s not difficult to write a elisp... whatever your =E2=80=9Cvisible=E2=80=9D buffe= r might mean. Xah =E2=88=91 http://xahlee.org/ =E2=98=84