From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Zhang Wei Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: emacs-unicode-2: `locale-language-names' improvement on chinese locales Date: Thu, 27 Oct 2005 13:22:58 +0800 Message-ID: <87hdb3ile5.fsf@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130390658 11360 80.91.229.2 (27 Oct 2005 05:24:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2005 05:24:18 +0000 (UTC) Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Thu Oct 27 07:24:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EV0E9-0007IX-5p for gebp-emacs-pretest-bug@gmane.org; Thu, 27 Oct 2005 07:23:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EV0E8-0006zs-HP for gebp-emacs-pretest-bug@gmane.org; Thu, 27 Oct 2005 01:23:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EV0E5-0006zV-Ju for emacs-pretest-bug@gnu.org; Thu, 27 Oct 2005 01:22:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EV0E4-0006z6-QD for emacs-pretest-bug@gnu.org; Thu, 27 Oct 2005 01:22:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EV0E4-0006z2-LT for emacs-pretest-bug@gnu.org; Thu, 27 Oct 2005 01:22:56 -0400 Original-Received: from [64.233.162.204] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EV0E4-00073h-Lm for emacs-pretest-bug@gnu.org; Thu, 27 Oct 2005 01:22:56 -0400 Original-Received: by zproxy.gmail.com with SMTP id k1so199734nzf for ; Wed, 26 Oct 2005 22:22:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:to:subject:from:date:message-id:mime-version:content-type; b=RfsVlmEj0ZDtdKI0JPII+XvN7z6SIPk/ai+cIJDfuY02o5Zk+LHdKFM57cwoJy+IPGZ5pjUSNWzcCnMB5YAh4K8pKb3fsBUfdrYGDVeqwxjxsT+J4xszUqe21Hj4xxw/OICi8FLA1okjmQsQQVm1RkTh5+A+bE8iLx0VRzoVhiI= Original-Received: by 10.36.129.4 with SMTP id b4mr1784535nzd; Wed, 26 Oct 2005 22:22:55 -0700 (PDT) Original-Received: from dorm ( [59.66.78.64]) by mx.gmail.com with ESMTP id 18sm1275336nzo.2005.10.26.22.22.50; Wed, 26 Oct 2005 22:22:55 -0700 (PDT) Original-Received: from brep by dorm with local (Exim 4.54) id 1EV0E6-00047n-PM; Thu, 27 Oct 2005 13:22:58 +0800 Original-To: emacs-devel@gnu.org, emacs-pretest-bug@gnu.org X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:9752 gmane.emacs.devel:44955 Archived-At: According to the current `locale-language-names' variable, no metter what locale is set for chinese, zh_CN.GB2312, zh_CN.GBK or zh_CN.GB18030, the `current-language-environment' variable will always be zh_CN.GB. This could be improved by the following patch: *** lisp/international/mule-cmds.el.~1.242.2.25.~ 2005-09-26 06:07:01.000000000 +0800 --- lisp/international/mule-cmds.el 2005-10-27 12:58:49.000000000 +0800 *************** *** 2208,2219 **** ; yo Yoruba ; za Zhuang ("zh_HK" . "Chinese-Big5") ("zh_TW" . "Chinese-Big5") ("zh_CN" . "Chinese-GB") ("zh" . "Chinese-GB") - ; zh_CN.GB18030/GB18030 \ - ; zh_CN.GBK/GBK \ - ; zh_HK/BIG5-HKSCS \ ("zu" . "Latin-1") ; Zulu ;; ISO standard locales --- 2208,2220 ---- ; yo Yoruba ; za Zhuang ("zh_HK" . "Chinese-Big5") + ; zh_HK/BIG5-HKSCS \ ("zh_TW" . "Chinese-Big5") + ("zh_CN.GB2312" "Chinese-GB") + ("zh_CN.GBK" "Chinese-GBK") + ("zh_CN.GB18030" "Chinese-GB18030") ("zh_CN" . "Chinese-GB") ("zh" . "Chinese-GB") ("zu" . "Latin-1") ; Zulu ;; ISO standard locales