From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.devel Subject: Re: Scim can't be activated when the arg --enable-font-backend is used. Date: Thu, 7 Dec 2006 23:11:13 +0800 Message-ID: <20061207151113.GA4852@localdomain> References: <20061205105104.GA14529@localdomain> Reply-To: Hongyi Zhao NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1165525854 11716 80.91.229.10 (7 Dec 2006 21:10:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2006 21:10:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 07 22:10:53 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GsQVv-0004t8-Mt for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 22:10:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsQVv-0000nx-3W for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 16:10:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsKqP-0000no-Me for emacs-devel@gnu.org; Thu, 07 Dec 2006 10:07:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsKqK-0000lX-KK for emacs-devel@gnu.org; Thu, 07 Dec 2006 10:07:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsKqK-0000lI-Cm for emacs-devel@gnu.org; Thu, 07 Dec 2006 10:07:24 -0500 Original-Received: from [209.85.132.241] (helo=an-out-0708.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsKqJ-00026V-CX for emacs-devel@gnu.org; Thu, 07 Dec 2006 10:07:23 -0500 Original-Received: by an-out-0708.google.com with SMTP id b8so40550ana for ; Thu, 07 Dec 2006 07:07:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent; b=CYwM+LUhLzvUTJtsbFEmPH3daJW3XavvLys/dIwnVkob/go8Vu3vu+kswUNo+YJMJ8bPF7aNgVinUC1MryLlZ65WLGu6xsea4lgUAYmKvkOJirtA4GfznDMVlEHeRJV+XDaUH7/Z/6eOxRlun20eMcCZ/e+7S1nLthXW/tAJvbQ= Original-Received: by 10.100.37.4 with SMTP id k4mr2138973ank.1165504042818; Thu, 07 Dec 2006 07:07:22 -0800 (PST) Original-Received: from localhost ( [159.226.135.215]) by mx.google.com with ESMTP id c40sm1054358anc.2006.12.07.07.07.18; Thu, 07 Dec 2006 07:07:21 -0800 (PST) Original-To: Kenichi Handa Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 X-Mailman-Approved-At: Thu, 07 Dec 2006 16:08:49 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63434 Archived-At: > Please update your cvs working directory and make emacs as > this: > > % cd .../emacs > % make CFLAGS='-g -DDEBUG_XIC_FONTSET' > > With this Emacs I get this kind of debugging information: > > % LANG=zh_CN XMODIFIERS=@im=SCIM emacs-unicode --enable-font-backend > XIC Fontset failed: -*-*-medium-r-normal--21-*-*-*-*-* > missing: ISO8859-1 > missing: GB2312.1980-0 > XIC Fontset created: -*-*-medium-r-normal--20-*-*-*-*-* > > And I can activate scim by C-SPC. What is your case? After updating the Emacs from CVS, I make Emacs as this: % cd .../emacs % make CFLAGS='-g -DDEBUG_XIC_FONTSET' (The first way) % make bootstrap CFLAGS='-g -DDEBUG_XIC_FONTSET' (The second way) Then I install it by sudo make install. When I run Emacs as this: % LANG=zh_CN XMODIFIERS=@im=SCIM emacs --enable-font-backend I meet the error message: ======================================== (emacs:8090): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. XIC Fontset created: -*-*-medium-r-normal--15-*-*-*-*-* ======================================== So I run the command locale, and find this: ===================== zhaohs@ubuntu-edgy:~$ locale LANG=zh_CN.UTF-8 LANGUAGE=zh_CN:zh:en_US:en LC_CTYPE="zh_CN.UTF-8" LC_NUMERIC="zh_CN.UTF-8" LC_TIME="zh_CN.UTF-8" LC_COLLATE="zh_CN.UTF-8" LC_MONETARY="zh_CN.UTF-8" LC_MESSAGES="zh_CN.UTF-8" LC_PAPER="zh_CN.UTF-8" LC_NAME="zh_CN.UTF-8" LC_ADDRESS="zh_CN.UTF-8" LC_TELEPHONE="zh_CN.UTF-8" LC_MEASUREMENT="zh_CN.UTF-8" LC_IDENTIFICATION="zh_CN.UTF-8" LC_ALL= ===================== Then, I run Emacs as this: % LANG=zh_CN.UTF-8 XMODIFIERS=@im=SCIM emacs --enable-font-backend But this time, I meet the following error message: ================================== XIC Fontset failed: -*-*-medium-r-normal--15-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--14-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--17-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--18-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--12-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--11-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--20-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--10-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--8-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--24-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--26-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 XIC Fontset failed: -*-*-medium-r-normal--34-*-*-*-*-* missing: ISO8859-1 missing: ISO8859-1 missing: GB2312.1980-0 missing: GBK-0 missing: ISO10646-1 ================================== As the result, the SCIM can't be activated still. Furthmore, if I run Emacs as this: % emacs --enable-font-backend The error message is the same as the previous. -- Hongyi Zhao 赵弘毅 -- 《送杨氏女》 作者:韦应物 永日方戚戚,出行复悠悠。 女子今有行,大江溯轻舟。 尔辈苦无恃,抚念益慈柔。 幼为长所育,两别泣不休。 对此结中肠,义往难复留。 自小阙内训,事姑贻我忧。 赖兹托令门,任恤庶无尤。 贫俭诚所尚,资从岂待周。 孝恭遵妇道,容止顺其猷。 别离在今晨,见尔当何秋。 居闲始自遣,临感忽难收。 归来视幼女,零泪缘缨流。