From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Slawomir Nowaczyk Newsgroups: gmane.emacs.help Subject: Re: Remembering a regexp across searches Date: Wed, 02 Feb 2005 12:00:34 +0100 Message-ID: <20050202115739.2A48.SLAWEK@cs.lth.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1107343532 18338 80.91.229.2 (2 Feb 2005 11:25:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2005 11:25:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 02 12:25:32 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CwIdN-0008KO-4T for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Feb 2005 12:25:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CwIqT-0007sc-JJ for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Feb 2005 06:38:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CwIe6-0003IA-JW for help-gnu-emacs@gnu.org; Wed, 02 Feb 2005 06:26:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CwIe4-0003Hp-Oc for help-gnu-emacs@gnu.org; Wed, 02 Feb 2005 06:26:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CwIdj-0002tj-5j for help-gnu-emacs@gnu.org; Wed, 02 Feb 2005 06:25:43 -0500 Original-Received: from [130.235.16.11] (helo=himmelsborg.cs.lth.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CwIFT-0003U9-8k for help-gnu-emacs@gnu.org; Wed, 02 Feb 2005 06:00:39 -0500 Original-Received: from [127.0.0.1] (slawek@dain [130.235.16.76]) by himmelsborg.cs.lth.se (8.12.11/8.12.11/perf-jw-tr) with ESMTP id j12B0arK008168 for ; Wed, 2 Feb 2005 12:00:36 +0100 (CET) Original-To: help-gnu-emacs@gnu.org In-Reply-To: X-Esmandil_Citation: done X-Mailer-Plugin: Popup Memopad for Becky!2 Ver.0.02 Rev.2 X-Mailer: Becky! ver. 2.12 [en] 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:23846 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23846 On Wed, 02 Feb 2005 11:25:23 +0100 David Kastrup wrote: #> Michael Preminger writes: #> > Maybe something I would expect to find in the FAQ, but to no avail: #> > #> > I need to do repeating incremental searches of regular expression. #> > #> > when I find what I was looking for - I need to do some changes #> > (manually), and then search for the next occurrence corresponding to #> > the same regexp. #> > #> > Sometimes the regexps are complicated, and retyping them in the #> > Iserach-buffer is tedious. #> > #> > How do I avoid this re-typing? Is there a way to make emacs "remember" #> > a regexp and re-use it in a handy way? #> Just type another C-s and you are set. Or, if you need more history, meta-p and meta-n are your friends :-) There are a couple more nice things in isearch, and they are explained in the "Emacs Manual". -- Best wishes, Slawomir Nowaczyk ( Slawomir.Nowaczyk@cs.lth.se ) As I said before, I never repeat myself.