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: Fri, 8 Dec 2006 10:58:58 +0800 Message-ID: <20061208025858.GA5541@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 1165546535 10952 80.91.229.10 (8 Dec 2006 02:55:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2006 02:55:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 08 03:55:34 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 1GsVtX-0003RJ-9T for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2006 03:55:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsVtW-0008Or-VG for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 21:55:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsVtJ-0008OU-KK for emacs-devel@gnu.org; Thu, 07 Dec 2006 21:55:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsVtH-0008Mr-GQ for emacs-devel@gnu.org; Thu, 07 Dec 2006 21:55:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsVtH-0008Ml-DK for emacs-devel@gnu.org; Thu, 07 Dec 2006 21:55:11 -0500 Original-Received: from [64.233.166.179] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsVtH-0001OM-5u for emacs-devel@gnu.org; Thu, 07 Dec 2006 21:55:11 -0500 Original-Received: by py-out-1112.google.com with SMTP id u77so341201pyb for ; Thu, 07 Dec 2006 18:55:10 -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=NaaXRjCVMYKGltQ71FF/yIRcxrbsJOe7OgkO5c9s99J31rwaoQq2RurZfmijzT2Rd01dTyWh/XQZ5ybb/TvaNllIVFwoPh2NyBgR2/SEX9c5Y7jtIPMJUpJmV07OsVF8yS+zG5urBzI8eFksb9evJYRvODsKZQxH17IdmstUE6k= Original-Received: by 10.35.27.1 with SMTP id e1mr4803157pyj.1165546510197; Thu, 07 Dec 2006 18:55:10 -0800 (PST) Original-Received: from localhost ( [159.226.135.215]) by mx.google.com with ESMTP id f45sm1708546pyh.2006.12.07.18.55.04; Thu, 07 Dec 2006 18:55:09 -0800 (PST) Original-To: Kenichi Handa Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 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:63443 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 赵弘毅 -- 题目:《惠崇春江晚景》 作者:苏轼(1036-1101) 竹外桃花三两枝,春江水暖鸭先知。 萎蒿满地芦芽短,正是河豚欲上时。