From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Emacs failes to communicate with other X clients Date: Sat, 24 May 2003 20:38:51 +0300 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <7458-Sat24May2003203851+0300-eliz@elta.co.il> References: <3405-Fri23May2003202207+0300-eliz@elta.co.il> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053798133 18967 80.91.224.249 (24 May 2003 17:42:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 17:42:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 24 19:42:11 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Jd1f-0004uE-00 for ; Sat, 24 May 2003 19:41:47 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19JdE0-0001o1-00 for ; Sat, 24 May 2003 19:54:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Jd0X-0007kZ-Nu for emacs-devel@quimby.gnus.org; Sat, 24 May 2003 13:40:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Jczp-00070b-9f for emacs-devel@gnu.org; Sat, 24 May 2003 13:39:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Jcze-0006nW-HA for emacs-devel@gnu.org; Sat, 24 May 2003 13:39:43 -0400 Original-Received: from gandalf.inter.net.il ([192.114.186.22]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JcxW-00051C-1R for emacs-devel@gnu.org; Sat, 24 May 2003 13:37:30 -0400 Original-Received: from zaretsky (cable-129-169.inter.net.il [213.8.129.169]) by gandalf.inter.net.il (Mirapoint Messaging Server MOS 3.3.3-GR) with ESMTP id ARM31639; Sat, 24 May 2003 20:37:18 +0300 (IDT) Original-To: huxw@knight.6test.edu.cn X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (message from Robin Hu on Sat, 24 May 2003 11:10:06 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14202 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14202 > From: Robin Hu > Date: Sat, 24 May 2003 11:10:06 +0000 > > Eli> I'm not sure I understand correctly the situation, but IIRC, > Eli> gbk is not supported by compound-text-with-extensions. If you > Eli> want to add such a support, you need to modify the alist of > Eli> non-standard ICCCM encodings used by Emacs to match known > Eli> coding-systems to the encoding name mentioned in the X > Eli> selection encoding. See mule.el for the definitions of those > Eli> alists. > > Yeah, icccm list had been appended with GBK-0, that's why my emacs > can decode some gbk characters correctly, but problems are still > there. In the example I gived in the previous post, one embeded gbk > character will make all characters fail to be decoded. ;-( Sounds like a bug. Unfortunately, I don't know enough about gbk to guess what might be wrong, and don't have time to debug compound-text-with-extensions myself. > Why don't we just totally leave this copy/paste working to > be transparent to Emacs, to make this work just like a keyboard? Keyboard input is nowhere as transparent as you seem to think. Emacs decodes keyboard input similarly to what it does with X selections.