From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Stewart Newsgroups: gmane.emacs.help Subject: Re: automatic search/search and replace for a marked string Date: Sat, 22 Aug 2009 23:12:09 +0800 Message-ID: <877hwvubli.fsf@ubuntu.domain> References: <61780ed3-2c6b-4233-8f05-3ec082689bb8@s15g2000yqs.googlegroups.com> <87k50vx6tm.fsf@galatea.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250957473 1659 80.91.229.12 (22 Aug 2009 16:11:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2009 16:11:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 22 18:11:06 2009 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 1MetBG-0000EQ-16 for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 18:11:06 +0200 Original-Received: from localhost ([127.0.0.1]:34722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MetBE-0006ob-8U for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 12:11:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Met96-0005M8-Ml for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 12:08:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Met90-0005EW-T1 for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 12:08:48 -0400 Original-Received: from [199.232.76.173] (port=39861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Met90-0005E7-LF for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 12:08:42 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:58639) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Met90-0007Mq-3C for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 12:08:42 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1Met8y-0007pz-If for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 18:08:40 +0200 Original-Received: from 116.4.105.234 ([116.4.105.234]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Aug 2009 18:08:40 +0200 Original-Received: from lazycat.manatee by 116.4.105.234 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Aug 2009 18:08:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 116.4.105.234 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:OkhpBgRPUrKaldjZ2Y4SYt0YOUQ= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:67412 Archived-At: pjb@informatimago.com (Pascal J. Bourguignon) writes: > lichtkind writes: > >> Hello, >> >> I have marked a string. Now I want to search for this string in the >> whole text. I know that I can search with C-R or C-S. and type in the >> searchstring. I'm looking for a way, that the marked string is >> automatic the searchstring. This should also work for the other >> search/ search and replace types. I think you're looking for LazySearch, at http://www.emacswiki.org/emacs/LazySearch See http://www.emacswiki.org/emacs/LazySearch#toc3 for install LazySearch library. -- Andy