Move inspector-handler from eval-s... to callers
part of darcs patch Thu Sep 22 19:55:01 EEST 2005 Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
This commit is contained in:
parent
8741947e54
commit
6d3470be25
|
@ -17,13 +17,9 @@
|
||||||
(read string-port)))
|
(read string-port)))
|
||||||
|
|
||||||
(define (eval-string str)
|
(define (eval-string str)
|
||||||
(with-inspector-handler
|
|
||||||
(lambda ()
|
|
||||||
(eval (read-sexp-from-string str)
|
(eval (read-sexp-from-string str)
|
||||||
(evaluation-environment)))))
|
(evaluation-environment)))
|
||||||
|
|
||||||
(define (eval-s-expr s-expr)
|
(define (eval-s-expr s-expr)
|
||||||
(with-inspector-handler
|
(eval s-expr (evaluation-environment)))
|
||||||
(lambda ()
|
|
||||||
(eval s-expr (evaluation-environment)))))
|
|
||||||
|
|
||||||
|
|
|
@ -236,7 +236,10 @@
|
||||||
(command-plugin (find-command-plugin command))
|
(command-plugin (find-command-plugin command))
|
||||||
(viewer
|
(viewer
|
||||||
(find/init-plugin-for-result
|
(find/init-plugin-for-result
|
||||||
((command-plugin-evaluater command-plugin) command args)))
|
(with-inspector-handler
|
||||||
|
(lambda ()
|
||||||
|
((command-plugin-evaluater command-plugin)
|
||||||
|
command args)))))
|
||||||
(new-entry
|
(new-entry
|
||||||
(make-history-entry command args viewer)))
|
(make-history-entry command args viewer)))
|
||||||
;; FIXME, use insert here
|
;; FIXME, use insert here
|
||||||
|
@ -290,7 +293,9 @@
|
||||||
(process-scheme-command command-line)
|
(process-scheme-command command-line)
|
||||||
(let* ((viewer
|
(let* ((viewer
|
||||||
(find/init-plugin-for-result
|
(find/init-plugin-for-result
|
||||||
(eval-string command-line)))
|
(with-inspector-handler
|
||||||
|
(lambda ()
|
||||||
|
(eval-string command-line)))))
|
||||||
(new-entry
|
(new-entry
|
||||||
(make-history-entry command-line '() viewer)))
|
(make-history-entry command-line '() viewer)))
|
||||||
;; #### shouldn't we use some kind of insertion here?
|
;; #### shouldn't we use some kind of insertion here?
|
||||||
|
|
|
@ -296,6 +296,7 @@
|
||||||
joblist
|
joblist
|
||||||
jobs
|
jobs
|
||||||
run-jobs-internals
|
run-jobs-internals
|
||||||
|
eval-environment
|
||||||
layout
|
layout
|
||||||
fs-object
|
fs-object
|
||||||
pps
|
pps
|
||||||
|
@ -501,7 +502,6 @@
|
||||||
(open scheme
|
(open scheme
|
||||||
srfi-6
|
srfi-6
|
||||||
|
|
||||||
inspection-objects
|
|
||||||
rt-modules)
|
rt-modules)
|
||||||
(files eval-environment))
|
(files eval-environment))
|
||||||
|
|
||||||
|
@ -741,8 +741,6 @@
|
||||||
|
|
||||||
(define-interface run-jobs-internals-interface
|
(define-interface run-jobs-internals-interface
|
||||||
(export
|
(export
|
||||||
eval-string
|
|
||||||
eval-s-expr
|
|
||||||
run/console*
|
run/console*
|
||||||
run/fg*
|
run/fg*
|
||||||
run/bg*))
|
run/bg*))
|
||||||
|
|
Loading…
Reference in New Issue