From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: mouse-yank-primary and bug #7699
Date: Tue, 21 Dec 2010 21:29:42 +0200 [thread overview]
Message-ID: <837hf2gc0p.fsf@gnu.org> (raw)
I have a question for experts on X selections.
I think I can fix bug#7699 if I switch the order of calling
x-get-selection-value and x-get-selection in this snippet from
mouse-yank-primary:
(let ((primary
(cond
((fboundp 'x-get-selection-value) ; MS-DOS, MS-Windows and X.
(or (x-get-selection-value)
(x-get-selection 'PRIMARY)))
My question is: could switching the order do the wrong thing on X? I
looked into x-get-selection-value and x-get-selection as they are
implemented on X, and they seem to do very similar things, but I don't
know enough to understand the semantics of the subtle differences.
If switching the order is not TRT on X, I could do that only for w32.
TIA
next reply other threads:[~2010-12-21 19:29 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 19:29 Eli Zaretskii [this message]
2010-12-22 1:05 ` mouse-yank-primary and bug #7699 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
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=837hf2gc0p.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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).