all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: drew.adams@oracle.com,
	YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>,
	emacs-devel@gnu.org
Subject: Re: x-selection-exists-p  vs  x-get-selection
Date: Sun, 04 May 2008 21:43:03 +0100	[thread overview]
Message-ID: <481E1FD7.1040208@gnu.org> (raw)
In-Reply-To: <uabj5x6kz.fsf@gnu.org>

Eli Zaretskii wrote:
> 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.
>   

There are two ways to use the clipboard in Windows. One is to put stuff 
on the clipboard, handing over ownership to Windows. The other is to 
claim ownership of the clipboard, and if and when another program wants 
to paste, you get a message requesting to render the contents to the 
clipboard. Emacs was changed to use the latter method some time ago, as 
it is much more efficient for cases where the clipboard data is only 
ever used inside Emacs.

Also, I think we support primary and secondary selection within Emacs 
even on Windows, but there is no standard way to support this between 
programs (though Cygwin X probably has a convention we could follow if 
someone feels this is important enough to work on).






  reply	other threads:[~2008-05-04 20:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-03 22:54 x-selection-exists-p vs x-get-selection Drew Adams
2008-05-04  4:02 ` Eli Zaretskii
2008-05-04  6:34   ` YAMAMOTO Mitsuharu
2008-05-04 18:33     ` Eli Zaretskii
2008-05-04 20:43       ` Jason Rumney [this message]
2008-05-04 23:23         ` Drew Adams
2008-05-05  0:59       ` YAMAMOTO Mitsuharu
2008-05-04  8:33   ` Drew Adams
2008-05-04 18:29     ` Eli Zaretskii
2008-05-04 23:30       ` Drew Adams
2008-05-05  3:10         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=481E1FD7.1040208@gnu.org \
    --to=jasonr@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.