From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#6802: 24.0.50; Yanking non-ASCII text from other X application leads to unicode escapes Date: Sun, 31 Oct 2010 17:05:51 +0100 Message-ID: <4CCD93DF.5030509@swipnet.se> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288541609 29612 80.91.229.12 (31 Oct 2010 16:13:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2010 16:13:29 +0000 (UTC) Cc: 6802-done@debbugs.gnu.org To: David De La Harpe Golden Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 31 17:13:25 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 1PCaX6-0003SV-NW for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Oct 2010 17:13:25 +0100 Original-Received: from localhost ([127.0.0.1]:33930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCaX5-00084f-Sh for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Oct 2010 12:13:23 -0400 Original-Received: from [140.186.70.92] (port=39872 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCaWz-00083J-2N for bug-gnu-emacs@gnu.org; Sun, 31 Oct 2010 12:13:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCaWx-0003R0-Sh for bug-gnu-emacs@gnu.org; Sun, 31 Oct 2010 12:13:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCaWx-0003Qr-R5 for bug-gnu-emacs@gnu.org; Sun, 31 Oct 2010 12:13:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PCaM6-00024e-0r for bug-gnu-emacs@gnu.org; Sun, 31 Oct 2010 12:02:02 -0400 Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Oct 2010 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 6802@debbugs.gnu.org, jan.h.d@swipnet.se Original-Received: via spool by 6802-done@debbugs.gnu.org id=D6802.12885408997963 (code D ref 6802); Sun, 31 Oct 2010 16:02:01 +0000 Original-Received: (at 6802-done) by debbugs.gnu.org; 31 Oct 2010 16:01:39 +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 1PCaLi-00024O-RG for submit@debbugs.gnu.org; Sun, 31 Oct 2010 12:01:39 -0400 Original-Received: from smtprelay-h21.telenor.se ([195.54.99.196]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PCaLg-00024H-3K for 6802-done@debbugs.gnu.org; Sun, 31 Oct 2010 12:01:36 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id BADD1E9021 for <6802-done@debbugs.gnu.org>; Sun, 31 Oct 2010 17:05:52 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQ8ABQwzUxV4S1kPGdsb2JhbACDCYRRmW4MAQEBATUtqT6RBIEigy9zBI1c X-IronPort-AV: E=Sophos;i="4.58,268,1286143200"; d="scan'208";a="146150631" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb1.telenor.se with ESMTP; 31 Oct 2010 17:05:52 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id B3DDD7FA05A; Sun, 31 Oct 2010 17:05:51 +0100 (CET) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: <4CCCBA6F.8060900@harpegolden.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 31 Oct 2010 12:02: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:41308 Archived-At: 2010-10-31 02:38, David De La Harpe Golden skrev: > On 29/10/10 03:18, Kenichi Handa wrote: >> I wrote: >> >>> It seems that overhaul and re-design is necessary. >> >> but I don't have a time to work on it at the moment. Any >> volunteer? > > (I suppose I have some familiarity with the general area at this stage, but my > emacs time is currently rather limited too, until late december. I'm quite > likely to make some suggestion then ...at least if problems remain - from > thread "Re: moving x-select*" on emacs-devel a few days ago it looks like > there is some amount of source cleanup/refactoring ongoing.) For the purpose of fixing this bug, such an overhaul isn't needed. I made a simple fix that makes mouse-2 use the same mechanism as yank from clipboard for X, i.e. try UTF8_STRING and COMPOUND_TEXT before STRING. Jan D.