From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Emacs failes to communicate with other X clients Date: Tue, 27 May 2003 21:26:40 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305271226.VAA15939@etlken.m17n.org> References: <3405-Fri23May2003202207+0300-eliz@elta.co.il> <7458-Sat24May2003203851+0300-eliz@elta.co.il> <200305260454.NAA13809@etlken.m17n.org> <200305260709.QAA13971@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1054038636 1966 80.91.224.249 (27 May 2003 12:30:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 May 2003 12:30:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 27 14:30:35 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 19KdaN-0000Rl-00 for ; Tue, 27 May 2003 14:29: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 19Kdo3-0000Of-00 for ; Tue, 27 May 2003 14:43:56 +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 19KdZh-000808-HF for emacs-devel@quimby.gnus.org; Tue, 27 May 2003 08:29:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19KdYt-0007FS-V1 for emacs-devel@gnu.org; Tue, 27 May 2003 08:28:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19KdYQ-0006So-1a for emacs-devel@gnu.org; Tue, 27 May 2003 08:27:46 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19KdXY-0005m9-7O for emacs-devel@gnu.org; Tue, 27 May 2003 08:26:52 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h4RCQeu12269; Tue, 27 May 2003 21:26:40 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h4RCQe922851; Tue, 27 May 2003 21:26:40 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id VAA15939; Tue, 27 May 2003 21:26:40 +0900 (JST) Original-To: huxw@knight.6test.edu.cn In-reply-to: (message from Robin Hu on Mon, 26 May 2003 08:42:23 +0000) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) Original-cc: eliz@elta.co.il 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:14311 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14311 In article , Robin Hu writes: > The first attachment is my extension for gbk > coding. The second is a sample gbk coding file, it helps > to show copy/paste problems. Hope they can be any help. Thank you. I loaded your chinese-gbk.el, evaluate this, (push '("gbk-0" . chinese-gbk) non-standard-icccm-encodings-alist) and tried your failure example as below (as I don't have an X client that sends such a data): (decode-coding-string "\e$(AV1\e%/2\200\210gbk-0\C-b\351F;y" 'compound-text-with-extensions) It retursn four characters string: 1. chinese-gb2312 (zhi2) 2. chinese-cns11643-5 (can't see because I don't have a gbk font) 3. ';' 4. 'y' If I encode that string into chinese-gbk, I get this: "\326\261\351F;y" Isn't it the correct string? --- Ken'ichi HANDA handa@m17n.org