Tianxiang Xiong
Tianxiang Xiong

Reputation: 4081

Initialization file not loading in Emacs?

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?

Upvotes: 0

Views: 2887

Answers (2)

Stefan
Stefan

Reputation: 28531

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 (e.g. ~/.emacs.d/packages) and then add that sub-directory to your load-path.

Upvotes: 0

Trey Jackson
Trey Jackson

Reputation: 74430

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.

Upvotes: 3

Related Questions