Chapters: 1: Introduction 2: Simple example 3: Invocation 4: Finer Control 5: X-Y Plots 6: Contour Plots 7: Image Plots 8: Examples 9: Gri Commands 10: Programming 11: Environment 12: Emacs Mode 13: History 14: Installation 15: Gri Bugs 16: Test Suite 17: Gri in Press 18: Acknowledgments 19: License Indices: Concepts Commands Variables | ### 12.4.2: Possible completions of gri command names When you press ``M-tab`' to complete a command name (or a variable or synonym name as described below), gri-mode will expand it as much as it can and do nothing further. If you type in nothing more and insist by using ``gri-complete`' (``M-tab`') again, gri-mode will respond by showing all possible completions in the ``*completions*`' buffer. In this way you can use ``gri-complete`' word-by-word to abbreviate commands without ever displaying completions, like you would for file completion in emacs or bash. If a completion is ambiguous, but could be exact, invoke gri-complete a second time to complete it. e.g.
    sh`M-tab'
expands to
    show
and informs you that 12 possible completions exists; then
    show`M-tab'
will display these completions in the completions buffer; then typing ``M-tab`' again forces completion to a complete but not unique possibility:
    show .value.|{rpn ...}|"\text" [.value.|{rpn ...}|text [...]]
Completions are shown immediately (without invoking gri-complete again) if the completions window is already displayed or if there are 3 possibilities or less. In this case they are displayed in the minibuffer. Note: The ``*completions*`' window is deleted after a command is fully completed. ``gri-complete`' uses its own ``*completions*`' buffer, which is not displayed in the buffer-list to avoid clutter.