Skip to content

Spurious output when first opened in lumo #63

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? No Sign in to your account

Closed
arichiardi opened this issue Mar 20, 2017 · 5 comments
Closed

Spurious output when first opened in lumo #63

arichiardi opened this issue Mar 20, 2017 · 5 comments

Comments

@arichiardi
Copy link
Contributor

arichiardi commented Mar 20, 2017

Expected behavior

When first opening the repl and cursor is on code buffer, only cljs.user => should appear.

Actual behavior

The output of a command (for me it is arglists because the cursor was after fn symbol, but this varies) is printed in the *inf-clojure* buffer.

Steps to reproduce the problem

C-c C-z with popup window enabled and move the cursor around in the code buffer.

or in ielm:

ELISP> (setq inf-clojure-repl-type nil)
nil
ELISP> (inf-clojure-arglist 'defn)
nil

Environment & Version information

inf-clojure version information

Latest master

Lein/Boot version

Lumo latest master

Reminder to self 😓 😬 😀

@arichiardi
Copy link
Contributor Author

This happens because the detection code of the repl type is not sync so it gets interleaved with the arglists call.

@arichiardi
Copy link
Contributor Author

I found elisp-latch that happens to make things synchronous

@bbatsov
Copy link
Member

bbatsov commented Mar 26, 2017

This happens because the detection code of the repl type is not sync so it gets interleaved with the arglists call.

The the arglists call shouldn't be producing any REPL output, so I'm a bit confused how it might be causing this.

@bbatsov
Copy link
Member

bbatsov commented Apr 7, 2017

@arichiardi ping

I'm assuming this is one of the things blocking us from a 2.0 release.

@arichiardi
Copy link
Contributor Author

Yep, this still happens, I need to debug it.

arichiardi added a commit to arichiardi/inf-clojure that referenced this issue Apr 12, 2017
arichiardi added a commit to arichiardi/inf-clojure that referenced this issue Apr 12, 2017
arichiardi added a commit to arichiardi/inf-clojure that referenced this issue Apr 12, 2017
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants