martin, please also test selecting text and cutting with C-w in one xemacs, and
pasting with C-y in another. this uses 'CLIPBOARD instead of 'PRIMARY.
Martin Buchholz wrote:
>>>>> "Ben" == Ben Wing <ben(a)666.com> writes:
Ben> Alastair, this fixes part of the bug, the not the whole bug. If
Ben> you do kill within emacs and then yank, things work fine. you
Ben> also fixed the other problem, with kill appending too much --
Ben> thanks. However, if you kill text [either using C-w or choosing
Ben> the Cut option on the menu], you cannot paste the text into
Ben> another XEmacs; you get "no selection available". A similar bug
Ben> occurs with the primary-selection interface. When you select
Ben> text in an X app, it automatically gets put on the PRIMARY
Ben> selection, and typically you can paste it into another app using
Ben> the middle mouse button. Now, you can select text in an xterm
Ben> and paste it into xemacs using the middle button; but reversing
Ben> the apps and this doesn't work. in both cases, xemacs is failing
Ben> in either successfully taking ownership of the selection or
Ben> responding to a selection request from another app. [almost
Ben> certainly the latter, the former is fairly simple and you haven't
Ben> modified that code.]
With all 3 recent selection fixes of the past few hours applied, this
works in my xemacs:
- C-k C-y within one xemacs
- mouse drag within one xemacs, mouse-2 paste into another
- mouse drag within xterm, mouse-2 paste into xemacs
But, I can confirm Ben's experience that
- mouse drag within xemacs, paste into xterm
fails.
--
Ben
In order to save my hands, I am cutting back on my mail. I also write
as succinctly as possible -- please don't be offended. If you send me
mail, you _will_ get a response, but please be patient, especially for
XEmacs-related mail. If you need an immediate response and it is not
apparent in your message, please say so. Thanks for your understanding.
See also
http://www.666.com/ben/chronic-pain/