From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Russ P." Newsgroups: gmane.emacs.help Subject: Re: query replace Date: Fri, 8 Oct 2010 12:35:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291953513 1528 80.91.229.12 (10 Dec 2010 03:58:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 03:58:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 10 04:58:27 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQu7n-0005Yn-2g for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Dec 2010 04:58:27 +0100 Original-Received: from localhost ([127.0.0.1]:49690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQu4s-0000mb-4Q for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 22:55:26 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!n26g2000yqh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 128.102.146.44 Original-X-Trace: posting.google.com 1286566509 2033 127.0.0.1 (8 Oct 2010 19:35:09 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 8 Oct 2010 19:35:09 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n26g2000yqh.googlegroups.com; posting-host=128.102.146.44; posting-account=QXgf4wkAAADkKLOneY6DWJPpPelAjS0c User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.15) Gecko/2009101600 Firefox/3.0.15,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:181686 X-Mailman-Approved-At: Thu, 09 Dec 2010 20:23:34 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77287 Archived-At: On Oct 7, 9:39=A0pm, "Russ P." wrote: > 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. The problem I outlined above was on my home computer, but when I tried it on my work computer it worked as I expected it to work. Both machines are running emacs 23 on Linux. I don't know what is wrong on my home machine. Russ P.