R.A. Epigonos et al.

[wanderlust] メールのhtmlパートを表示するにはmime-w3mパッケージを使う

htmlパートを含むメールをmine-w3m無しに表示するとソースが表示されて見づらいので。

必要なパッケージ(mime-w3m)をemacsの起動時に読み込むようにする。

$ echo "(require 'mime-w3m)" >> ~/.emacs

パッケージがない場合はemacsの起動時に以下のようなメッセージが流れる。

Warning (initialization): An error occurred while loading `/home/**********/.emacs':

File error: Cannot open load file, mime-w3m

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

ない場合は以下のようにw3m-elパッケージをインストールする。この後にemacsを起動しても上のエラーは表示されない。

# 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 0s (831 kB/s)
Selecting previously deselected package w3m-el.
(Reading database ... 67819 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.8IcgXaz1qdR5
install/w3m-el: deleting /tmp/elc.8IcgXaz1qdR5
install/w3m-el: byte-compiling for reverse dependency
install/wl: byte-compiling for emacs23, logged in /tmp/elc.DtikVDxiLYNO
install/wl: deleting /tmp/elc.DtikVDxiLYNO
install/wl: byte-compiling for reverse dependency

この後にwanderlustを起動してhtmlパートのあるメールを表示するとhtmlが解釈されて表示される。リンクを辿りemacsの中でこれを表示することもできる。

リファレンス

  1. Debian -- Details of package w3m-el in squeeze
  2. Emacs-w3m -- an Emacs interface to w3m --: メール/ニュースリーダーで使う
  3. wanderlust html w3m - Google 検索

ソーシャルブックマーク

  1. はてなブックマーク
  2. Google Bookmarks
  3. del.icio.us

ChangeLog

  1. Posted: 2009-11-10T16:32:12+09:00
  2. Modified: 2009-11-10T16:32:12+09:00
  3. Generated: 2023-08-27T23:09:11+09:00