(menu.info)Section 3.8


Next: Section 3.9 Prev: Section 3.7 Up: Chapter 3
Enter node , (file) or (file)node

3.8 The 'hints' field
=====================

Hints are used to help menu structure generated menus in a more optimal
way.  For example:

     ?package(emacs20):\
       needs="x11"\
       hints="Big,Expert,Featureful" \
       section="Applications/Editors"\
       title="Emacs 20"\
       command="/usr/bin/emacs20"\
       icon=/usr/share/emacs/20.3/etc/emacs.xbm

The above hints will tell 'menu' to consider grouping 'emacs' together
with other editors that are marked similar.  For example, if 'vi' on
your system has a hints="Small,Expert" definition, and there are too
many entries in the '/Applications/Editors' menu entry, then menu will
consider creating a '/Applications/Editors/Expert' submenu, and put both
'vi' and 'emacs' in it.  (Of course, only if you have
'hint_optimize=true' in your '/etc/menu-methods/menu.h' file).


automatically generated by info2www version 1.2.2.9