unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Russ P." <russ.paielli@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: query replace
Date: Thu, 7 Oct 2010 21:39:22 -0700 (PDT)	[thread overview]
Message-ID: <f72a8535-21aa-4451-916c-1306d016a14a@d15g2000prj.googlegroups.com> (raw)

I am in the process of trying to switch from XEmacs to Emacs. I am
confused about how to use query replace in Emacs.

In XEmacs, I go to Edit/Replace, and I get a "query replace" prompt. I
enter the search string, hit return, then enter the replacement
string. It then automatically takes me to each occurrence of the
search string, where I can hit y or n to tell it to replace or not
replace. Or I can hit ! to replace all occurrences at once.

When I do the same thing in Emacs, up to entering the search and
replacement strings, it does nothing. What am I supposed to do to
actually replace occurrences of the search string? Sorry if I am being
dense, but it was so easy in XEmacs. Thanks.

Russ P.


             reply	other threads:[~2010-10-08  4:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-08  4:39 Russ P. [this message]
2010-10-08 19:35 ` query replace Russ P.
2010-12-10 22:07   ` Aidan Gauland

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f72a8535-21aa-4451-916c-1306d016a14a@d15g2000prj.googlegroups.com \
    --to=russ.paielli@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).