emacs-devel
[Top][All Lists]
Advanced

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

mouse-yank-primary and bug #7699


From: Eli Zaretskii
Subject: mouse-yank-primary and bug #7699
Date: Tue, 21 Dec 2010 21:29:42 +0200

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



reply via email to

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