LionでEmacs

やっと重い腰を上げてEmacsをコンパイルした。
結局Lionのフルスクリーンはやめて従来のフルスクリーンで。
SKKも入れたままやけどcommand+spaceでGoogle日本語入力を切り替えつつ使うことにする。


参考に見たのは Emacs23 (Cocoa Emacs) 入門から中毒まで : 紹介マニアEmacs23をMac OS X Lionでビルドする | Re: no subjectEmacs 23.2 on MacOS XでIMEオンのときのコマンド入力 - shtaxxx weblog、あたり。

curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-23.3a.tar.gz
#curl -O http://jaist.dl.sourceforge.jp/macemacsjp/47986/inline_patch-23.2-beta3.tar.gz
curl -O http://repo.or.cz/w/emacs.git/patch/c8bba48c5889c4773c62a10f7c3d4383881f11c1
curl -O http://repo.or.cz/w/emacs.git/patch/f2cea124dffac9ca4b8ce1dbb9b746f8e81109a3
#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
wget https://github.com/downloads/typester/emacs/feature-fullscreen.patch
tar zxvf inline_patch-23.2-beta3.tar.gz
tar zxvf emacs-23.3a.tar.gz
cd emacs-23.3
#patch -p 0 < ../inline_patch-23.2-beta3/emacs-inline.patch
patch -p 1 < ../c8bba48c5889c4773c62a10f7c3d4383881f11c1
patch -p 1 < ../f2cea124dffac9ca4b8ce1dbb9b746f8e81109a3
#patch -p 1 < ../emacs-23-lion-fullscreen-test.patch
patch -p 1 < ../fix-shiftmodifier-with-ime.patch
patch -p 1 < ../feature-fullscreen.patch
./configure --with-ns --without-x 2>&1 | tee ../make.log
make bootstrap 2>&1 | tee -a ../make.log
make install 2>&1 | tee -a ../make.log