From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.bugs Subject: bug#6720: battle with x-clipboard vs. Chinese Date: Sun, 25 Jul 2010 09:08:58 +0800 Message-ID: <87lj904bbp.fsf_-_@jidanni.org> References: <4C4B3A17.2070007@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280021865 27153 80.91.229.12 (25 Jul 2010 01:37:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Jul 2010 01:37:45 +0000 (UTC) Cc: 6720@debbugs.gnu.org, 6635@debbugs.gnu.org To: david@harpegolden.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 25 03:37:44 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 1Ocq9v-00015y-C8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jul 2010 03:37:43 +0200 Original-Received: from localhost ([127.0.0.1]:35998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ocq9u-00029N-Lb for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jul 2010 21:37:42 -0400 Original-Received: from [140.186.70.92] (port=46070 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ocq9l-00028T-Lg for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 21:37:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ocq9j-0003ia-RM for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 21:37:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32917) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocq9j-0003iV-M9 for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 21:37:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcpjA-00031M-2i; Sat, 24 Jul 2010 21:10:04 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87y6d0kcj2.fsf@jidanni.org> Resent-From: jidanni@jidanni.org Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jul 2010 01:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6720 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6720-submit@debbugs.gnu.org id=B6720.128002014511592 (code B ref 6720); Sun, 25 Jul 2010 01:10:04 +0000 Original-Received: (at 6720) by debbugs.gnu.org; 25 Jul 2010 01:09:05 +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 1OcpiB-00030v-MJ for submit@debbugs.gnu.org; Sat, 24 Jul 2010 21:09:04 -0400 Original-Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a1.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocpi8-00030Q-Ie; Sat, 24 Jul 2010 21:09:01 -0400 Original-Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 3920734806C; Sat, 24 Jul 2010 18:09:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=D94qPWHqxGLA8yfdLvZdDLWoQypyhtAAHQ/ckmn1KcshQ3NXv OAw99iyKnDckOzpTKZXKw4dG0KlJ1P1FUCAlvSG4pPE/uL1NAencoR5q/wfumpHU c1ERWc3frF0f4a3L0/V3njfmjRt6jyNzSRU40Ogzyv0M/YR+3RkxF/ASwU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=UgEX6UPB+Fu3VKinJ/ZQp/v34+0=; b=oLetOR/ya/7A/ So6XhT6cG6wv8/oE/1QlKnhVlHtgETIKlj5Hhc0e/D2m8i2KoGxPM7uM9GRS/qkK Z5Uw9LIKSuLl84V6AmQfdyWxQHpFaflMCsYYNOXhmTy3ujp0ZHNXukfWNET8aN9x ZgrCpWZfApmdEs1LDkaqoqKzyMngy0= Original-Received: from jidanni.org (218-163-2-116.dynamic.hinet.net [218.163.2.116]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPSA id 8F9B834806B; Sat, 24 Jul 2010 18:09:00 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 24 Jul 2010 21:10:04 -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:38891 Archived-At: >>>>> "DDLHG" == David De La Harpe Golden writes: DDLHG> On 24/07/10 18:36, jidanni@jidanni.org wrote: >> I just updated to >> emacs-snapshot: >> Installed: 1:20100724-1 >> and am having to battle getting Chinese in correctly from the X >> clipboard. >> It is turning into ###, ???, \u{5432}, etc. etc. >> DDLHG> Do you see this when using middle mouse button or C-y or both? All I know is starting with $ apt-cache policy emacs-snapshot emacs-snapshot: Installed: 1:20100724-1 Candidate: 1:20100724-1 Version table: *** 1:20100724-1 0 500 http://emacs.orebokech.com sid/main Packages 100 /var/lib/dpkg/status I am having two kinds of pain: 1. Having to write things into /tmp/files to be able to read them into emacs correctly as xclip now can't if I want Chinese intact. I try every button and end up having to resort to /tmp. 2. Even more disconnection between C-y, Shift-insert, the middle mouse button, between emacs and the outside world. I wish I could make them all connected. DDLHG> This sounds like it might be bug #6635, an encoding handling problem DDLHG> in mouse-yank-primary, which could affect people more due to recent DDLHG> changes: DDLHG> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6635