My Favourite Emacs Packages

After a few years doing my PhD I’ve settled on Emacs as my main editor. This is mainly because it is incredibly powerful and extendable, there are thousands of free packages available to use and everything can be tweaked exactly the way I want.

The price to pay for this freedom is a fairly steep learning curve and the need to get familiar with Emacs Lisp (for customizing packages). However Emacs has been around since 1976 and is still under active development so it must have something going for it!

In this post I’ve described some of what I consider the most useful packages to get started with Emacs. For a guide on how to install Emacs packages in the latest version see this page.

Continue reading “My Favourite Emacs Packages”

Emacs and Anaconda Python

Recently I posted a blog about using Emacs and Python together. It was about having setting in your .emacs file allowing Emacs to interact with the default Python and SciPy/NumPy from the Ubuntu repositories, which is out of date. After changing Python version to Anaconda Python this broke all my Emacs setup! It was a real pain to fix so I’ve collected the main ideas here.

Anaconda Python

To use the latest versions of the Python packages like SciPy and NumPy I downloaded the Anaconda Python distribution. It includes lots of the most useful Python packages for scientific computing by default such as

  • Numba and Cython for speeding up code.
  • SymPy for symbolic computation.
  • F2Py for converting Fortran code.
  • IPython for a better interactive experience.
  • mpi for parallel computing.
  • PEP8 and PyFlakes to enforce coding standards.

I’d really recommend it as an easy way to get a good Python install. You can also pay extra for upgrades like linking NumPy with MKL for enhanced speed (which is free for academics).

Continue reading “Emacs and Anaconda Python”

Emacs and Python

Currently at Manchester we’re debating whether to try and use more open source software like Python within our research. I’d never used Python before but whilst learning it I wanted to configure it for use in Emacs.

Unfortunately I couldn’t find a guide to setting up Emacs for scientific computing. However there is a lot of information out there (references at the end). This post will hopefully bring together the basic information needed to get a working Python setup in Emacs for computational scientists.

Continue reading “Emacs and Python”