On 26 Oct 2008, at 00:18, YAMAMOTO Mitsuharu wrote: >>>>>> On Sat, 25 Oct 2008 14:45:52 -0400, Glenn Morris >>>>>> said: > >>> Probably you tried with Emacs 23, and Emacs 22 on GNU/Linux would >>> behave as OP described. > >> I did indeed, since Emacs 22 is dead, and the problem was also said >> to occur with "a recent build of Cocoa (23)". Does it? (I can't >> build that.) > > Menus in the Cocoa/GNUstep port doesn't show key bindings as in other > platforms (at least by default) in the first place. Using the 23 code that turns off caching of key binding hints does fix the problem in 22 Carbon Emacs. 23 Cocoa has a different problem with key bindings. No key binding is displayed here: (defun foo () (interactive)) (global-set-key "\M-p" 'foo) (define-key menu-bar-file-menu [new-file] '(menu-item "Foo!" foo)) (ns-reset-menu) ;; doesn't help