[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] externals/sly e914200 07/47: wait-for-input: better "not implem
From: |
ELPA Syncer |
Subject: |
[nongnu] externals/sly e914200 07/47: wait-for-input: better "not implemented" error. |
Date: |
Thu, 17 Dec 2020 18:57:13 -0500 (EST) |
branch: externals/sly
commit e914200f304eaf29cbf9896dcdd16977e3879ff6
Author: Stas Boukarev <stassats@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
wait-for-input: better "not implemented" error.
Disable the SLY debugger or it will use wait-for-input as well and
never do anything.
* slynk/slynk-backend.lisp (wait-for-it): Better default
implementation.
Co-authored-by: João Távora <joaotavora@gmail.com>
Cherry-pick-from: SLIME commit bdef5868c41b306e54c21c68ed7775d3dbf56b0d
---
slynk/slynk-backend.lisp | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/slynk/slynk-backend.lisp b/slynk/slynk-backend.lisp
index 812df31..de9fb23 100644
--- a/slynk/slynk-backend.lisp
+++ b/slynk/slynk-backend.lisp
@@ -1467,7 +1467,17 @@ which are ready (or have reached end-of-file) without
waiting.
If TIMEOUT is a number and no streams is ready after TIMEOUT seconds,
return nil.
-Return :interrupt if an interrupt occurs while waiting.")
+Return :interrupt if an interrupt occurs while waiting."
+ (declare (ignore streams timeout))
+ ;; Invoking the slime debugger will just endlessly loop.
+ (call-with-debugger-hook
+ nil
+ (lambda ()
+ (error
+ "~s not implemented. Check if ~s = ~s is supported by the
implementation."
+ 'wait-for-input
+ (read-from-string "SLYNK:*COMMUNICATION-STYLE*")
+ (symbol-value (read-from-string "SLYNK:*COMMUNICATION-STYLE*"))))))
;;;; Locks
- [nongnu] externals/sly 7c7f23b 46/47: Default *STRING-ELISION-LEGNTH* to 200 in *SLYNK-PPRINT-BINDINGS*, (continued)
- [nongnu] externals/sly 7c7f23b 46/47: Default *STRING-ELISION-LEGNTH* to 200 in *SLYNK-PPRINT-BINDINGS*, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 7bad394 09/47: Improve compiler messages for Clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly c4c7ae5 13/47: slynk-abcl: fix typo, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly c794fe6 30/47: Remove recursive locks for clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 57ffb2a 33/47: sbcl: fix access to &more vars in the debugger, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly dcfe556 02/47: Fixed sldb and backtraces in clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 1dbf876 04/47: ecl: frame-source-location: return error if frame source not found, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly cd85cf6 35/47: Improve xref definitions for M-. in clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 6785833 37/47: clasp: implement profiling via metering, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 1346967 38/47: Remove use of compatibility accessors, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly e914200 07/47: wait-for-input: better "not implemented" error.,
ELPA Syncer <=
- [nongnu] externals/sly e883812 11/47: Fix SLYNK-SBCL:COMPILER-NOTE-LOCATION for non-file-backed streams, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 425146d 31/47: Print more code-source-location info for clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 1188cfc 34/47: Ignore utf-8 encoding errors, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 4717cb9 44/47: Tolerate leading whitespace in slime-search-buffer-package, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 00cbab0 01/47: Slynk: avoid race conditions when killing threads, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 47e8d27 05/47: add architecture :aarch64 (for ECL), ELPA Syncer, 2020/12/17
- [nongnu] externals/sly f7c6048 08/47: arglist-dispatch: better handling of closer-mop wrappers., ELPA Syncer, 2020/12/17
- [nongnu] externals/sly bf157ae 10/47: Changed the name of a function in Clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 57b6d3f 18/47: abcl: consolidate fixes and features, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly e79f9f2 23/47: sbcl: consult sb-impl:+internal-features+ when reading source files., ELPA Syncer, 2020/12/17