From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: automatic search/search and replace for a marked string Date: Sun, 23 Aug 2009 09:41:38 -0700 Message-ID: <932093963DB4471FB46F3FABAE9BD00E@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1251045888 30957 80.91.229.12 (23 Aug 2009 16:44:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Aug 2009 16:44:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'Kada Situ'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 23 18:44:41 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 1MfGBL-0000K6-88 for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Aug 2009 18:44:41 +0200 Original-Received: from localhost ([127.0.0.1]:40615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfGBJ-0006Bd-JB for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Aug 2009 12:44:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfGA9-0005Em-It for help-gnu-emacs@gnu.org; Sun, 23 Aug 2009 12:43:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfGA5-00058q-VO for help-gnu-emacs@gnu.org; Sun, 23 Aug 2009 12:43:25 -0400 Original-Received: from [199.232.76.173] (port=51287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfGA5-00058W-N8 for help-gnu-emacs@gnu.org; Sun, 23 Aug 2009 12:43:21 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:32861 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MfGA5-0004kX-62 for help-gnu-emacs@gnu.org; Sun, 23 Aug 2009 12:43:21 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7NGhYOi016557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 23 Aug 2009 16:43:35 GMT Original-Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7NGhDoQ028817; Sun, 23 Aug 2009 16:43:13 GMT Original-Received: from dradamslap1 (/141.144.160.30) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 23 Aug 2009 09:43:12 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acoj21LznMFuaFx8SVCSXxlCl7xpygAMrLQg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt005.oracle.com [141.146.116.14] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4A9171A1.0125:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:67450 Archived-At: > there is a searching feature in UltraEdit that I want it so bad in emacs. Your wish has been granted. > you highlight some text, and press F3, it will automatically do the > search of the lighlighted text for you. 1. Select the text. 2. `C-s' or `C-r' (isearch forward or backward) 3. `M-y' (copy the selected text as the search text 4. `C-s' or `C-r' (isearch forward or backward) The Emacs manual is your friend. See node `Isearch Yank'. (You can of course bind `F3' and `S-F3' in place of, or in addition to, `C-s' and `C-r', if you really want those keys.)