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

Don't optimize for a shell buffer already existing #142

Closed
wants to merge 2 commits into from

Conversation

necaris
Copy link
Owner

@necaris necaris commented Feb 25, 2023

Just apply the conda advice unconditionally.

Closes #138

@necaris
Copy link
Owner Author

necaris commented Feb 25, 2023

@louisdecharson this may fix the issue?

@louisdecharson
Copy link
Contributor

@necaris , it's not helping unfortunately.
Using the branch yields the same results, e.g. activating an environment with conda.el does not change the default environment for the shell.

I see the following in my *Messages* buffer:

About to set CONDA_PREFIX to /Users/louis_de_charsonville/opt/anaconda3/envs/py39
About to set CONDA_SHLVL to 1
About to set CONDA_DEFAULT_ENV to py39
About to set CONDA_PROMPT_MODIFIER to (py39) 
About to set CONDA_EXE to /Users/louis_de_charsonville/opt/anaconda3/bin/conda
About to set _CE_M to 
About to set _CE_CONDA to 
About to set CONDA_PYTHON_EXE to /Users/louis_de_charsonville/opt/anaconda3/bin/python
new path? /Users/louis_de_charsonville/opt/anaconda3/envs/py39/bin:/Users/louis_de_charsonville/opt/anaconda3/condabin:/Users/louis_de_charsonville/.nvm/versions/node/v16.17.0/bin:/usr/local/opt/[email protected]/bin:/usr/local/sbin:/Library/TeX/texbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin:/Users/louis_de_charsonville/opt/anaconda3/condabin:/Library/TeX/texbin:/Users/louis_de_charsonville/.local/bin:/Users/louis_de_charsonville/code/flutter/bin:/usr/local/opt/fzf/bin:/Users/louis_de_charsonville/.local/bin

And the python environment is still wrong:
image

However running run-python works, e.g. I have a Python 3.9 IPython buffer.

@necaris necaris closed this Oct 5, 2024
@necaris necaris deleted the fix/dont-optimize-for-existing-buffer-in-shell branch October 5, 2024 16:12
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

Successfully merging this pull request may close these issues.

Prefix is not added in shell prompt in Emacs 29.0.60
2 participants