From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Shaowei Wang (wsw)" Newsgroups: gmane.emacs.devel Subject: emacs XIM input method and locale issues Date: Fri, 3 Sep 2010 16:38:35 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e64c165a3e88e2048f56db22 X-Trace: dough.gmane.org 1283503130 5871 80.91.229.12 (3 Sep 2010 08:38:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2010 08:38:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 03 10:38:48 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrRnJ-0000ne-2P for ged-emacs-devel@m.gmane.org; Fri, 03 Sep 2010 10:38:45 +0200 Original-Received: from localhost ([127.0.0.1]:44681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrRnI-0007w1-IL for ged-emacs-devel@m.gmane.org; Fri, 03 Sep 2010 04:38:44 -0400 Original-Received: from [140.186.70.92] (port=42544 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrRnC-0007vw-2q for emacs-devel@gnu.org; Fri, 03 Sep 2010 04:38:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrRnA-00075U-VJ for emacs-devel@gnu.org; Fri, 03 Sep 2010 04:38:37 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:35763) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrRnA-000757-Pv for emacs-devel@gnu.org; Fri, 03 Sep 2010 04:38:36 -0400 Original-Received: by wyb36 with SMTP id 36so1634900wyb.0 for ; Fri, 03 Sep 2010 01:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=65rkvmVWxUaeoqlWX2ROs//AIDFHLGYiR2USYsppGNk=; b=Bk8TyO7Fe7f1/ORlQP0RatDCqsrSdwfhbemI2XA+bCfiVa8jsmnvszBru/e+5HOh8o z9EtvwsekjckrO/gSeUp7MmpWmenehmTPIVlitrmsEaW6L0HIIg2/lPw2EiVPUuStc1Y 1Ro+5ksvmZwq39cqzESM2Lo2dmo26arIUKqEo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=sk5+5hfpgQel+icQmmO43oqU8aiKB9xmvm+3fTvKnZE7r2Ky5xtmv2NP8hZAcn1x/W WEz/v/drniXJEkHQm+/8LGA+UvW/3b6XPEUrs0ctYRvR/lG5vD8jfSOAtagEkgLkvY73 Wrz1hSNchsLXQ3sdC87M0XtogZXaMJp46H3BE= Original-Received: by 10.216.3.19 with SMTP id 19mr1091767weg.108.1283503115110; Fri, 03 Sep 2010 01:38:35 -0700 (PDT) Original-Received: by 10.216.152.232 with HTTP; Fri, 3 Sep 2010 01:38:35 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:129632 Archived-At: --0016e64c165a3e88e2048f56db22 Content-Type: text/plain; charset=UTF-8 Hi all I want to use xim program(scim) with emacs and I have some issues here. My scim works find with gtk programs and other X programs(rxvt-unicode) but emacs. I found the locale is the key point. my locale is: [wsw@arch ~]$ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= I start emacs like: LC_ALL=en_US.utf8 emacs -Q # The scim do *NOT* work. LC_ALL=zh_CN.utf8 emacs -Q # OK, the scim works fine. and I grep the emacs source tree, found nothing but: src/emacs.c has some functions to set LC_ALL. ======================= I did lots of google searchs. Some guy said it is the Xorg problem and others said it's the font (may be font path) problem. But how do we explane that other X program works fine with scim? --0016e64c165a3e88e2048f56db22 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all
=C2=A0 I want to use xim program(scim) with emacs and I have some= issues here.

My scim works find with gtk programs and other X progr= ams(rxvt-unicode) but emacs. I found the locale is the
key point.
my locale is:
[wsw@arch ~]$ locale
LANG=3Den_US.UTF-8
LC_CTYPE=3D&= quot;en_US.UTF-8"
LC_NUMERIC=3D"en_US.UTF-8"
LC_TIME= =3D"en_US.UTF-8"
LC_COLLATE=3D"en_US.UTF-8"
LC_MO= NETARY=3D"en_US.UTF-8"
LC_MESSAGES=3D"en_US.UTF-8"
LC_PAPER=3D"en_US.UTF-8"=
LC_NAME=3D"en_US.UTF-8"
LC_ADDRESS=3D"en_US.UTF-8&quo= t;
LC_TELEPHONE=3D"en_US.UTF-8"
LC_MEASUREMENT=3D"en_U= S.UTF-8"
LC_IDENTIFICATION=3D"en_US.UTF-8"
LC_ALL=3D


I start= emacs like:
LC_ALL=3Den_US.utf8 emacs -Q=C2=A0 # The scim do *NOT* work= .

LC_ALL=3Dzh_CN.utf8 emacs -Q # OK, the scim works fine.

and= I grep the emacs source tree, found nothing but:

src/emacs.c=C2=A0 has some functions to set LC_ALL.
=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I did lots of= google searchs. Some guy said it is the Xorg problem and others said it= 9;s the font (may be font path) problem.
But how do we explane that othe= r X program works fine with scim?



--0016e64c165a3e88e2048f56db22--