Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8422235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:23:23+00:00 2026-06-10T03:23:23+00:00

Is it possible to move hand over hand along restarts like this: (handler-bind ((simple-error

  • 0

Is it possible to move hand over hand along restarts like this:

(handler-bind ((simple-error #'(lambda(condition)
                       (write condition)
                       (invoke-restart 'alle condition))))
    (restart-case
      (restart-case
        (error 'simple-error)
       (next (err)))
      (alle (err) (invoke-restart 'next))))

this currently leads to an

No restart NEXT is active.
   [Condition of type SB-INT:SIMPLE-CONTROL-ERROR]

I want to be able to implement a general restart like “just-log-all-conditions” which then calls the correct restart for any condition signaled within its expression.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:23:25+00:00Added an answer on June 10, 2026 at 3:23 am

    You might check if that’s really what you want to do… Typically you want a handler to select the best restart. The handler sees all available restarts. Moving from restart to restart is unusual. IMHO. There is also not a ‘correct’ restart for some condition. Several restarts might be available and useful. This can either be determined programmatically or interactively by the user. A restart might also be useful for several different conditions.

    The Common Lisp Condition System has several basic concepts:

    • conditions, typically implemented as CLOS classes

    • signalling a condition object, that’s typically done in user code.

    • handling the condition. Based on the condition a handler is selected and called. When the handler is running it can inspect and decide what to do. A handler typically declines handling the condition or selects one of the available restarts. In a typical development environment, this might involve presenting the restarts and asking the user for a choice.

    • restarting. The restart then is responsible to get out of the condition situation. Tranfer of control to the restart gets us out of the error context. We can enforce execution of code via ‘UNWIND-PROTECT’. Once we are restarting, the context where the condition was signaled is gone.

    That means that only the handler sees all the available restarts and a handler can also transfer control to the next handler.

    Jumping from restart to restart is not really part of this model.

    For some background on the condition system idea see this text by Kent Pitman: Condition Handling in the Lisp Language Family.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to ask if it is possible to copy/move all the objects
Is it not possible to move between pages in the canvas on facebook? I'm
Is it possible to move quickly from one place in code to another where
I'm curious if it is possible to move the written and fully working project
I was wondering if it is possible to move all rows of data from
I using jquery sorting ( http://jqueryui.com/demos/sortable/ ). Is it possible to sort (move list)
Possible Duplicate: How to get notified of UITableViewCell move start and end I have
Is it possible to make a line move between links when the mouse is
Is it possible to have the seekbar move only when the thumb is moved.
Is it possible to move SWF files to the asset pipeline, and if possible

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.