From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: zrr Newsgroups: gmane.emacs.devel Subject: Re: [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale Date: Tue, 05 Oct 2004 00:52:41 +0800 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200410041212.VAA10765@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096911005 10490 80.91.229.6 (4 Oct 2004 17:30:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Oct 2004 17:30:05 +0000 (UTC) Cc: beijing_2008_gold@yahoo.com.cn, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 04 19:29:50 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CEWej-0003r6-00 for ; Mon, 04 Oct 2004 19:29:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEWlK-0005LJ-MK for ged-emacs-devel@m.gmane.org; Mon, 04 Oct 2004 13:36:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CEWkt-00052a-U0 for emacs-devel@gnu.org; Mon, 04 Oct 2004 13:36:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CEWks-00051s-UC for emacs-devel@gnu.org; Mon, 04 Oct 2004 13:36:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEWks-00051d-LX for emacs-devel@gnu.org; Mon, 04 Oct 2004 13:36:10 -0400 Original-Received: from [216.136.130.125] (helo=smtp200.mail.sc5.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CEWdz-0002HX-AV for emacs-devel@gnu.org; Mon, 04 Oct 2004 13:29:03 -0400 Original-Received: from unknown (HELO shemale) (beijing?2008?gold@222.163.18.126 with login) by smtp200.mail.sc5.yahoo.com with SMTP; 4 Oct 2004 16:52:47 -0000 Original-To: Kenichi Handa In-Reply-To: <200410041212.VAA10765@etlken.m17n.org> (Kenichi Handa's message of "Mon, 4 Oct 2004 21:12:29 +0900 (JST)") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27897 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27897 Kenichi Handa writes: > In article , zrr writes: >> I have successfully compiled the most recent unicode-2 branch on >> my slackware box.(kernel 2.6.8.1, gcc 3.2.3, glibc-2.3.2) > >> My default locale is "zh_CN.gbk". When I tried to run emacs with >> this command "./src/emacs -q", emacs starts up but complains >> "Cannot open load file: tool-bar". Actually, it can't load any >> library. > >> Here is the full error message I have got: > >> Loading mwheel...done >> (./emacs -q) >> Failure in loading charset map: "GBK" [5718 times] >> command-line: Cannot open load file: tool-barFailure in loading charset map: "GBK" >> Failure in loading charset map: "GBK" [50080 times] > > Thank you for the report. There was an error in the > definition of chinese-gbk coding system; it couldn't handle > ascii. :-( I've jsut installed a fix. Please try again. Emacs can works in 'zh_CN.gbk' locale now, but it still can't handle 'gbk' coding X fonts. I have solved this problem by adding following lines in my .emacs file: (add-to-list 'font-encoding-alist '("gbk" . chinese-gbk)) (add-to-list 'charset-script-alist '(chinese-gbk . han)) However, maybe you should fix it in the 'fontset.el'. Cheers! Tang > > --- > Ken'ichi HANDA > handa@m17n.org > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel