From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Robin Hu Newsgroups: gmane.emacs.devel Subject: Emacs failes to communicate with other X clients Date: Fri, 23 May 2003 09:19:10 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053683717 29808 80.91.224.249 (23 May 2003 09:55:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 May 2003 09:55:17 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 23 11:55:15 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 19J9Gd-0007kS-00 for ; Fri, 23 May 2003 11:55:15 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19J9SK-000061-00 for ; Fri, 23 May 2003 12:07:20 +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 19J97u-0004QV-GS for emacs-devel@quimby.gnus.org; Fri, 23 May 2003 05:46:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19J91n-0002sE-4x for emacs-devel@gnu.org; Fri, 23 May 2003 05:39:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19J8nQ-0006P1-FO for emacs-devel@gnu.org; Fri, 23 May 2003 05:25:05 -0400 Original-Received: from [210.77.38.126] (helo=ns.turbolinux.com.cn) by monty-python.gnu.org with esmtp (Exim 4.20) id 19J8hc-0004hn-3b for emacs-devel@gnu.org; Fri, 23 May 2003 05:19:04 -0400 Original-Received: from LOADLIN (gateway.cn.tlan [210.74.191.34]) (authenticated bits=0) by ns.turbolinux.com.cn (8.12.5/8.12.5) with ESMTP id h4N9NM8q007174 for ; Fri, 23 May 2003 17:23:25 +0800 Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt) 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:14120 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14120 Hi everyone: Emacs failes to communicate with other X clients, due to it's wrongly decoding compound text from others. For example, a chinese word is encoded in compound text as : "^[$(AV1^[%/2\200\210gbk-0^B\351F;y", as I have provide gbk coding system myself, emacs can decode the first two characters correctly, but it miss the last character, because it doesn't know "\351F;y" should be decoded follow "^[$(AV1". I try to correct this bug myself, but it seems quite diffcult in the exist compound-text-with-extension coding system. ;-( I'd like to know how about leaving this decoding stuff to X itself, I knew XmbText family can do this kind of thing. And can anyone point me out where is the suitable place if this change can be applied? Robin.Hu