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: Kenichi Handa
Subject: Re: Can't display Japanese text in menu bar
Date: Tue, 12 Dec 2006 22:03:42 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Katsumi Yamaoka <address@hidden> writes:

> I noticed that Japanese text cannot be displayed in the menu bar.
> I use the LUCID menu bar, not the GTK version, and I don't have
> X resources.  You will be able to reproduce this by starting
> Emacs with the -Q option and evaluating the following form:

> (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?

> 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.

---
Kenichi Handa
address@hidden




reply via email to

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