Own JS/CSS options

Friday, November 1, 2013

Elpy 1.2 Released

I’m happy to announce that I just released version 1.2 of Elpy, the Emacs Python Development Environment. You can find a list of news since the last release below.

Elpy is an Emacs package to bring powerful Python editing to Emacs. It combines a number of other packages, both written in Emacs Lisp as well as Python.

Quick Installation

Evaluate this:

(require 'package)
(add-to-list 'package-archives
             '("marmalade" .
               "http://marmalade-repo.org/packages/"))

Then run M-x package-install RET elpy RET.

Finally, run the following (and add them to your .emacs):

(package-initialize)
(elpy-enable)

Changes in 1.2

  • Elpy now uses asynchronous RPC. This means that Emacs should not freeze anymore while eldoc or auto-complete functions run.
  • elpy-shell-send-region-or-buffer will now remove common indentation of the region, making it possible to easily send parts of an if statement or function body without manually adjusting the indentation.
  • The Python package depends on flake8, and will also try to be smarter when detecting flake8 for on-the-fly checking.
  • elpy-check can be run with a prefix argument to check the whole project, instead of only the current file.
  • elpy-rgrep-symbol now ignores a few common directories (.tox, build, dist).
  • When using the rope backend, Elpy will not create the .ropeproject folders anymore. This should keep projects a lot cleaner.