emacs-devel
[Top][All Lists]
Advanced

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

Re: Selection changes in revno 100822


From: Eli Zaretskii
Subject: Re: Selection changes in revno 100822
Date: Sun, 15 Aug 2010 20:59:57 +0300

> Date: Sun, 15 Aug 2010 18:27:37 +0100
> From: David De La Harpe Golden <address@hidden>
> CC: "Stephen J. Turnbull" <address@hidden>, address@hidden, 
>  address@hidden
> 
> On 15/08/10 16:20, Eli Zaretskii wrote:
> 
> > As of yesterday, mouse-2 on Windows pastes from the clipboard (and
> > falls back on the emulated PRIMARY if the clipboard is empty).
> 
> Er... really? Did you mean paste from the emulated primary and fall back 
> to the clipboard?

No, I meant what I said:

  (let ((primary
         (cond
          ((fboundp 'x-get-selection-value) ; MS-DOS and MS-Windows
           (or (x-get-selection-value)
               (x-get-selection 'PRIMARY)))
          ;; FIXME: What about xterm-mouse-mode etc.?
          (t
           (x-get-selection 'PRIMARY)))))

Unless I'm seriously confused, x-get-selection-value accesses the
clipboard, see w32-fns.el.



reply via email to

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