From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ke Lu Newsgroups: gmane.emacs.help Subject: Interative batch query-replace question Date: Thu, 29 Nov 2007 12:08:08 +0900 Organization: Bentium Ltd. (CN99) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196307645 27994 80.91.229.12 (29 Nov 2007 03:40:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2007 03:40:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 29 04:40:53 2007 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.50) id 1IxaGg-0001lO-1J for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2007 04:40:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxaGQ-0004y8-Ef for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 22:40:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.cn99.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-NNTP-Posting-Host: softbank218118058050.bbtec.net Original-X-Trace: news.cn99.com 1196310020 20732 218.118.58.50 (29 Nov 2007 04:20:20 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Thu, 29 Nov 2007 04:20:20 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:sxOlJy7tDgIJcb11kyhmh0Y9tAc= Original-Xref: shelby.stanford.edu gnu.emacs.help:154242 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:49670 Archived-At: I want to do a Interative batch query-replace which looks like: (defun a-batch-query-relace() (interactive) (query-replace "jp.co" "jp.co2") (query-replace "java" "java2") ..... ) But only first query-replace be excuted,I would like to know why and how to solve it.