From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: zrr Newsgroups: gmane.emacs.devel Subject: [unicode-2 branch]emacs can't load library in "zh_CN.gbk" locale Date: Mon, 04 Oct 2004 16:32:11 +0800 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096878793 15585 80.91.229.6 (4 Oct 2004 08:33:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Oct 2004 08:33:13 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 04 10:33:05 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 1CEOHI-0005ZR-00 for ; Mon, 04 Oct 2004 10:33:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEONs-0005vQ-Eh for ged-emacs-devel@m.gmane.org; Mon, 04 Oct 2004 04:39:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CEONP-0005sH-DN for emacs-devel@gnu.org; Mon, 04 Oct 2004 04:39:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CEONM-0005qe-CJ for emacs-devel@gnu.org; Mon, 04 Oct 2004 04:39:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEONL-0005qM-TJ for emacs-devel@gnu.org; Mon, 04 Oct 2004 04:39:20 -0400 Original-Received: from [216.136.130.127] (helo=smtp204.mail.sc5.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CEOGf-0007Fb-KI for emacs-devel@gnu.org; Mon, 04 Oct 2004 04:32:25 -0400 Original-Received: from unknown (HELO shemale) (beijing?2008?gold@222.163.17.30 with login) by smtp204.mail.sc5.yahoo.com with SMTP; 4 Oct 2004 08:32:21 -0000 Original-To: emacs-devel@gnu.org 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:27871 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27871 Hi, 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] I managed to specify another locale for emacs in this way "LC_CTYPE=zh_CN.utf8 ./src/emacs -q". It works. After I tried some other locale settings, for instance, zh_CN.gb18030, en_US.utf8, etc. I realized that emacs only can't work in "zh_CN.gbk" locale. Is this a bug? By the way, it seems that a big change have been made on unicode emacs font selection method. I encountered some mess of font settings. Is there any new documentation about this topic? Best Regards! Tang