Comments (2)
The bug description was:
(mapcar #'interactive-stream-p (list *debug-io* *error-output* *query-io* *standard-input* *standard-output* *trace-output*))
Running the above in the Slime REPL incorrectly yields (NIL NIL NIL NIL NIL NIL).
Running it in the raw SBCL REPL correctly yields (T T T T T T).
I'm using SBCL 1.0.51 and Slime 2012-04-07 from Quicklisp.
Alexander commented:
Hey, guys! Does somebody have any ideas how to fix it?
In some implementations, interactive-stream-p is a generic method. For example, in ccl and in sbcl. In those cases, it should be a simple matter of overriding it for swank-streams.
In ccl and in sbcl:
test> (values *standard-input* *standard-output*)
#<swank/gray::slime-input-stream #x302002194CED>
#<swank/gray::slime-output-stream #x302002194BBD>
test> (defmethod interactive-stream-p ((stream swank/gray::slime-input-stream)) t)
#<standard-method interactive-stream-p (swank/gray::slime-input-stream)>
test> (defmethod interactive-stream-p ((stream swank/gray::slime-output-stream)) t)
#<standard-method interactive-stream-p (swank/gray::slime-output-stream)>
test> (interactive-stream-p *standard-input*)
t
test> (interactive-stream-p *standard-output*)
t
test>
from slime.
Now, the problem is to make LISTEN work correctly on slime-input-streams! Since that's basically the only CL operator that depends on an interactive-stream to give a specific result.
from slime.
Related Issues (20)
- Debugger REPL HOT 4
- Section "Basic customization" talks about two examples, but only has one
- Warning: 'etypecase' is an obsolte alias (as of 27.1) HOT 1
- `slime-edit-definition` with local-nicknames? HOT 1
- double M-x slime fails to open the second slime repl buffer
- New release HOT 5
- emacs Warning (bytecomp): Unused lexical variable βstartβ HOT 3
- Indexing restarts with letters HOT 5
- Mode line issues when package name contains %
- Fuzzy completions: "Selecting deleted buffer"
- `slime-init-command` fails to use the proper directory for `slime-backend` HOT 1
- Lost connection due to large arrays
- M-x slime [No match] HOT 18
- inferior-lisp window causes wonky window layout with lisp-mode slime hook HOT 5
- Infinite loop in slime-presentation-start HOT 1
- SLIME (ver 2.29.1): REPL Font Coloring and Indentation upon TAB Breaks Frequently HOT 3
- Error compilation on SBCL 2.4.2 HOT 3
- Slime (ver 2.29.1) REPL Occasional Incorrect Indentation upon Pressing TAB key HOT 3
- Segmentation fault when running slime with clisp in cygwin HOT 2
- Setting `sly-lisp-implementations` to a command that has quotes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slime.