[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
insert translation
From: |
Sven Utcke |
Subject: |
insert translation |
Date: |
Mon, 03 Nov 2008 20:58:49 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Hi,
I would like to write a function that finds translations for the word
under the cursor and then replaces the word under the cursor by one of
the translations. I have no problem getting a buffer containing all
translations, but don't know how to proceed from there. I would like
to either click on one of the translations, or move the cursor to one
and press enter. What is the easiest way to do this, where a
translation matches (roughly) the middle part of
|\([^ |][^|]*[^ |]\) *|
TIA
Sven
--
___ _ _____ ___ Dr.-Ing. Sven Utcke ___ ___ _____ __
/ __| |/ / __| __| phone: +49 40 899-8-5317 | \| __/ __\ \ / /
| (_ | ' <\__ \__ \ fax : +49 40 899-4-5317 | |) | _|\__ \\ V /
\___|_|\_\___|___/ http://www.desy.de/~utcke (to come)|___/|___|___/ |_|
- insert translation,
Sven Utcke <=