From: David De La Harpe Golden <david@harpegolden.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: jan.h.d@swipnet.se, emacs-devel@gnu.org
Subject: Re: mouse-yank-primary and bug #7699
Date: Wed, 22 Dec 2010 22:10:25 +0000 [thread overview]
Message-ID: <4D127751.7070501@harpegolden.net> (raw)
In-Reply-To: <8339ppfwhi.fsf@gnu.org>
On 22/12/10 19:17, Eli Zaretskii wrote:
> Thanks. I know all that. My question was about this pair of calls on
> X, not about Windows.
>
And hasn't that now been answered?
for x11:
sv = x11 x-get-selection-value
gs = x11 x-get-selection
sv alone : ok
gs alone: bad, though [1]
sv then gs: okayish but pointless: gets to gs but gs will fail [2]
gs then sv: bad, though [1]
[1] if you were to add a 'TEXT to the gs call, gs would get unicode as
'TEXT is a pseudo data type that tries several. However it would not
respect x-select-request-type like sv does, which would still be
arguably bad, though less so than just getting a 'STRING would be.
[2] except very rare races? thinking of a selection getting defined
between the two calls in emacs, if context switched away after the first...
next prev parent reply other threads:[~2010-12-22 22:10 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 19:29 mouse-yank-primary and bug #7699 Eli Zaretskii
2010-12-22 1:05 ` David De La Harpe Golden
2010-12-22 1:38 ` Drew Adams
2010-12-22 3:16 ` David De La Harpe Golden
2010-12-22 4:18 ` Drew Adams
2010-12-22 11:13 ` Eli Zaretskii
2010-12-22 15:11 ` Drew Adams
2010-12-22 19:04 ` Eli Zaretskii
2010-12-22 19:09 ` Drew Adams
2010-12-22 11:09 ` Eli Zaretskii
2010-12-22 15:16 ` David De La Harpe Golden
2010-12-22 15:38 ` David De La Harpe Golden
2010-12-22 19:23 ` Eli Zaretskii
2010-12-22 21:37 ` David De La Harpe Golden
2010-12-23 4:01 ` Eli Zaretskii
2010-12-22 19:17 ` Eli Zaretskii
2010-12-22 22:10 ` David De La Harpe Golden [this message]
2010-12-23 4:03 ` Eli Zaretskii
2010-12-23 7:32 ` Jan D.
2010-12-23 9:08 ` Eli Zaretskii
2010-12-23 14:28 ` Stefan Monnier
2010-12-23 16:38 ` David De La Harpe Golden
2010-12-22 6:47 ` Jan Djärv
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D127751.7070501@harpegolden.net \
--to=david@harpegolden.net \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jan.h.d@swipnet.se \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).