Page 251 Table of Contents Index Page 253
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 24. INPUT EDITING AND COMPLETION FACILITIES

sensitive) help message and a list of possibilities. The exact global contents of this list is un-
specified, but must include the :possibilities gesture name.

=> complete-input stream function &key partial-completers allow-any-input possibility-printer (help-
displays-possibilities t)
[Function]
Reads input from the user from the input editing stream stream, completing over a set of possi-
bilities. complete-input is only required to work on input editing streams, but implementations
may extend it to work on interactive streams as well.

function is a function of two arguments. It is called to generate the completion possibilities that
match the user's input; it has dynamic extent. Usually, programmers will pass either complete-
from-possibilities
or complete-from-generator as the value of function. Its first argument
is a string containing the user's input "so far". Its second argument is the completion mode, one
of the following: function must return five values:


Page 251 Table of Contents Index Page 253
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E