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


Message #121 received at 20906 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 20906 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, mfabian <at> redhat.com
Subject: Re: bug#20906: 25.0.50;
Date: Thu, 08 Oct 2015 17:58:29 +0300
> 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?




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.