navigation map

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
index.html#Top MajorGriModeCommands.html#MajorGri-modecommands Gri Mode: Major Commands Gri Mode: command completion index.html#Top Gri Mode: command completion

12.4.1: How gri-mode names Gri commands

A major feature of Gri mode is the completion of partially typed commands. Let's examine how gri-mode decides to name gri commands. A name is determined by removing bracketed options from the syntax line of a given command. This is different from what the gri parser does. In this way, the gri command


draw label "\string" [centered|rightjustified] at .x. .y. [cm] [rotated .deg.]

is named by gri-mode simply `draw label at'. Note how the `at' stays in the name because it is not optional. So when you see `draw label at' in gri-mode's menus or prompts, you are more likely to associate the name with what the command actually does.

navigation map