lispdoc - results for restart

restart
Undocumented
 Mentioned in:
CLtL2 - 29.5. Predefined Condition Types
HyperSpec - 9.1.4.2.3 Restart Tests
HyperSpec - 9.1.4.2.4 Associating a Restart with a Condition
HyperSpec - Restart ABORT
HyperSpec - Restart CONTINUE
HyperSpec - Restart MUFFLE-WARNING
HyperSpec - Restart STORE-VALUE
HyperSpec - Restart USE-VALUE
HyperSpec - System Class RESTART
restarts
 
 Mentioned in:
HyperSpec - 9.1.4.2 Restarts
HyperSpec - 9.1.4.2.1 Interactive Use of Restarts
HyperSpec - 9.1.4.2.2 Interfaces to Restarts
(restart-bind bindings &body forms)
Function: Executes forms in a dynamic context where the given restart bindings are in effect. Users probably want to use RESTART-CASE. When clauses contain the same restart name, FIND-RESTART will find the first such clause.
 Mentioned in:
CLtL2 - 29.3.10. Generalized Restarts
CLtL2 - 29.3.9. Comparison of Restarts and Catch/Throw
CLtL2 - 29.4.7. Establishing Restarts
CLtL2 - 29.4.8. Finding and Manipulating Restarts
HyperSpec - Macro RESTART-BIND
Successful Lisp - assert
(restart-case expression &body clauses &environment env)
Function: (RESTART-CASE form {(case-name arg-list {keyword value}* body)}*) The form is evaluated in a dynamic context where the clauses have special meanings as points to which control may be transferred (see INVOKE-RESTART). When clauses contain the same case-name, FIND-RESTART will find the first such clause. If Expression is a call to SIGNAL, ERROR, CERROR or WARN (or macroexpands into such) then the signalled condition will be associated with the new restarts.
 Mentioned in:
CLtL2 - 29.3.10. Generalized Restarts
CLtL2 - 29.3.6. Anonymous Restarts
CLtL2 - 29.3.9. Comparison of Restarts and Catch/Throw
CLtL2 - 29.4.7. Establishing Restarts
CLtL2 - 29.4.8. Finding and Manipulating Restarts
HyperSpec - Macro RESTART-CASE
PCL - restarts
(restart-name instance)
Function: Return whether debug-block represents elsewhere code.
 Mentioned in:
CLtL2 - 29.4.8. Finding and Manipulating Restarts
HyperSpec - Function RESTART-NAME
(find-restart identifier &optional condition)
Function: Return the first restart identified by IDENTIFIER. If IDENTIFIER is a symbol, then the innermost applicable restart with that name is returned. If IDENTIFIER is a restart, it is returned if it is currently active. Otherwise NIL is returned. If CONDITION is specified and not NIL, then only restarts associated with that condition (or with no condition) will be returned.
Example:
(defun show-error (error)
  (error-popup
   (format nil "~A~@[~%~%~A?~]" error
           (find-restart 'continue))
   "Error" "error"))
Mentioned in:
CLtL2 - 29.3.9. Comparison of Restarts and Catch/Throw
CLtL2 - 29.4.7. Establishing Restarts
CLtL2 - 29.4.8. Finding and Manipulating Restarts
HyperSpec - Function FIND-RESTART
PCL - restarts
(invoke-restart restart &rest values)
Function: Calls the function associated with the given restart, passing any given arguments. If the argument restart is not a restart or a currently active non-nil restart name, then a CONTROL-ERROR is signalled.
Example:
(defun evaluate (&optional condition)
  (declare (ignore condition))
  (invoke-restart 'evaluate))
Mentioned in:
CLtL2 - 29.3.17. Condition Handlers
CLtL2 - 29.3.8. Restart Functions
CLtL2 - 29.4.7. Establishing Restarts
CLtL2 - 29.4.8. Finding and Manipulating Restarts
HyperSpec - Function INVOKE-RESTART
PCL - providing multiple restarts
PCL - restarts
(compute-restarts &optional condition)
Function: Return a list of all the currently active restarts ordered from most recently established to less recently established. If CONDITION is specified, then only restarts associated with CONDITION (or with no condition) will be returned.
 Mentioned in:
CLtL2 - 29.3.9. Comparison of Restarts and Catch/Throw
CLtL2 - 29.4.7. Establishing Restarts
CLtL2 - 29.4.8. Finding and Manipulating Restarts
HyperSpec - Function COMPUTE-RESTARTS
(with-simple-restart (restart-name format-string &rest format-arguments) &body
 forms)
Function: (WITH-SIMPLE-RESTART (restart-name format-string format-arguments) body) If restart-name is not invoked, then all values returned by forms are returned. If control is transferred to this restart, it immediately returns the values NIL and T.
 Mentioned in:
CLtL2 - 29.4.7. Establishing Restarts
HyperSpec - Macro WITH-SIMPLE-RESTART
(with-condition-restarts condition-form restarts-form &body body)
Function: Evaluates the BODY in a dynamic environment where the restarts in the list RESTARTS-FORM are associated with the condition returned by CONDITION-FORM. This allows FIND-RESTART, etc., to recognize restarts that are not related to the error currently being debugged. See also RESTART-CASE.
 Mentioned in:
CLtL2 - 29.4.1. Signaling Conditions
CLtL2 - 29.4.2. Assertions
CLtL2 - 29.4.7. Establishing Restarts
CLtL2 - 9.1. Declaration Syntax
HyperSpec - Macro WITH-CONDITION-RESTARTS
(invoke-restart-interactively restart)
Function: Calls the function associated with the given restart, prompting for any necessary arguments. If the argument restart is not a restart or a currently active non-NIL restart name, then a CONTROL-ERROR is signalled.
 Mentioned in:
CLtL2 - 29.4.7. Establishing Restarts
CLtL2 - 29.4.8. Finding and Manipulating Restarts
HyperSpec - Function INVOKE-RESTART-INTERACTIVELY