The following functions can be used to prompt for some kind of input, which is generally typed into the Echo Area.
The following key fields are common to a number of prompting functions.
:prompt Defines the prompt that is written in the Echo Area. Most prompting functions have a default prompt that is used if no value is supplied for:prompt.
:must-exist Specifies whether the value that is input by the user must be an existing value or not. If:must-exist is non-nil, the user is prompted again if a non-existent value is input.
:defaultDefines the default value that is selected if an empty string is input.
:default-stringInsert Parse Default). :help Provides a help message that is printed if the user types "?".
Function
editor:prompt-for-file &key prompt must-exist default default-string help
Function
editor:prompt-for-buffer &key prompt must-exist default default-string help
t. If must-exist isnil and the buffer does not exist, it is created. Function
editor:prompt-for-integer &key prompt must-exist default default-string help
Function
editor:prompt-for-string &key prompt default default-string clear-echo-area help
t. See above for an explanation of the remaining keywords. Function
editor:prompt-for-variable &key must-exit prompt default default-string help
t.