From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: please implement query-exchange
Date: Tue, 19 Nov 2002 20:59:08 +0300 [thread overview]
Message-ID: <3405-Tue19Nov2002205907+0200-eliz@is.elta.co.il> (raw)
In-Reply-To: <m3u1idqxog.fsf@fischman.org> (message from Ami Fischman on Tue, 19 Nov 2002 09:25:19 -0800)
> From: Ami Fischman <usenet@fischman.org>
> Date: Tue, 19 Nov 2002 09:25:19 -0800
>
> "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.
I didn't mean to suggest a general solution. I meant to say that for
each specific case one can devise a regexp and a replacement string
with \N that solves that particular case.
next prev parent reply other threads:[~2002-11-19 17:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-16 1:59 please implement query-exchange Dan Jacobson
2002-11-16 18:14 ` Eli Zaretskii
[not found] ` <8765uvpx52.fsf@jidanni.org>
[not found] ` <9003-Mon18Nov2002210929+0200-eliz@is.elta.co.il>
2002-11-18 23:37 ` Dan Jacobson
2002-11-19 6:57 ` Eli Zaretskii
2002-11-19 21:57 ` Dan Jacobson
2002-11-19 17:25 ` Ami Fischman
2002-11-19 17:59 ` Eli Zaretskii [this message]
2002-11-19 19:18 ` Ami Fischman
2002-11-19 22:10 ` Francesco Potorti`
2002-11-19 23:43 ` Dan Jacobson
2002-11-20 1:03 ` Dan Jacobson
2002-11-20 21:29 ` Ami Fischman
2002-11-21 23:22 ` Dan Jacobson
2002-11-21 17:12 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3405-Tue19Nov2002205907+0200-eliz@is.elta.co.il \
--to=eliz@is.elta.co.il \
--cc=bug-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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.