emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't display Japanese text in menu bar


From: Katsumi Yamaoka
Subject: Re: Can't display Japanese text in menu bar
Date: Tue, 12 Dec 2006 23:33:41 +0900
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

Thanks Handa-san for following up.

>>>>> In <address@hidden> Handa-san wrote:

>> (let ((japanese (decode-coding-string "\e$B%F%9%H\e(B" 'iso-2022-jp)))
>>   (easy-menu-define testing-menu global-map "Testing."
>>     `("Testing"
>>       [,japanese (lambda nil (interactive) (message ,japanese)) t]))
>>   (easy-menu-add testing-menu global-map))

> It works for me (my Emacs also uses LUCID) both in
> ja_JP.EUC-JP and en_US.UTF-8.  In which locale did you test
> it?

The locale command returns the following in the PCs, running
Fedora Core 6 Linux, both in the office and home.

LANG=ja_JP.eucjp
LC_CTYPE=ja_JP.eucjp
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=C
LC_MESSAGES=C
LC_PAPER=C
LC_NAME=C
LC_ADDRESS=C
LC_TELEPHONE=C
LC_MEASUREMENT=C
LC_IDENTIFICATION=C
LC_ALL=

Those are set globally in the systems and I don't modify any of
them in Emacs.  I verified it doesn't work in both the PCs.

>> I found the way to make it work.  That is to re-set the font for
>> the `menu' face as follows:

>> (set-face-font 'menu (face-font 'menu))

>> But I don't think this is the right way.  WDYT?

> I have no idea why it makes any change.

I'll look into it further...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]