Emacs-w3m, a simple Emacs interface to w3m. 在它的configure中点击info manual会进入一个比较详细介绍它的教程
w3m本身是一个用于浏览网页的程序,安装方式就是 $ sudo apt-get install w3m,而如果想让它能够在Emacs中运行的话,我们就需要用到它与Emacs的接口程序Emacs-w3m
其实下面的整个安装过程非常简单,就是Cd 到该源程序所存放的位置,然后我们进行下面的配置安装,关键是别忘了最下面的make install-icons。我当时把它成“Emacs 21.1 or XEmacs”,没看到后面还有一个newer。然后安装很多次就是不能到所要的界面。
At the first, run the configure script.
% ./configureIf you've installed APEL, FLIM or something in non-standard directories other than the default load-path, you must specify them using the --with-addpath option as follows:
% ./configure --with-addpath=/opt/share/apel:/opt/share/flim
Next, execute the following commands to install emacs-w3m to an appropriate directory.
% make
# make install
If you are using Emacs 21.1 and newer or XEmacs, you had better install icon image files. To do this:
# make install-icons
(require 'w3m)
注意,如果出现乱码的话,可能是因为你的w3m版本太旧,需要下载w3m-el-snapshot.然后再启动就行了。
默认情况下,Emacs w3m 不会显示图片,但是键入T就可以满足需求。如果想让emacs 默认显示图片:
(setq w3m-default-display-inline-images t)