[Top][All Lists]

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

Re: x-selection-exists-p vs x-get-selection

From: Eli Zaretskii
Subject: Re: x-selection-exists-p vs x-get-selection
Date: Sun, 04 May 2008 21:33:16 +0300

> Date: Sun, 04 May 2008 15:34:22 +0900
> From: YAMAMOTO Mitsuharu <address@hidden>
> Cc: Drew Adams <address@hidden>,
>       address@hidden
> FWIW, macselect.c for the Mac Carbon port is trying to simulate the
> semantics on X11 by reusing the most of the code in xselect.c.  On
> Mac, there are multiple interapplication storages called "scrap"s, and
> the clipboard is actually a particular scrap named
> "com.apple.scrap.clipboard".  The selection such as PRIMARY or
> SECONDARY may or may not be associated with a scrap.

AFAIK, this cannot be done on Windows, since there's only one such
storage buffer, called the clipboard.  Each time you cop or cut text
from some application, the clipboard contents gets automatically
overwritten with the new material.  And there's no meaning to
``owner'' of the clipboard contents, since the stuff is already in the
clipboard and is ``owned'' by the GUI subsystem of the OS.

reply via email to

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