unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Automate replace-regexp
@ 2018-08-25 15:19 Rodolfo Medina
  2018-08-25 16:04 ` Skip Montanaro
  0 siblings, 1 reply; 5+ messages in thread
From: Rodolfo Medina @ 2018-08-25 15:19 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all...

In a document, I wish to automate the following two replace-regexp, immediately
one after the other, only within the current paragraph:

\\bar %[0-9]+	  ->	\\bar
\\bar		  ->	\\bar %\,(+ 2 \#)

How can I achieve that, defining a proper command...?

Thanks for any help,

Rodolfo




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-26  4:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-25 15:19 Automate replace-regexp Rodolfo Medina
2018-08-25 16:04 ` Skip Montanaro
2018-08-26  2:15   ` Rodolfo Medina
2018-08-26  2:40     ` Rodolfo Medina
2018-08-26  4:01     ` Rodolfo Medina

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).