Skip to content
New issue

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

By clicking “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? Sign in to your account

Namespace in clojure not set automatically #82

Open
souvikhaldar opened this issue Oct 25, 2019 · 4 comments
Open

Namespace in clojure not set automatically #82

souvikhaldar opened this issue Oct 25, 2019 · 4 comments

Comments

@souvikhaldar
Copy link

While following clojure track, I realise that namespace is not set
automatically when I'm writing in emacs, after doing cider-jack-in
and I have to run C-c M-n M-n always to set the namespace, as
mentioned here- clojure-emacs/cider#2399.

@NobbZ
Copy link
Member

NobbZ commented Oct 25, 2019

\cc @exercism/clojure

@NobbZ NobbZ transferred this issue from exercism/exercism Oct 25, 2019
@haus
Copy link

haus commented Oct 27, 2019

@souvikhaldar I don't use cider or emacs, so I'm a bit unfamiliar with this problem. Is there something about how the clojure track is setup that makes this happen or that would allow the namespace to be automatically setup?

@souvikhaldar
Copy link
Author

Before running the REPL
image

After the REPL started running:-
image

Namespace set to user is not the namespace this code is in.
For setting the Namespace I do C-c M-n M-n.
Now the namespace is set to armstrong-numbers
image

So I would suggest, maybe we can do this process automatically via script, or add this as guideline for those who wish to do the clojure track and use emacs+cider for the same.

@souvikhaldar
Copy link
Author

Do you want me to add this to documentation somewhere? @haus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants