help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Isearch functionality


From: weber
Subject: Re: Isearch functionality
Date: Wed, 01 Aug 2007 13:35:23 -0000
User-agent: G2/1.0

On 31 jul, 13:59, jadam...@partners.org (Joel J. Adamson) wrote:
> weber <hug...@gmail.com> writes:
> > This would be very useful since many times the search string you are
> > looking for is exactly what you want to remove, and it may be
> > something inside a word, so you can't just end isearch and do a kill
> > word. Do you get me ?
>
> Hmmm...I'm unsure if I understand what you want.  It sounds like what
> you want is search and replace, replacing with "" (nothing, that is,
> accomplished by hitting return when prompted for a replacement
> string).  I do this all the time.  I often think there must be an even
> more elegant way to do it.  You can even use a regexp replacement
> search to delete stuff.  It's very versatile.
>
> How is what you want different?
>
> Joel
>
> --
> Joel J. Adamson
> Biostatistician
> Pediatric Psychopharmacology Research Unit
> Massachusetts General Hospital
> Boston, MA  02114
> (617) 643-1432
> (303) 880-3109
>
> "Today in the Western world only children argue this way,
> and only children believe the earth is at rest."
>          -Thomas S. Kuhn, _The Copernican Revolution_, pg 44

Yeah, well.. i don't know.
I guess in this case of a single replacement, isearch is more handy
because that's the keybinding I use for moving around all the time.
But of course for several fixes on the code I'm always using query-
replace-regexp.

Cheers,
weber



reply via email to

[Prev in Thread] Current Thread [Next in Thread]