At 06:03 PM 6/4/99 -0400, Dmitry Yaitskov wrote:
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.
I fly to San Fransico in 4 hours so don't have time right now. The change
is possibly intentional as the windows select behaviour should now mimic
the X behaviour. This is not necessarily completely what you want but is a
lot better than what we had before.
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd