>>>>> On Mon, 06 Mar 2006 11:55:44 +0900, Kenichi Handa <[EMAIL PROTECTED]> 
>>>>> said:

> In article <[EMAIL PROTECTED]>, John Olsson <[EMAIL PROTECTED]> writes:
>> If I add a menu to the menu bar (or menu items to a menu) containing 
>> international characters (for instance any of the swedish characters 
>> 'å', 'ä' and 'ö') they will not show up correctly.

>> For instance
>> 'å' shows as Â
>> 'ä' shows as '‰'
>> 'ö' shows as '^'
>> 'Å' shows as '≈'
> [...]
>> In GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0)
>> of 2005-09-28 on lucy - Aquamacs Distribution 0.9.6

> It seems that this is a problem specific to
> powerpc-apple-darwin7.9.0.  On GNU/Linux with X Window
> System, for instance, the following code works well;
> i.e. clicking "Test" in menu bar shows "å ä ö Å" correctly
> (in latin-1 language environment).

> (define-key global-map [menu-bar test]
>   (cons "Test" test-menu))
> ("Test" keymap "Test")
> (define-key test-menu [test-insert]
>   '(menu-item "å ä ö Å" (lambda () (interactive) (insert "å ä ö Å"))))

It also works on Mac OS X/Carbon.  (I suppose you have (setq test-menu
(make-sparse-keymap "Test")) before the first expression.)  Maybe
specific to Aquamacs 0.9.6?

                                     YAMAMOTO Mitsuharu
                                [EMAIL PROTECTED]


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to