Woops I forgot the continuable macro:

(defmacro continuable (&body body)
  "Helper macro that we can use to allow us to continue from an
   error. Remember to hit C in slime or pick the restart so
   errors don't kill the app."
  `(restart-case

       (progn ,@body)
     (continue () :report "Continue")))



On 2 November 2012 11:43, Chris Bagley <chris.bag...@gmail.com> wrote:

> @Peter: I can't remember where I stole it from but this works for me under
> sbcl. I haven't tried in ECL yet.
>
> (defun update-swank ()
>   "Called from within the main loop, this keep the lisp repl
>    working while code runs"
>
>   (base-macros:continuable
>     (let ((connection (or swank::*emacs-connection*
>                         (swank::default-connection))))
>       (when connection
>       (swank::handle-requests connection t)))))
>
>
>
> On 2 November 2012 08:54, Juan Jose Garcia-Ripoll <
> juanjose.garciarip...@gmail.com> wrote:
>
>>  On Fri, Nov 2, 2012 at 12:26 AM, Peter Enerccio <enerc...@gmail.com>wrote:
>>
>>> Is it possible to have repl not block and wait for error instead being
>>> available during the runtime of application?
>>> Right now, I have something similar made artificially but there are
>>> numerous errors when error actually happens in the stuff I evaluated.
>>>
>>
>> I am sorry I do not totally follow what you want to do
>>
>> Juanjo
>>
>> --
>> Instituto de FĂ­sica Fundamental, CSIC
>> c/ Serrano, 113b, Madrid 28006 (Spain)
>> http://juanjose.garciaripoll.googlepages.com
>>
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Central: Instant, anywhere, Remote PC access and management.
>> Stay in control, update software, and manage PCs from one command center
>> Diagnose problems and improve visibility into emerging IT issues
>> Automate, monitor and manage. Do more in less time with Central
>> http://p.sf.net/sfu/logmein12331_d2d
>> _______________________________________________
>> Ecls-list mailing list
>> Ecls-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ecls-list
>>
>>
>
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to