Subject: Re: bug#20906: 25.0.50;

From: Eli Zaretskii <[email-masked]>
Date: Thu, 08 Oct 2015 17:58:29 +0300

> From: Andreas Schwab <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>,  [email-masked], [email-masked]
> Date: Thu, 08 Oct 2015 16:02:05 +0200
> 
> -               ;; On X, x-get-selection-value supports more formats and
> -               ;; encodings, so use it in preference to x-get-selection.
> -               (or (x-get-selection-value)
> -                   (x-get-selection 'PRIMARY)))
> -           ;; FIXME: What about xterm-mouse-mode etc.?
> -           (x-get-selection 'PRIMARY))))
> -    (unless primary
> -      (error "No selection is available"))
> +  (let ((primary (gui-get-primary-selection)))
>      (push-mark (point))
>      (insert-for-yank primary)))
>  
> 
> The comment is there for a reason...

Thanks.

So I guess gui-backend-get-selection on x-win.el should loop over the
possible request types, like x-selection-value-internal did in Emacs
24.5, is that right?