From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: hong Newsgroups: gmane.emacs.help Subject: Re: Emacs-cvs now can't run in zh_CN.GBK environment? Date: Mon, 2 Jun 2008 18:43:54 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0101e46d-c75d-4477-b938-7306024dcede@u12g2000prd.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1212460846 31995 80.91.229.12 (3 Jun 2008 02:40:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2008 02:40:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 03 04:41:28 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K3MSl-00085Z-0F for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jun 2008 04:41:27 +0200 Original-Received: from localhost ([127.0.0.1]:46076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3MRy-0008HL-OG for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Jun 2008 22:40:38 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!u12g2000prd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-NNTP-Posting-Host: 202.158.163.135 Original-X-Trace: posting.google.com 1212457434 25994 127.0.0.1 (3 Jun 2008 01:43:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 3 Jun 2008 01:43:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u12g2000prd.googlegroups.com; posting-host=202.158.163.135; posting-account=7DL57woAAABmmQISmmxWHSEI7ZCuGqUD User-Agent: G2/1.0 X-HTTP-Via: 1.1 MJCXX-2ZEL2MS2T X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159070 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54430 Archived-At: On 6=D4=C22=C8=D5, =CF=C2=CE=E71=CA=B108=B7=D6, Jashy = wrote: > hi, > > I am using emacs cvs version under cygwin with emacs's GBK(not mule-gbk). > > You can check whether mule-gbk is required in your .emacs, if yes, please > comment it out. > > Below is my Chinese-GBK setting. Hope it is useful for you. > ;; (require 'mule-gbk) > ;; Setup GBK environment > (set-language-environment "Chinese-GBK") > (set-terminal-coding-system 'chinese-gbk) > (set-keyboard-coding-system 'chinese-gbk) > (setq locale-coding-system 'chinese-gbk) > (setq current-language-environment "Chinese-GBK") > > hong-9 wrote: > > > I'm a slackware-current user,and using fvwm-2.5.24 with fvwm-themes as > > my desktop.My locale is zh_cn.gbk and inputmethod is fcitx. I can use > > chinese language normally under slack's official emacs22 which is > > patched with mule-gbk.Yesterday evening I build cvs version > > successfully, but when I run "emacs" ,it fells into no response any > > more , no window even. When I "ps aux", I found its process obtain my > > cpu beyond 80% and I must use "kill -9" to kill it .Then I tried > > unbuntu's snapshot ,it's the same scene.After that I tried to add a > > test user under UTF-8 locale and found that the emacs-cvs runs very > > well.So I decide to ask for help.Thanks. > > -- > View this message in context:http://www.nabble.com/Emacs-cvs-now-can%27t-r= un-in-zh_CN.GBK-environm... > Sent from the Emacs - Help mailing list archive at Nabble.com. Thank you for your help. And now I figured out no matter within or without the mule-gbk and how I set language environment. The emacs cvs still can not at least splash a X window. the strangest thing is use emacs in a terminal ,like "emacs -nw" ,it runs quite well ,and in a utf-8 environment, even I use the mule-gbk setting in the .emacs, it can still run in a Xwindow without any influence. so I gived up gbk locale and have converted the filename to utf8 with convmv . finally I'm using emacs-cvs in a utf-8 environment comfortably.