From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomer Newsgroups: gmane.emacs.help Subject: Re: incremental search in all visible buffers Date: Mon, 22 Sep 2008 01:37:14 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8326328f-9352-4fc3-a8a1-367f50ec45ae@l42g2000hsc.googlegroups.com> 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 1222072899 5396 80.91.229.12 (22 Sep 2008 08:41:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2008 08:41:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 22 10:42:36 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 1Khgzy-0000x7-2X for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Sep 2008 10:42:26 +0200 Original-Received: from localhost ([127.0.0.1]:51123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Khgyv-0004VP-Tu for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Sep 2008 04:41:21 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l42g2000hsc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: 212.235.33.45 Original-X-Trace: posting.google.com 1222072635 8446 127.0.0.1 (22 Sep 2008 08:37:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 22 Sep 2008 08:37:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l42g2000hsc.googlegroups.com; posting-host=212.235.33.45; posting-account=NuEtcAoAAADUxiHpeF0Pumy7gc4ekCfm User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:162540 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:57883 Archived-At: On Sep 14, 6:26=C2=A0pm, Xah wrote: > 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= is not > difficult to write a elisp... whatever your =E2=80=9Cvisible=E2=80=9D buf= fer might > mean. > > =C2=A0 Xah > =E2=88=91http://xahlee.org/ > > =E2=98=84 hi Xah as i understand it,your solution is not incremental. incremental means ( as i understatnd it) that as I type the string to search ,after each character pressed in searched string the emacs highligh all the places matches the updated searched string. Thanks Tomer Tomer