unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Automatic translation using emacs
@ 2004-10-11  9:50 Henrik Leion
  0 siblings, 0 replies; only message in thread
From: Henrik Leion @ 2004-10-11  9:50 UTC (permalink / raw)


Hello
I have a problem where we are re-pointing source-files from an old
filestructure with text resource files to another, where the files are
slightly changed. We want to make this transition gradually,
sourcefile-by-sourcefile but automate as much of the manual work as
possible.

I want a command/macro in emacs that searches the active buffer for
patterns that are defined in a text-file. This file should contain
pairs of strings, typically <pattern,translation>. When a match is
found it should be replaced with the translation, possibly after a
confirmation from user. The translation file should be easily extended
with new translations (preferably using another emacs command) so that
we create translation-pairs when we find them, and speed up the
translation process gradually and controlled.

Would this be hard to create? I have programmed some in LISP, but
never created an emacs macro.

Best regards,
Henrik Leion

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-11  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-11  9:50 Automatic translation using emacs Henrik Leion

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