A multilingual input method framework
Revision | c0c8c7f0c18093d31e8bda431725f883fb9aee13 (tree) |
---|---|
Time | 2006-12-27 12:06:06 |
Author | yamaken <yamaken@ff9a...> |
Commiter | yamaken |
* scm/uim-sh.scm
@@ -47,15 +47,10 @@ | ||
47 | 47 | (eof (eof-object? expr))) |
48 | 48 | (if (not eof) |
49 | 49 | (begin |
50 | - (guard (err | |
51 | - (else | |
52 | - (display err) | |
53 | - (%%backtrace) | |
54 | - #f)) | |
55 | - ((if uim-sh-opt-strict-batch | |
56 | - (lambda (obj) #f) | |
57 | - print) | |
58 | - (eval expr (interaction-environment)))) | |
50 | + ((if uim-sh-opt-strict-batch | |
51 | + (lambda () #f) | |
52 | + print) | |
53 | + (eval expr (interaction-environment))) | |
59 | 54 | (uim-sh-loop)) |
60 | 55 | #f)))) |
61 | 56 |
@@ -96,11 +91,15 @@ | ||
96 | 91 | (if (and uim-editline-enabled |
97 | 92 | (symbol-bound? 'uim-editline-readline)) |
98 | 93 | (activate-editline)) |
99 | -; (if (*catch | |
100 | -; 'all | |
101 | -; (uim-sh-loop)) | |
102 | -; (uim-sh args)))))) | |
103 | - (uim-sh-loop))))) | |
94 | + (if (guard (err | |
95 | + (else | |
96 | + (display err) | |
97 | + (newline) | |
98 | + (if (>= (verbose) 2) | |
99 | + (%%backtrace)) | |
100 | + #t)) | |
101 | + (uim-sh-loop)) | |
102 | + (uim-sh args)))))) | |
104 | 103 | |
105 | 104 | (if (symbol-bound? 'uim-editline-readline) |
106 | 105 | (begin |