inf-clojure

Fil 2024-07-18T14:09:15.937949Z

Hi! I'm trying inf-clojure, and I noticed something is annoying me. Pressing enter doesn't make a new line with the user=>. Is that related to inf-clojure or something in my emacs configuration?

dpsutton 2024-07-18T14:11:40.083349Z

what about control-j?

Fil 2024-07-18T14:14:57.649769Z

Same thing; it breaks the line but doesn't return the prompt =>

Fil 2024-07-18T14:15:33.896019Z

Does it happen to you?

dpsutton 2024-07-18T14:16:02.916019Z

yes it does. same behavior

dpsutton 2024-07-18T14:16:13.889749Z

does it work correctly when given inputs? (+ 1 1) etc?

Fil 2024-07-18T14:16:30.785769Z

Yes, the repl is not blocked.

Fil 2024-07-18T14:17:16.334879Z

What is interesting with control-j is that after putting some value, it returned multiple times user=>

user=> 





2
user=> user=> user=> user=> user=> user=> 2

Fil 2024-07-18T14:18:34.988289Z

And works fine evaluating

user=> 2

2
user=> 2
2
user=> 2
2
user=> 

Fil 2024-07-18T14:20:32.918519Z

This is the behavior I expected to have; the same when I run in my terminal clj

$ clj
Clojure 1.11.3
user=> 
user=> 
user=> 
user=> 
user=> 
user=> 
user=>  

Fil 2024-07-22T11:04:21.885849Z

@bozhidar, the https://github.com/clojure-emacs/inf-clojure/issues/216 has been created in Gihub. Please let me know if you need any more info.

👍 1
bozhidar 2024-07-20T07:54:17.684539Z

Feel free to open a ticket about this. Likely we'll need to add some special handling for this case.

👍 1