emacs24emacs-prelude

Emacs Prelude - Enable Python Indentation


Having installed emacs24 on ubuntu and preude via curl. I wanted to enable python support so I created sayth.el in the personal directory and added (require 'prelude-python)

After restarting though I still don't have any python support and no indentation support.

What should I be doing?


Solution

  • I created sayth.el in the personal directory and added (require 'prelude-python)

    I strongly doubt Emacs will know about sayth.el. Instead,

    1. Open emacs and do C-h v user-emacs-directory. This will probably be ~/.emacs.d, but it's wise to check.
    2. Check for prelude-modules.el in the emacs user directory. If that file is not there, there's another problem. If it's there,
    3. Open prelude-modules.el in emacs and uncomment the line containing (require 'prelude-python). (If it's already uncommented, there's another problem.)
    4. Save the file, exit emacs, and restart it.

    Having installed emacs24 on ubuntu and [prelude] via curl

    Just checking: did you install Prelude using Batsov's directions?