Skip to content

zellux/emacs-configuration

Repository files navigation

Pre-requisitions

Mac OS X & Linux

  • auctex
  • cscope

ArchLinux

  • pymacs
  • emacs-haskell-mode
  • slime
  • emacs-color-theme
  • emacs-jabber (available on aur)
  • mercurial

Ubuntu

  • emacs-goodies-el
  • emacs-jabber
  • python-mode
  • emms
  • libtagc0-dev
  • cscope-el

Windows

HOME environment ==

Open System Properties -> Environment Variables -> New, and add a new environment variable HOME, its value should be the path to the .emacs directory

Setup

Link emacs.symlink to ~/.emacs. In emacs, run M-x package-list-packages to initialize package system, and then restart emacs.

Packages

Add MELPA to package repository (http://melpa.org/#/getting-started).

These packages may need to be installed:

  • jsx-mode
  • projectile

submodules

$ git submodule init && git submodule update && git submodule status

cedet

$ emacs -Q -l cedet-build.el -f cedet-build

jabber

$ autoreconf -i
$ ./configure && make

muse

For LaTeX mathematical equations, install packages tetex-extra and dvipng.

pymacs

  • Compile Python libraries

    make install

After successful installation, you should be able to execute from Pymacs import lisp in an interactive Python shell.

  • Compile pymacs elisp source code

    M-x byte-compile-file RET pymacs.el RET

structured-haskell-mode

$ cd langmode/haskell/structured-haskell-mode
$ cabal install

helm

$ cd utils/helm
$ make

js3-mode

$ cd langmode/javascript/js3-mode
$ bin/build

Troubleshooting

(error "Cannot open doc string file "/usr/share/emacs/24.1.50/etc/DOC-24.1.50.1"")

See this issue on GitHub. A workaround:

$ cd /usr/share/emacs/24.1.50/etc
$ sudo ln -s DOC-24.1.50.2 DOC-24.1.50.1