Thorsten,

Thanks for your response--sorry I haven't responded any sooner.  

On Thursday 03 January 2008 08:12 am, Thorsten Haude wrote:
> * Randy Kramer wrote (2007-11-30 11:56):
> >A remaining somewhat odd thing about X selections is that exiting the app 
you 
> >did a cut/copy from removes the cut/copied data from the clipboard, since 
the 
> >selection protocol is asynchronous and requires the source app to provide 
the 
> >data at paste time. The solution here would be a standardized protocol for 
a 
> >"clipboard daemon" so that apps could hand off their data to a daemon when 
> >they exit. Or alternatively, you can run an application such as xclipboard 
> >which constantly "harvests" clipboard selections.

For the record, the above quote attributed to me is actually from the website 
that I attributed in the original email:

http://freedesktop.org/wiki/Specifications/ClipboardsWiki

Now that I look at this again, and see the part about xclipboard continually 
(constantly) harvesting clipboard selections, I wonder if klipper does the 
same (it seems like it would have to) and if some of the hanging I experience 
is because of that.  Like you suggest in the next reply, I should try 
xclipboard and see if I have the same problems.  It may be a while before I 
do that--real life is intruding.

Randy Kramer



> This would not be a "solution", as it would almost certainly remove
> functionality. Call it an alternative, if you want.
> 
> Using classical X11 methods, two apps can discuss the format in which
> the information should be transmitted. For example, if I would select 
> a picture in Firefox and would paste it into Gimp, I would get a JPEG
> (or PNG or whatever); in NEdit, only the alt tag would be pasted.
> 
> If I would select a piece of text in Firefox and would paste it into
> NEdit, NEdit might even pop up a dialog asking the user whether he
> wants to paste the text or the matching segment of HTML source.
> 
> 
> The work behind this is done by the applications. A clipboard dæmon
> would have to know every format possible, and keep them all in memory.
> 
> 
> See http://tronche.com/gui/x/icccm/sec-2.html#s-2.6.2
> 
> 
> Thorsten
> -- 
> Necessity is the plea for every infringement of human freedom.
> It is the argument of tyrants; it is the creed of slaves.
>     - William Pitt
> 
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to