cocoa emacsにemacs-w3mを導入した。

まずfinkw3mの最新版を導入.
finkemacs-w3mはemacs23に対応していないのでcvsからとってくる。

cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot login
cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot co emacs-w3m
cd emacs-w3m
autoconf
./configure --with-emacs=/Applications/Emacs.app/Contents/MacOS/Emacs --with-lispdir=/Applications/Emacs.app/Contents/Resource/share/emacs/site-lisp/w3m --with-icondir=/Applications/Emacs.app/Contents/Resource/etc/w3m
make
make install
make install-icons

として導入

.emacsに以下を書いてM-x w3mで動くはず!

(setq load-path (cons (expand-file-name "/Applications/Emacs.app/Contents/Resource/share/emacs/site-lisp/w3m/") load-path))
(require 'w3m-load)
;; w3mのbinaryの場所指定
(setq w3m-command "/sw/bin/w3m")
(autoload 'w3m "w3m" "Interface for w3m on Emacs." t)
(autoload 'w3m-find-file "w3m" "w3m interface function for local file." t)
(autoload 'w3m-search "w3m-search" "Search QUERY using SEARCH-ENGINE." t)
(autoload 'w3m-weather "w3m-weather" "Display weather report." t)
(autoload 'w3m-antenna "w3m-antenna" "Report chenge of WEB sites." t)
(autoload 'w3m-namazu "w3m-namazu" "Search files with Namazu." t)