まずはw3m-elパッケージをインストールする。
# aptitude install w3m-el The following NEW packages will be installed: w3m-el 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 645 kB of archives. After unpacking 2,519 kB will be used. Get:1 http://ftp.jp.debian.org/debian/ squeeze/main w3m-el all 1.4.4-10 [645 kB] Fetched 645 kB in 5s (121 kB/s) Selecting previously deselected package w3m-el. (Reading database ... 36123 files and directories currently installed.) Unpacking w3m-el (from .../w3m-el_1.4.4-10_all.deb) ... Processing triggers for install-info ... Setting up w3m-el (1.4.4-10) ... install/apel: already byte-compiled for emacs23, skipped install/w3m-el: byte-compiling for emacs23, logged in /tmp/elc.o6SmiD3PVxX3 install/w3m-el: deleting /tmp/elc.o6SmiD3PVxX3 install/w3m-el: byte-compiling for reverse dependency install/wl: byte-compiling for emacs23, logged in /tmp/elc.HRhL8Y4lwkis install/wl: deleting /tmp/elc.HRhL8Y4lwkis install/wl: byte-compiling for reverse dependency
次に.emacs/init.elに(require 'mime-w3m)を追記する。
$ echo "(require 'mime-w3m)" >> .emacs/init.el
後は、wanderlustを起動して、メールを表示する。text/htmlのメールはw3mでデコードされて表示される。