6 Jul 2006 09:12
Question about writing a macro in XEMACS
Mohsen Owzar <mohsen.owzar <at> philips.com>
2006-07-06 07:12:01 GMT
2006-07-06 07:12:01 GMT
Dear all,
I do not know if I'm writing this question to the correct address or not?
If not please let me know to where I have to write next time, if I have
questions belonging to XEMACS, because I'm new in this group.
And now my question:
I use often the macro feature in XEMACS. If I want to do some actions with
some replacements (e.g. "abc" with "cde") in a text file, I do it once and
save it in a macro and rerun it by using the "excecute-last-kbd-macro" line
by line through the whole file.
If the replacements are always the same, my macro works fine. But if I
want to replace the sting "abc" with "cde1", "cde2", "cde3" ..., which means
that each time the replacement is increased by a certain value, in this case
one, how can I write my macro to achieve this replacement by using the command
"excecute-last-kbd-macro"?
Best regards
Mohsen Owzar
RSS Feed