emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selection changes in revno 100822


From: Jan Djärv
Subject: Re: Selection changes in revno 100822
Date: Mon, 16 Aug 2010 13:38:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

2010-08-16 13:27, David Kastrup skrev:

I seem to remember that the clipboard, as opposed to the selection,
required actively transmitting the content at the time of selection.
Since most selections are not going to be pasted (in particular all
temporary selections during something like shift-selection), that is a
performance issue, particularly on non-local X displays.

The selection, in contrast, needs transmission to the X server only if
it is being pasted.


This is only an issue if you run a clipboard hoarding program like klipper that tries to copy clipboard as soon as a program changes it.

I may be wrong, but I think there is definitely some performance issue
involved with the defaults.


The default (i.e. no klipper) don't really care what the selections are called. They are all treated the same by the X server. You can create your own selections and they will be treated just as PRIMARY/CLIPBOARD/SECONDARY by the X server. The drag and drop protocl Xdnd has its own selection for example.

        Jan D.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]