unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Doing numbered changes in a buffer
@ 2005-12-15 21:53 gamename
  2005-12-16  1:10 ` Quokka
  2005-12-16 16:54 ` Brendan Halpin
  0 siblings, 2 replies; 4+ messages in thread
From: gamename @ 2005-12-15 21:53 UTC (permalink / raw)


Hi,

I have a tcl file with lots of messages which are about as descriptive
as this:

puts "something went wrong"
...
puts "something went wrong"

Is there any way to do a string replace in the buffer such that each
instance of "puts" would be assigned a unique message number? For
example:

puts "001 - something went wrong"
...
puts "002 - something went wrong"

TIA,
-T

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

end of thread, other threads:[~2005-12-17 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-15 21:53 Doing numbered changes in a buffer gamename
2005-12-16  1:10 ` Quokka
2005-12-16 16:54 ` Brendan Halpin
2005-12-17 21:29   ` gamename

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