[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: please implement query-exchange
From: |
Ami Fischman |
Subject: |
Re: please implement query-exchange |
Date: |
Tue, 19 Nov 2002 09:25:19 -0800 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.50 (i686-pc-linux-gnu) |
"Eli Zaretskii" <eliz@is.elta.co.il> writes:
[...]
> Can't you do that with query-replace-regexp using parenthesized
> subexpressions and the \N feature (where N is a digit)?
Is this really possible? When I first read your post, I just said to
myself "oh, yeah, that's right; that should take care of it" but later on I
actually tried to implement a query-exchange function using only one
query-replace-regexp, and couldn't figure out how to do it. I see from (a
private email?) that Dan posted to the list that you suggested to him a
regexp that would take care of his particular string of text, but I'm now
more curious about the general problem. Can anyone here implement an
exchange in a single RE replace? More an academic challenge than an emacs
bug (or even feature request) since what Dan was asking for can be done
in a lisp function anyway.
Cheers,
--
Ami Fischman
usenet@fischman.org
- please implement query-exchange, Dan Jacobson, 2002/11/16
- Re: please implement query-exchange,
Ami Fischman <=
- Re: please implement query-exchange, Eli Zaretskii, 2002/11/19
- Re: please implement query-exchange, Ami Fischman, 2002/11/19
- Re: please implement query-exchange, Francesco Potorti`, 2002/11/19
- Re: please implement query-exchange, Dan Jacobson, 2002/11/19
- Re: please implement query-exchange, Dan Jacobson, 2002/11/20
- Re: please implement query-exchange, Ami Fischman, 2002/11/20
- Re: please implement query-exchange, Dan Jacobson, 2002/11/21
- Re: please implement query-exchange, Richard Stallman, 2002/11/21