necaris / conda.el

Emacs helper library (and minor mode) to work with conda environments
MIT License
153 stars 49 forks source link

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

Closed vakker closed 2 years ago

vakker commented 3 years ago

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 commented 2 years ago

@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.