From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Newsgroups: gmane.emacs.bugs Subject: bug#6802: 24.0.50; Yanking non-ASCII text from other X application leads to unicode escapes Date: Thu, 28 Oct 2010 14:10:31 +0200 Message-ID: <87fwvq4ix4.fsf@gmail.com> References: <87mxt1go33.fsf@doganov.org> <83wrrzvj74.fsf@gnu.org> <4C603A4F.20006@swipnet.se> <4C60EE6C.9040009@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288268007 8138 80.91.229.12 (28 Oct 2010 12:13:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2010 12:13:27 +0000 (UTC) Cc: kaloian@gnu.org, 6802@debbugs.gnu.org To: "Jan D." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 28 14: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 1PBRMB-0001tZ-R3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Oct 2010 14:13:25 +0200 Original-Received: from localhost ([127.0.0.1]:34297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBRM9-0004AR-Se for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Oct 2010 08:13:21 -0400 Original-Received: from [140.186.70.92] (port=49215 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBRLu-00046x-LO for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2010 08:13:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBRLs-0003lU-UI for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2010 08:13:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBRLs-0003lG-Si for bug-gnu-emacs@gnu.org; Thu, 28 Oct 2010 08:13:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PBRH0-0008IA-Fa; Thu, 28 Oct 2010 08:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Oct 2010 12:08: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.128826766531868 (code B ref 6802); Thu, 28 Oct 2010 12:08:02 +0000 Original-Received: (at 6802) by debbugs.gnu.org; 28 Oct 2010 12:07:45 +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 1PBRGi-0008Hx-Te for submit@debbugs.gnu.org; Thu, 28 Oct 2010 08:07:45 -0400 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBRGh-0008Hs-NR for 6802@debbugs.gnu.org; Thu, 28 Oct 2010 08:07:44 -0400 Original-Received: by fxm9 with SMTP id 9so1860575fxm.3 for <6802@debbugs.gnu.org>; Thu, 28 Oct 2010 05:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=yXERruonJzy9GHTrqsswPwkY8BJJ5blp9IE192JffNc=; b=Sk+2zC1ui7YJeYx1xlUokl2wVfySFAqcjlZ6f3PpJXC3q2L2wEqYWA6BAYaR/4cgAu ZGzBx5Jb66PJyd1R3B9IHEDNdbOHaDnHuj2TRLihufIf5iMkmb403uH/GrvOUNT1qV9I LvVlMhQjpjRcVsj8tJfHeNpEP77wfs7Q4c2EQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; b=srcGf/DuMvtxyKCmBgd68p4HcpfZLK9ngUAD3hQpgeHEAw2Q97qd3SCDf2jj9vtTms oG7xN4WSXyCB8Q+DTUd5myMtQIAtycAjTYPhQne5BtnVfrsRgQ9aVOGaiCXWyYKyN4YQ NQDAKoAzuCmR4t13V8ppj+cnTirZNLdNM6V0s= Original-Received: by 10.223.116.5 with SMTP id k5mr2126226faq.123.1288267912213; Thu, 28 Oct 2010 05:11:52 -0700 (PDT) Original-Received: from localhost (176.119.broadband10.iol.cz [90.177.119.176]) by mx.google.com with ESMTPS id m8sm435362faj.35.2010.10.28.05.11.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 28 Oct 2010 05:11:51 -0700 (PDT) In-Reply-To: <4C60EE6C.9040009@swipnet.se> (Jan D.'s message of "Tue, 10 Aug 2010 08:15:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 28 Oct 2010 08:08: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:41193 Archived-At: "Jan D." writes: > On 2010-08-10 04:29, Kenichi Handa wrote: >> In article<4C603A4F.20006@swipnet.se>, Jan Dj=C3=A4rv writes: >>> Nowdays I think the >>> default should be UTF8_STRING, and if that fails, try TEXT and then STR= ING. >> >> Why not COMPOUND_TEXT instead of TEXT above? Please see the >> docstring of x-select-request-type. > > I forgot about that. It is better to try that before TEXT. > >> >> Anyway, the current selection-related codes mix an abstract >> layer (something like interprogram-cut/paste-function) and >> X-specific layer in a chaos manner. It seems that overhaul >> and re-design is necessary. >> > > It is a bit of a mess. Separation of interprogram cut/paste and X select= ions > would be nice. > > Jan D. This is (and has been for quite a while now) a rather show-stopperish bug. Is anybody working on fixing it? (A refresher: you now get \u0ca0_\u0ca0 instead of =E0=B2=A0_=E0=B2=A0 when= pasting from another X app.) =C5=A0t=C4=9Bp=C3=A1n