Right. Here's (I hope) a fix for the other problem that
Ben reported (i.e. selection requests *from* XEmacs not
working). Again, I can't make it work on X, so I can't
test this - though I've run through the new code paths
on Win32 and it seems OK. There is one thing I *don't* like
about it, but I don't really have time to do it properly -
I'll send in more patches after the beta's released - and
that's the fact that it calls select-convert-out from
within get-selection-internal when it needs to coerce. I
don't like this, and I think I'll add select-coerce, an
associated alist and a load more Lisp functions.
Regards,
Alastair.
lisp/ChangeLog:
2000-07-18 Alastair J. Houghton <ajhoughton(a)lineone.net>
* select.el (selection-coercible-types): Initialise.
src/ChangeLog:
2000-07-18 Alastair J. Houghton <ajhoughton(a)lineone.net>
* select.c (selection-coercible-types): New.
* select.c (own-selection-internal):
* select.c (get-selection-internal):
MULE bug fix - these should default to COMPOUND_TEXT and not
STRING for MULE. I think.
* select.c (select_convert_out): Use selection-coercible-types
to find types that we can attempt to perform coercions on.
____________________________________________________________
Alastair Houghton ajhoughton(a)lineone.net
Show replies by date