From xemacs-m  Fri May 16 22:31:28 1997
Received: from ns.jsys.co.jp (ns.jsys.co.jp [202.33.240.82])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id WAA29054
	for <xemacs-beta@xemacs.org>; Fri, 16 May 1997 22:31:26 -0500 (CDT)
Received: from cosmos.jsys.co.jp (cosmos.jsys.co.jp [172.31.80.5])
	by ns.jsys.co.jp (8.8.5/8.8.5) with ESMTP id MAA02147
	for <xemacs-beta@xemacs.org>; Sat, 17 May 1997 12:31:22 +0900 (JST)
Received: from skywalk.jsys.co.jp (j-04110.jsys.co.jp [172.31.49.72])
	by cosmos.jsys.co.jp (8.8.5/8.8.5/NOTES) with ESMTP id MAA13369
	for <xemacs-beta@xemacs.org>; Sat, 17 May 1997 12:31:22 +0900 (JST)
Received: (from ienaga@localhost) by skywalk.jsys.co.jp (8.8.5/3.5Wpl2) id MAA08360; Sat, 17 May 1997 12:31:20 +0900 (JST)
To: xemacs-beta@xemacs.org
Subject: Re: [XEmacs-20.2-final] Linux-2.0.30/2.1.37 and a question.
References: <199705170035.JAA14307@jsk.t.u-tokyo.ac.jp> <m2sozmx0si.fsf@altair.xemacs.org>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Kazuyuki IENAGA <ienaga@jsys.co.jp>
Date: 17 May 1997 12:31:18 +0900
In-Reply-To: Steven L Baur's message of 16 May 1997 19:58:05 -0700
Message-ID: <rysg1vmai61.fsf@skywalk.jsys.co.jp>
Lines: 33
X-Mailer: Gnus v5.4.52/XEmacs 20.2
X-Face:  czfHfB+cCdftWr4Fwe9^^-!_PKouj^vkcIk4Hg_xxx<~JF.4vv)^7jM;w_w'(UZ#{K&xpz:
 [v3`j%a.u`CP*Tbsm[N0PYlk&+xt3Vd1KZL%'I+v,:*0\(akF?Vf>l_VeOHH]2.Z6^e_O;zDZJW.


Steven L Baur <steve@xemacs.org> writes:

> Hajime Saitou <hajime@jsk.t.u-tokyo.ac.jp> writes:
> 
> > One question. Can someone tell me if they have succeeded in using
> > Japanese menus on linux and how they did it? I'm sure there was a
> > thread on it sometime ago but I seem to have mislaid it.
> 
> I never got it working, but the instructions were to have
> -DUSE_XFONTSET defined in your CFLAGS.  With a Japanese locale it
> should work.

No.

According to Hajime's report, he uses Motif for its dialog box.
In this case, even if he specified "lucid" for menubar or configure
detected it automatically, lwlib uses Motif internally in xlwmenu.c.

Thus, the Motif library would be used for menu representation and
-DUSE_XFONTSET has no effect in this case.

If you want to use Motif, lesstif is useless as far as I tested
before, and with SWiM (Motif 2.0, commercial product) there was no
problem.

Or you could use Japanese menu enabled to specify -DUSE_XFONTSET for
--cflags and '--with-diaglos=athena' to prevent use of Motif.
See the code in lwlib/xlwmenu.c.

Anyway, at first, you need to specify $LANG to ja.

-- 
kazz

