* How to replace a string with one of a few alternatives?
@ 2014-11-24 16:10 Marcin Borkowski
0 siblings, 0 replies; only message in thread
From: Marcin Borkowski @ 2014-11-24 16:10 UTC (permalink / raw)
To: Help Gnu Emacs mailing list
Hello fellow Emacsers,
I'd like to query-replace a string with one of a few alternatives. The
catch is, I'd like to select an alternative for each and every
occurence. Is there a ready-made solution for that? It should be
rather easy to hack, using query-replace-regexp and \, with some
function to select one of the alternatives, but why reinvent the wheel
if it's already done?
TIA,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-24 16:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24 16:10 How to replace a string with one of a few alternatives? Marcin Borkowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).