w3m 进行网页浏览

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.

    % ./configure
If 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)



Emacs inline image

http://w3m.sourceforge.net/MANUAL#Key:orig

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值