UP | HOME

emacs24 goodies

Table of Contents

Get emacs 24

  • Linux
    • Debian and derivatives – grab the debian ppa
      sudo add-apt-repository ppa:cassou/emacs
      sudo apt-get update
      
    • Fedora 17+ has emacs 24 in the repos
      sudo yum install emacs 
      
    • Build from source
      bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk emacs 
      # or wget from http://ftp.gnu.org/pub/gnu/emacs/
      cd !!:$
      ./autogen.sh
      ./configure # you may want to use --with-x-toolkit=gtk3 
      make
      
  • OSX
    • Either grab emacs for osx
      wget http://emacsformacosx.com/emacs-builds/Emacs-24.2-universal-10.6.8.dmg
      
    • Or use homebrew
      brew install emacs --cocoa --use-git-head --HEAD
      
    • Windows (?)

Install Prelude

  • Prelude is an enhanced Emacs configuration; More info can be found ‘here while the repo lives on ‘github
  • First backup your previous configuration
    mv .emacs{,BK}
    mv .emacs.d{,_BK}
    
  • Grab prelude isntaller from github and execute
    curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
    ll .emacs
    
  • Now launch emacs 24
    • It should start downloading and compiling packages
    • If seems stuck: 1. Move your cursor or click 2. close and open again
    • (wait.. and go to step above if necessary)

Interlude – or what to do next

  • Launch and maybe install even more packages
    • M-x list-packages shows all available packages
      • For instance, install solarized theme
  • Put your own .el customizations in ~/.emacs.d/personal

Postlude

Author: Nikos Vasilakis

Date: 2012-11-14 17:49:48 EST

HTML generated by org-mode 7.3 in emacs 24