bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#20906: 25.0.50;


From: Andreas Schwab
Subject: bug#20906: 25.0.50;
Date: Thu, 08 Oct 2015 17:08:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andreas Schwab <schwab@suse.de>
>> Cc: Eli Zaretskii <eliz@gnu.org>,  20906@debbugs.gnu.org, 
>> monnier@iro.umontreal.ca
>> 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?

gui--selection-value-internal still does that.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





reply via email to

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