[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interative batch query-replace question
From: |
Andreas Röhler |
Subject: |
Re: Interative batch query-replace question |
Date: |
Thu, 29 Nov 2007 07:54:34 +0100 |
User-agent: |
KMail/1.9.5 |
Am Donnerstag, 29. November 2007 04:08 schrieb Ke Lu:
> 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.
> _______________________________________________
If it's enough to replace one by one, then should help
always starting from the beginning.
Introduce
(goto-char (point-min))
before each loop
Andreas Röhler
- Re: Interative batch query-replace question, (continued)
- Message not available
- Re: Interative batch query-replace question, Ke Lu, 2007/11/29
- Re: Interative batch query-replace question, Andreas Röhler, 2007/11/30
- Message not available
- Re: Interative batch query-replace question, Ke Lu, 2007/11/30
- Re: Interative batch query-replace question, Joel J. Adamson, 2007/11/30
- Re: Interative batch query-replace question, Andreas Röhler, 2007/11/30
- Message not available
- Re: Interative batch query-replace question, Ke Lu, 2007/11/30
Re: Interative batch query-replace question,
Andreas Röhler <=