Page 223 Table of Contents Index Page 225
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 23. PRESENTATION TYPES

prompt and/or default in a top-level accept and suppresses putting parentheses around the
prompt and/or default in a nested accept.

query-identifier is used within accepting-values to identify the field within the dialog.

activation-gestures is a list of gesture names that will override the current activation gestures
(which are stored in *activation-gestures*). Alternatively, additional-activation-gestures can
be supplied to add activation gestures without overriding the current ones. See Chapter 24 for
a discussion of activation gestures.

delimiter-gestures is a list of gesture names that will override the current delimiter gestures
(which are stored in *delimiter-gestures*). Alternatively, additional-delimiter-gestures can
be supplied to add delimiter gestures without overriding the current ones. See Chapter 24 for a
discussion of delimiter gestures.

=> accept-from-string type string &key view default default-type start end [Function]
Like accept, except that the input is taken from string, starting at the position specified by
start and ending at end. view, default, and default-type are as for accept.

accept-from-string returns an object and a presentation type (as in accept), but also returns
a third value, the index at which input terminated.

=> prompt-for-accept stream type view &rest accept-args &key [Generic Function]
Called by accept to prompt the user for input of presentation type type on the stream stream
for the view view. accept-args are all of the keyword arguments supplied to accept. The default
method (on standard-extended-input-stream) simply calls prompt-for-accept-1.

=> prompt-for-accept-1 stream type &key default default-type display-default prompt prompt-mode
&allow-other-keys [Function]
Prompts the user for input of presentation type type on the stream stream.

If the boolean display-default is true, then the default is displayed; otherwise, the default is not
displayed. When the default is being displayed, default and default-type are the taken as the
object and presentation type of the default to display. display-default defaults to true if prompt
is non-nil, otherwise it defaults to false.

If prompt is nil, no prompt is displayed. If it is a string, that string is displayed as the prompt.
If prompt is t (the default), the prompt is generated by calling describe-presentation-type
to produce a prompt of the form "Enter a type:" in a top-level call to accept, or "(type)" in a
nested call to accept.

prompt-mode can be :normal (the default) or :raw, which suppresses putting a colon after the
prompt and/or default in a top-level accept and suppresses putting parentheses around the
prompt and/or default in a nested accept.


Page 223 Table of Contents Index Page 225
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