Closed lsytj0413 closed 4 years ago
I also encountered the same problem. Emacs can't load expected major mode when first open a python file, which was loaded with Python/la
. However, the following python files opened would be loaded with right python mode Python
.
update: Remove semantic
layer toughly, the above problem was fixed for me.
@xuliuchengxlc Thank you for your help. Remove semantic works for me.
+1 but remove semantic is not work for me
I run into this error if the first python file that I open is below a .python-version
file (from pyenv, setting a virtual environment). If I open a python file that is not in a subfolder of a .python-version
file no error occurs. Opening a python file that is below a .python-version
file later does not raise the error either.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Error Message:
When i first open an python-file, it comes with the Selecting deleted buffer Error, and the completion doesn't work. But if i close the python-file and then open it again, the anaconda-mode configuring message is out, and the competion works fine.
I also notice that the ISSUE #1862 and ISSUE #1505, But this doesn't work for me.