macosx lionでemacsのフルスクリーン表示

今つかっているemacsをビルドしたとき、フルスクリーンのパッチを当ててなかったので、入れなおしました。

# donwload emacs
curl -O http://ftp.gnu.org/gnu/emacs/emacs-23.3b.tar.bz2
tar xjf emacs-23.3a.tar.bz2

#  download patches
curl -o xcode_1.patch http://repo.or.cz/w/emacs.git/commitdiff_plain/c8bba48c5889c4773c62a10f7c3d4383881f11c1
curl -o xcode_2.patch https://raw.github.com/gist/1098107
wget https://github.com/downloads/typester/emacs/emacs-23-lion-fullscreen-test.patch
wget https://github.com/downloads/typester/emacs/fix-shiftmodifier-with-ime.patch

# apply patches
cd emacs-23.3
patch -p1 < ../xcode_1.patch 
patch -p1 < ../xcode_2.patch 
patch -p1 < ../emacs-23-lion-fullscreen-test.patch 
patch -p1 < ../fix-shiftmodifier-with-ime.patch 

# install
./configure --with-ns --without-x
make bootstrap
make install

あとはemacs-23.3/nextstep/Emacs.appを/Applicationsにコピーして使います。

参考)
http://henry.animeo.jp/wp/?p=1510