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 #112 received at 20906 <at> debbugs.gnu.org (full text, mbox):

From: Mike FABIAN <mfabian <at> redhat.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: schwab <at> suse.de, 20906 <at> debbugs.gnu.org
Subject: Re: bug#20906: 25.0.50;
Date: Thu, 08 Oct 2015 15:15:31 +0200
Eli Zaretskii <eliz <at> gnu.org> さんはかきました:

> If the data we receive is different, I guess the only explanation
> could be that we request it in some different way?

Yes, in the old code

   (defun x-get-selection (&optional type data-type)

is called with “'UTF8_STRING” in data-type,
in the new code 

   (defun gui-get-selection (&optional type data-type)

is called with “nil” in data type.

That seems to make the difference, evaluating

    (gui-get-selection 'PRIMARY 'UTF8_STRING)

gets the selection correctly using the new code,  

    (gui-get-selection 'PRIMARY)

produces the problem I am seeing. 

I still now know why this is called differently, looking ...

-- 
Mike FABIAN <mfabian <at> redhat.com>
睡眠不足はいい仕事の敵だ。




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

Previous Next


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