From: Slawomir Nowaczyk <slawek@cs.lth.se>
Subject: Re: Remembering a regexp across searches
Date: Wed, 02 Feb 2005 12:00:34 +0100 [thread overview]
Message-ID: <20050202115739.2A48.SLAWEK@cs.lth.se> (raw)
In-Reply-To: <x5sm4fs1gs.fsf@lola.goethe.zz>
On Wed, 02 Feb 2005 11:25:23 +0100
David Kastrup <dak@gnu.org> wrote:
#> Michael Preminger <michaelp@hio.no> 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.
next prev parent reply other threads:[~2005-02-02 11:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-02 9:17 Remembering a regexp across searches Michael Preminger
2005-02-02 10:25 ` David Kastrup
2005-02-02 11:00 ` Slawomir Nowaczyk [this message]
2005-02-02 18:07 ` kgold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050202115739.2A48.SLAWEK@cs.lth.se \
--to=slawek@cs.lth.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.