I am trying to configure emacs with python-mode.el
. I have done plenty of research, although I am still novice because I am not sure how to configure everything. I have used the following resources, which have been helpful:
- Why I chose python-mode.el: http://www.emacswiki.org/emacs/PythonProgrammingInEmacs
- General emacs modes info: https://www.gnu.org/software/emacs/manual/html_node/emacs/Choosing-Modes.html#Choosing-Modes
- Andrea Crotti explains his setup: http://www.youtube.com/watch?v=0cZ7szFuz18
- Andrea's configuration instructions via README.md
- Andrea's init.el file
- Jedi Repository
- Python 2.7 installed via Enthought Canopy
- Downloaded python-mode.el here
I have been setting up to use Andrea's approach, and I believe that I have the resources, but I still have questions:
- I have a
.emacs
file, which I know to remove. Should I migrate the contents of my.emacs
file under a new file,~/.emacs.d/init.el
? - Since I plan to use Andrea's
init.el
file, should I add it with the contents from my old.emacs
file into a singleinit.el
file? - I extracted the python-mode .tar.gz file under
~\.emacs.d\python-mode.el-6.1.2
. Is this correct, or should I use a package manager like ELPA? - From Andrea's
README.md
, I can install Jedi viapip install jedi epc pylint
. Where should I clone the Jedi repository, and where should I runpip install jedi epc pylint
? - I have Enthought's Canopy python 2.7 installed under
C:\Users\Lucas\AppData\Local\Enthought\Canopy\User
, which haspython.exe
along withlibs
(with all the libraries I'll need), but I am not sure if this location will cause me problems in the future. Should I re-install python 2.7 underC:\
?
I am using Emacs version 24.3 OS: Windows 7