"Stephen J. Turnbull" <stephen(a)xemacs.org> wrote:
Sounds to me like get-clipboard is broken, then, in the sense that
what we need it to do here doesn't conform to the definition of
interprogram-paste-function.
Yup; this patch works for me on X11, and simply adding
(setq interprogram-paste-function 'get-clipboard)
to the init file reverts to old broken-on-X11 behavior in case this
doesn't quite do it for you somehow. Please let me know if you have
problems, but this is good enough for 21.4.8.
[patch snipped]
The current CVS HEAD version of select.el (1.11), seems to have had some but
not all of that patch applied to it. Particularly it is missing the
definition of 'get-selection-foreign, so yank always fails with the
following backtrace:
Signaling: (void-function get-selection-foreign)
get-selection-foreign(CLIPBOARD)
get-clipboard-foreign()
current-kill(0)
yank(nil)
call-interactively(yank)
Also the patch to 'yank-clipboard-selection seems to not have been applied
in full.
Am I missing something? (as there was some discussion about a delay to this
being applied to 21.5) or has there been some finger trouble?
Thanks for any enlightenment whatever the resolution.
// Conrad