GNU bug report logs - #20906
25.0.50; Pasting unicode from external applications with mouse wheel on Unix

Previous Next

Package: emacs;

Reported by: Boris Kheyfets <kheyfboris <at> gmail.com>

Date: Fri, 26 Jun 2015 21:26:02 UTC

Severity: normal

Merged with 19310

Found in version 25.0.50

Done: Andreas Schwab <schwab <at> suse.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> suse.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 20906 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, mfabian <at> redhat.com
Subject: bug#20906: 25.0.50;
Date: Thu, 08 Oct 2015 17:08:20 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Andreas Schwab <schwab <at> suse.de>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>,  20906 <at> debbugs.gnu.org, monnier <at> 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 <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




This bug report was last modified 9 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.