-----Original Message-----
From: Yoshiki Hayashi [mailto:yoshikiï¼ xemacs.org]
Sent: 31 July 2000 10:37
To: xemacs-patches(a)xemacs.org; Alastair J. Houghton
Subject: Copy & paste without zmacs-regions
xemacs -vanilla
(setq zmacs-regions nil)
Copy & paste using mouse.
Wrong type argument: char-or-string-p, (#<marker at 1 in
*scratch* 0x8489e14> . #<marker at 197 in *scratch*
0x8489e2c>) nil
It looks like Fget_selection only calls select-convert-out
when it finds selection in selection_coercible_types.
Last NILP check is redundant because when vals is nil,
return value is nil.
2000-07-31 Yoshiki Hayashi <yoshiki(a)xemacs.org>
* select.c (Fget_selection_internal): Always call
select-convert-out.
I'm not sure about this change. I *think* it's probably
doing almost the right thing, but can we hold off applying
it whilst I have a think about it. My initial thoughts are
that the extra call to select-coerce (which is going to
replace this particular use of select-convert-out, by the
way) should be immediately after the call to
get_local_selection, because we shouldn't be trying to
perform internal coercion on values from other apps.
I've got a bit bored of the binary decoding stuff (it's
quite complicated) and so I may well take a break from that
and return to adding the select-coerce-* functionality.
Kind regards,
Alastair.
____________________________________________________________
Alastair Houghton ajhoughton(a)lineone.net