all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

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.