Dmitry Yaitskov <dimas(a)home.com> wrote:
Hi,
I've noticed that the behaviour of yank-clipboard-selection has
changed in b15 as opposed to b14 - now, if the function is invoked
while there is a selection active, *it* is yanked instead of the
clipboard contents. IMHO this is a bug, although I'm not sure - the
doc string is ambiguous, as it says:
"Insert the current Clipboard selection at point."
It is unclear what is meant by "Clipboard selection". Can somebody
please enlighten me - is it a bug or a feature? (in any case, it is
probably something that only matters under NT, as under X AFAIK the
selection *is* the "clipboard")... thanks.
Sorry for followup to my own post. Seems like the bug is in the
mswindows-get-clipboard function, which if I'm not mistaken copies the
current selection into the clipboard if there is one - and it
shouldn't do it. I can't be too sure as the problem seems to lie in
the select-msw.c file, and I do not understand the code there. In
particular, there is a new (in b15) function mswindows_own_selection
which obviously is invoked by something, but I couldn't find any
reference to it in any other sources... Can somebody who knows that
code (Andy Piper?) please take a look at it? Thanks.
--
Cheers,
-Dima.