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

Some environments don't activate with dir-locals #89

Closed
vakker opened this issue May 26, 2021 · 1 comment
Closed

Some environments don't activate with dir-locals #89

vakker opened this issue May 26, 2021 · 1 comment

Comments

@vakker
Copy link

vakker commented May 26, 2021

I started a new project with a new conda env, but for some reason the new env is not activated in emacs.
I have the following in my .dir-locals.el:

((python-mode . ((eval . (conda-env-activate "newenv")))))

It doesn't activate the env when I open a file from the folder.

However, if I change to another env that I've been using for some time, i.e.:

((python-mode . ((eval . (conda-env-activate "oldenv")))))

then it works without any issues.

There is no error message of anything. Any ideas?

@necaris
Copy link
Owner

necaris commented Jun 28, 2022

@vakker is this still an issue for you? Closing it as inactive as I haven't been able to investigate and no further details are available, but if it is still causing errors we can try to diagnose further.

@necaris necaris closed this as completed Jun 28, 2022
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

2 participants