I'm trying to go through the complicated process of getting Emacs to work as a Python IDE. However, the .emacs
file doesn't seem to be loading. Ctrl - h , v shows me that user-init-file
is what it should be, /home/txx/.emacs
. However, my load-path
doesn't include what I want it to, such as ~/.emacs.d/
.
The code in my .emacs
file is pretty long, so I have put it in Pastebin .
I'm using Fedora 16. What am I doing wrong?
From your Pastebin
- it looks as though the double quotes surrounding the paths you want to add to your load-path
are not recognized.
(add-to-list 'load-path “~/.emacs.d/”)
You should use the standard "
(which you use later on in your .emacs).
At least, that solves the first error I get when trying to load your .emacs.
Note: You really do not want the ~/.emacs.d
directory to be in your load-path
, trust me (you will bump into weird misbehaviors sooner or later if you do). If you want to install packages somewhere in ~/.emacs.d
, then put them in some sub-directory (eg ~/.emacs.d/packages
) and then add that sub-directory to your load-path
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.