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: TUTORIAL.bg and windows-1251 Date: Mon, 5 Jan 2004 13:20:34 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200401050420.NAA00020@etlken.m17n.org> References: <3FB52552.6090302@fmi.uni-sofia.bg> <200311170721.QAA11735@etlken.m17n.org> <3FBA3F81.4010602@fmi.uni-sofia.bg> <200311242355.IAA24563@etlken.m17n.org> <3FC45367.6070504@fmi.uni-sofia.bg> <200311260747.QAA27236@etlken.m17n.org> <3FC464C2.7010504@fmi.uni-sofia.bg> <200311261317.WAA27673@etlken.m17n.org> <200312030834.RAA03004@etlken.m17n.org> <3FCF60C9.8060009@fmi.uni-sofia.bg> <200312042328.IAA06933@etlken.m17n.org> <3FF2E5DF.4090906@fmi.uni-sofia.bg> <216-Wed31Dec2003175412+0200-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1073276630 2633 80.91.224.253 (5 Jan 2004 04:23:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2004 04:23:50 +0000 (UTC) Cc: ogi@fmi.uni-sofia.bg, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jan 05 05:23:46 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdMHK-00009x-00 for ; Mon, 05 Jan 2004 05:23:46 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdMHK-0001uU-00 for ; Mon, 05 Jan 2004 05:23:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdNDN-0000Qb-Ti for emacs-devel@quimby.gnus.org; Mon, 05 Jan 2004 00:23:45 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AdNCw-00006r-Oi for emacs-devel@gnu.org; Mon, 05 Jan 2004 00:23:18 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AdNBp-0006o2-86 for emacs-devel@gnu.org; Mon, 05 Jan 2004 00:22:41 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdNBo-0006lW-9H for emacs-devel@gnu.org; Mon, 05 Jan 2004 00:22:08 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/3.7W-20010518204228) with ESMTP id i054KZh29698; Mon, 5 Jan 2004 13:20:35 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6/3.7W-20010823150639) with ESMTP id i054KYs03267; Mon, 5 Jan 2004 13:20:34 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id NAA00020; Mon, 5 Jan 2004 13:20:34 +0900 (JST) Original-To: eliz@elta.co.il In-reply-to: <216-Wed31Dec2003175412+0200-eliz@elta.co.il> User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19009 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19009 In article <216-Wed31Dec2003175412+0200-eliz@elta.co.il>, "Eli Zaretskii" writes: >> Do I understand it right that somehow all rendering of text to X is >> done via the "special" compound text (ctext) coding system [...]? > I don't think so. See xfns.c:x_encode_text for the gory details. Now x_encode_text is not used for selection. I installed a code to do conversion on selection in Lisp a while ago. x-select-convert-to-string in select.el and x-cut-buffer-or-selection-value in term/x-win.el are the relevant functions. x_encode_text is currently used only for setting frame title and icon title. --- Ken'ichi HANDA handa@m17n.org