clojure-emacs / inf-clojure

Basic interaction with a Clojure subprocess
249 stars 46 forks source link

inf-clojure-set-ns does not rerender prompt #149

Open timsgardner opened 6 years ago

timsgardner commented 6 years ago

inf-clojure-set-ns does not display a prompt or any other visual confirmation after running, which is unsettling, and inconsistent with inf-clojure-load-file, for example.

Expected behavior

After inf-clojure-set-ns runs, rerender prompt in the repl with the name of the namespace we've switched into.

Actual behavior

No prompt renders in repl. To rerender prompt, a form must be evaluated first.

Steps to reproduce the problem

Run inf-clojure-set-ns.

Environment & Version information

inf-clojure version information

2.1.0

Lein/Boot version

Leiningen 2.8.1

Emacs version

25.3.1

Operating system

OS X 10.13.2

arichiardi commented 6 years ago

Thanks for reporting! Are you using terminal based or socket REPL?

MalloZup commented 5 years ago

autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it

JasonKDarby commented 2 years ago

image

user=> #'rosy.core/example is from inf-clojure-load-file The rest is from inf-clojure-set-ns. It does give visual confirmation but is still inconsistent.

What's the ideal fix?