From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20906: 25.0.50; Date: Tue, 06 Oct 2015 19:29:50 +0300 Message-ID: <83612kx8n5.fsf@gnu.org> 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> Reply-To: Eli Zaretskii 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 1444150784 31923 80.91.229.3 (6 Oct 2015 16:59:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Oct 2015 16:59:44 +0000 (UTC) Cc: schwab@suse.de, 20906@debbugs.gnu.org To: Mike FABIAN Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 06 18:59:32 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 1ZjVaN-0003DI-11 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Oct 2015 18:59:31 +0200 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjVCc-0003Fk-Nn for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Oct 2015 12:35:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjVCc-0003Ew-J0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Oct 2015 12:34:58 -0400 Original-Received: from localhost ([::1]:52583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjVCc-0002ap-HP for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Oct 2015 12:34:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjV8s-0002G3-JT for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 12:31:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjV8p-0001F9-55 for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 12:31:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjV8p-0001F3-2V for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 12:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZjV8o-0002F2-Go for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2015 12:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Oct 2015 16:31: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.14441490188566 (code B ref 20906); Tue, 06 Oct 2015 16:31:02 +0000 Original-Received: (at 20906) by debbugs.gnu.org; 6 Oct 2015 16:30:18 +0000 Original-Received: from localhost ([127.0.0.1]:57301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjV85-0002E5-Fj for submit@debbugs.gnu.org; Tue, 06 Oct 2015 12:30:17 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:41394) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjV82-0002Dw-PM for 20906@debbugs.gnu.org; Tue, 06 Oct 2015 12:30:15 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NVT0010049ZYO00@a-mtaout21.012.net.il> for 20906@debbugs.gnu.org; Tue, 06 Oct 2015 19:29:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVT001I24HOVLB0@a-mtaout21.012.net.il>; Tue, 06 Oct 2015 19:29:48 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:107381 Archived-At: > From: Mike FABIAN > Cc: schwab@suse.de, 20906@debbugs.gnu.org > Date: Tue, 06 Oct 2015 08:30:11 +0200 > > Eli Zaretskii さんはかきました: > > >> From: Mike FABIAN > >> Cc: Andreas Schwab , 20906@debbugs.gnu.org > >> Date: Mon, 05 Oct 2015 17:08:30 +0200 > >> > >> With tracing turned on, I see something like this: > >> > >> Breakpoint 1, x_get_window_property_as_lisp_data (dpyinfo=0x16d9070, > >> window=119537791, property=602, target_type=8256, selection_atom=1) > >> at xselect.c:1469 > >> Continuing. > >> 9577: Reading selection data > >> 9577: Read 18 bytes from property _EMACS_TMP_ > >> 9577: Delete property _EMACS_TMP_ > > > > Thanks. Do you see the same in v24.5? > > In v24.5 I see at the same point, i.e. when breaking > at x_get_window_property_as_lisp_data and then > single stepping until after x_get_window_property: > > (gdb) n > 23750: Reading selection data > 23750: Read 6 bytes from property _EMACS_TMP_ > (gdb) p data > $1 = (unsigned char *) 0x145c300 "終了" > (gdb) p property > $2 = 602 > (gdb) c > Continuing. > 23750: Delete property _EMACS_TMP_ > > Here the Japanese text I pasted ("終了") appears just like that > in gdb (running in a terminal in UTF-8 mode, i.e. this is > UTF-8 encoded text). If the data we receive is different, I guess the only explanation could be that we request it in some different way?