From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#6802: 24.0.50; Yanking non-ASCII text from other X application leads to unicode escapes Date: Fri, 05 Nov 2010 20:58:07 +0900 Message-ID: References: <87mxt1go33.fsf@doganov.org> <83wrrzvj74.fsf@gnu.org> <4C603A4F.20006@swipnet.se> <4C60EE6C.9040009@swipnet.se> <87fwvq4ix4.fsf@gmail.com> <4CCCBA6F.8060900@harpegolden.net> <4CCD93DF.5030509@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288959254 17080 80.91.229.12 (5 Nov 2010 12:14:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2010 12:14:14 +0000 (UTC) Cc: 6802@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 05 13:14:09 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PELBI-0000ou-19 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Nov 2010 13:14:08 +0100 Original-Received: from localhost ([127.0.0.1]:36584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PELBE-00018f-Ps for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Nov 2010 08:14:04 -0400 Original-Received: from [140.186.70.92] (port=37678 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PELAx-000124-MF for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2010 08:13:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PELAi-0001ak-Pc for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2010 08:13:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PELAi-0001ag-Ml for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2010 08:13:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PEKrq-0004n5-A9; Fri, 05 Nov 2010 07:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Nov 2010 11:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6802-submit@debbugs.gnu.org id=B6802.128895802318409 (code B ref 6802); Fri, 05 Nov 2010 11:54:02 +0000 Original-Received: (at 6802) by debbugs.gnu.org; 5 Nov 2010 11:53:43 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PEKrX-0004ms-FQ for submit@debbugs.gnu.org; Fri, 05 Nov 2010 07:53:43 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PEKrU-0004mm-KX for 6802@debbugs.gnu.org; Fri, 05 Nov 2010 07:53:42 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id oA5Bw8eZ000875; Fri, 5 Nov 2010 20:58:08 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id oA5Bw8FU000482; Fri, 5 Nov 2010 20:58:08 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id oA5Bw7Jo028392; Fri, 5 Nov 2010 20:58:07 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1PEKvn-0003TK-9G; Fri, 05 Nov 2010 20:58:07 +0900 In-Reply-To: <4CCD93DF.5030509@swipnet.se> (message from Jan =?UTF-8?Q?Dj=C3=A4rv?= on Sun, 31 Oct 2010 17:05:51 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 05 Nov 2010 07:54:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41389 Archived-At: In article <4CCD93DF.5030509@swipnet.se>, Jan Dj=E4rv = writes: > For the purpose of fixing this bug, such an overhaul isn't needed. That's always true. > I made a=20 > simple fix that makes mouse-2 use the same mechanism as yank from clipboa= rd=20 > for X, i.e. try UTF8_STRING and COMPOUND_TEXT before STRING. Ah, thank you. It is better to update the comment in mouse-yank-primary. Anyway, we have these functions: x-get-selection x-get-selection-internal x-get-selection-value x-selection-value x-selection-value-internal What a mess... --- Kenichi Handa handa@m17n.org =20