David Kastrup <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (Kim F. Storm) writes: > >> It also improves handling of menu bar entries in two ways: >> >> 1) If menu-bar-mode is disabled, it doesn't mention menu bar bindings. >> >> 2) It pretty prints menu bar entries like this: >> e.g. "File Menu" rather than "<menu-bar> <file> <new-file>" > > Uh, how is it an improvement to leave off the "New file" information > from the menu?
I have been looking further into "menu binding pretty-printing", and I agree that my previous approach was too narrow-minded. I now have a solution where key-description produces a real human readable text for menu bindings. For example, (key-description [menu-bar file new-file]) now prints <menu-bar> <file> <new-file> whereas with my patch to key-description, it will print File=>New File... Since this is implemented in key-description, it will show the new format in all contexts, e.g. for C-h a, C-h k, C-h w, etc. Another example: Old: <menu-bar> <options> <mule> <set-various-coding-system> <universal-coding-system-argument> New: Options=>Mule (Multilingual Environment)=>Set Coding Systems=>For Next Command Shall I install this? -- Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel