all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: weber <hugows@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Isearch functionality
Date: Wed, 01 Aug 2007 13:35:23 -0000	[thread overview]
Message-ID: <1185975323.829695.305080@l70g2000hse.googlegroups.com> (raw)
In-Reply-To: <871weocxvb.fsf@W0053328.mgh.harvard.edu>

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	other threads:[~2007-08-01 13:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 13:23 Isearch functionality weber
2007-07-31 13:59 ` Drew Adams
     [not found] ` <mailman.4162.1185890445.32220.help-gnu-emacs@gnu.org>
2007-07-31 14:18   ` weber
2007-07-31 16:59 ` Joel J. Adamson
2007-08-01 13:35   ` weber [this message]
2007-08-04  8:48 ` Dieter Wilhelm
     [not found] ` <mailman.4378.1186217273.32220.help-gnu-emacs@gnu.org>
2007-08-04 15:03   ` weber

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=1185975323.829695.305080@l70g2000hse.googlegroups.com \
    --to=hugows@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.