Previous: , Up: The Echo Area   [Contents][Index]


12.5 Some Echo Area Commands

These are some of the Echo Area commands that coordinate with the prompting routines. Hemlock binds other commands specific to the Echo Area, but they are uninteresting to mention here, such as deleting to the beginning of the line or deleting backwards a word.

Command: Help On Parse (bound to Home, C-_ in Echo Area mode)

Display the help text for the parse currently in progress.

Command: Complete Keyword (bound to Escape in Echo Area mode)

This attempts to complete the current region as a keyword in string-tables. It signals an editor-error if the input is ambiguous or incorrect.

Command: Complete Field (bound to Space in Echo Area mode)

Similar to Complete Keyword, but only attempts to complete up to and including the first character in the keyword with a non-zero :parse-field-separator attribute. If there is no field separator then attempt to complete the entire keyword. If it is not a keyword parse then just self-insert.

Command: Confirm Parse (bound to Return in Echo Area mode)

If string-tables is non-nil find the string in the region in them. Call parse-verification-function with the current input. If it returns a non-nil value then that is returned as the value of the parse. A parse may return a nil value if the verification function returns a non-nil second value.


Previous: Defining New Prompting Functions, Up: The Echo Area   [Contents][Index]