Skip to content

Instantly share code, notes, and snippets.

@viz3
Created June 6, 2012 09:51
Show Gist options
  • Save viz3/2881006 to your computer and use it in GitHub Desktop.
Save viz3/2881006 to your computer and use it in GitHub Desktop.
install elscreen on cocoa emacs
#!/bin/sh
# Install APEL
# http://git.chise.org/elisp/apel/
wget 'http://kanji.zinbun.kyoto-u.ac.jp/~tomo/lemi/dist/apel/apel-10.8.tar.gz'
tar zxvf apel-10.8.tar.gz
pushd apel-10.8
export EMACS="$HOME/Applications/Emacs.app/Contents/MacOS/Emacs"
make install LISPDIR=~/.emacs.d/lisp VERSION_SPECIFIC_LISPDIR=~/.emacs.d/lisp INFODIR=~/.emacs.d/info
popd
# Install ElScreen
# http://www.morishima.net/~naoto/elscreen-ja/
install_dir="$HOME/.emacs.d/lisp/elscreen"
curl 'ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/elscreen-1.4.6.tar.gz' | tar zxvf -
mkdir -p "$install_dir"
cp elscreen-1.4.6/elscreen.el "$install_dir"
cat <<EOF
(load "elscreen" "ElScreen" t)
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment