all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <ecinmn@alcisp.com>
Subject: Re: new member
Date: Thu, 5 Oct 2006 08:09:54 -0500	[thread overview]
Message-ID: <936ba$45250290$49fa7e9$27981@DIALUPUSA.NET> (raw)
In-Reply-To: 1160015257.268170.235270@c28g2000cwb.googlegroups.com


"minidiapolis" <minidiapolis@hotmail.com> wrote in message
news:1160015257.268170.235270@c28g2000cwb.googlegroups.com...
> Hello, I don't know if I'm in the right group.  I'm a relatively new
> user to Emacs and I was wondering how I would do a search and have it
> delete the specific text.  if someone could help me out, I would really
> appreciate it.  Thanks, Mindy
>

Pascal has already given you the most general solution to your problem,
but if you don't want to get into regular expressions yet and if you
haven't changed the default, out-of-the-box key assignments, then just do:

M-< (press Alt-Shift-< at the same time to go to beginning of buffer)
M-% (press Alt-Shift-% at the same time) and see
Query Replace: [Here type the text to be deleted]
Query Replace [text] with: [Here press Return (Enter)]
Press space bar at every instance of [text] to be deleted and N for those
instances to be retained.
If after deleting a few instances you are sure you want to delete all the
rest, just press Shift-!

Ed

      parent reply	other threads:[~2006-10-05 13:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-05  2:27 new member minidiapolis
2006-10-05  2:43 ` Pascal Bourguignon
2006-10-05 10:58 ` Peter Tury
2006-10-05 11:13   ` Pascal Bourguignon
2006-10-05 13:09 ` B. T. Raven [this message]

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='936ba$45250290$49fa7e9$27981@DIALUPUSA.NET' \
    --to=ecinmn@alcisp.com \
    /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.