"Stephen J. Turnbull" <stephen(a)xemacs.org> wrote:
Except that it should trash all your EURO SIGNs, no? (If not, you
may
be winning because of a default to ISO 8859-15 in your language
environment. Try under LANG=C xemacs -vanilla. If you still get
correct EURO SIGNs, I'll be very surprised.)
Your right, but pasting EURO SIGNs with the mouse also doesn't work
absolut perfect (they are displayed wrong but inserted right) without
my workaround.
Heiko> PPS: It works in the GNU Emacs too.
? I thought GNU Emacs had installed a fix to be compatible with the
XFree86 breakage. Unfortunately, I doubt the improved fix below
(which is easily generalizable to KOI8, VISCII, ISCII, and Unicode in
such segments) works in GNU Emacs. The basic string manipulation
should work (so you might prefer to add it to your library, so you can
use it in both Emacsen), but I rather doubt that GNU Emacs provides
the same hooks.
My version of GNU Emacs is the 21.2.1 - it maybe that this is a version
without the fix.
Could you try this? Works for me in light testing in 21.5.12 (but no
EURO SIGN, just the umlaute characters from your mail). If it works
for you too, I'll clean it up and add it to the latin-unity package
(with a proper installer/uninstaller, of course).
It doesn't work for me. With your code the last x-selection made
inside of the XEmacs (21.4) will be pasted in the XEmacs instead of
the real last x-selection made in a KDE console, if I try to paste
text with umlaute characters or the EURO SIGN.
The next 3 weeks, I've no chance to get the XEmacs 21.5.12. I'll send
you a note, if I've test your code in that version.
--
Dr.-Ing. Heiko Münkel
VisionConnect GmbH, Expo Plaza 3, 30539 Hannover
PGP Fingerprint: 18 EA 68 59 77 A8 30 97 EA 8C 2B 55 7C BA 8C F1