From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike FABIAN Newsgroups: gmane.emacs.bugs Subject: bug#20906: 25.0.50; Date: Thu, 08 Oct 2015 15:25:59 +0200 Organization: Red Hat Message-ID: References: <83zj002gt1.fsf@gnu.org> <8337xp25v7.fsf@gnu.org> <83y4fhztdz.fsf@gnu.org> <83mvvxzjz4.fsf@gnu.org> <83k2r1zgrm.fsf@gnu.org> <83egh9zeeh.fsf@gnu.org> <83612lz1ll.fsf@gnu.org> <83612kx8n5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1444310984 21033 80.91.229.3 (8 Oct 2015 13:29:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Oct 2015 13:29:44 +0000 (UTC) Cc: schwab@suse.de, 20906@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 08 15:29:35 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from eggs.gnu.org ([208.118.235.92]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZkBGI-0004bP-9i for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Oct 2015 15:29:34 +0200 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkBFC-0001pe-AZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Oct 2015 09:29:32 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkBFB-0001mY-JE for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Oct 2015 09:28:25 -0400 Original-Received: from localhost ([::1]:34729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkBFB-000093-CX for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Oct 2015 09:28:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkBF4-0008W2-GT for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2015 09:28:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkBDr-0000ob-Nu for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2015 09:28:18 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkBDr-0000oX-JS for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2015 09:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZkBDr-0005wL-2Q for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2015 09:27:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mike FABIAN Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Oct 2015 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20906 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20906-submit@debbugs.gnu.org id=B20906.144431076922771 (code B ref 20906); Thu, 08 Oct 2015 13:27:02 +0000 Original-Received: (at 20906) by debbugs.gnu.org; 8 Oct 2015 13:26:09 +0000 Original-Received: from localhost ([127.0.0.1]:59959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkBCy-0005vC-6W for submit@debbugs.gnu.org; Thu, 08 Oct 2015 09:26:08 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:50520) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkBCt-0005v1-Dm for 20906@debbugs.gnu.org; Thu, 08 Oct 2015 09:26:04 -0400 Original-Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 674B08A344; Thu, 8 Oct 2015 13:26:02 +0000 (UTC) Original-Received: from ari.site (ovpn-116-29.ams2.redhat.com [10.36.116.29]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t98DQ0pl032262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 8 Oct 2015 09:26:01 -0400 Original-Received: from ari.site (localhost [IPv6:::1]) by ari.site (Postfix) with ESMTP id 0923260D1D; Thu, 8 Oct 2015 15:26:00 +0200 (CEST) X-Face: "'; oPz9V1+<,`}1ZuxRv~EiSusWq*{Yjr"Sdvbhq'?q=2R\\6Y9O/,SAE`{J|6I=|w/sQg< rW_N'E3IV6~f8?\l#Es`]S`mv',PY(`8{$$R?+gLu}Qv/Mn>)?uladFjJ@yl!_p_Jh; 5QxlD6zL:?r IXe4FfK$C^mWhh$o`yt; .r.FLZLQOWBt> (Mike FABIAN's message of "Thu, 08 Oct 2015 15:15:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 Xref: news.gmane.org gmane.emacs.bugs:107439 Archived-At: Mike FABIAN さんはかきました: > Eli Zaretskii さんはかきました: > >> 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 ... New edebug backtrace: gui-get-selection(PRIMARY) gui-get-primary-selection() mouse-yank-primary((mouse-2 (# 657 (345 . 219) 916195932 nil 657 (43 . 14) nil (345 . 3) (8 . 15)))) funcall-interactively(mouse-yank-primary (mouse-2 (# 657 (345 . 219) 916195932 nil 657 (43 . 14) nil (345 . 3) (8 . 15)))) call-interactively(mouse-yank-primary nil nil) command-execute(mouse-yank-primary) Old edebug backtrace: x-get-selection(PRIMARY UTF8_STRING) byte-code("\303 @\"\303\207" [type request-type text x-get-selection] 3) x-selection-value-internal(PRIMARY) x-get-selection-value() mouse-yank-primary((mouse-2 (# 192 (460 . 305) 916425597 nil 192 (57 . 4) nil (460 . 245) (8 . 15)))) funcall-interactively(mouse-yank-primary (mouse-2 (# 192 (460 . 305) 916425597 nil 192 (57 . 4) nil (460 . 245) (8 . 15)))) call-interactively(mouse-yank-primary nil nil) command-execute(mouse-yank-primary) -- Mike FABIAN 睡眠不足はいい仕事の敵だ。