Mac OS X 下安装 Emacs 24及配置preclude
Emacs AUCTEX Spell Checking Error: no dictionary ispell [Mac OS]

Ubuntu 13.04 + Emacs 24.3 + W3M

Author posted @ 2013年9月26日 08:05 in Emacs with tags emacs ubuntu , 6083 阅读

1. 下载安装w3m

$ apt-get install w3m
$ cvs -d co emacs-w3m


$ sudo cp -r emacs-w3m /usr/local/src/
$ cd /usr/local/src/emacs-w3m/
$ sudo autoconf
$ sudo ./configure
$ sudo make
$ sudo make install

2. Emacs 24.3,在~/.emacs.d/init.el 文件里添加如下设置

;; set emacs-w3m
(add-to-list 'load-path "/usr/local/src/emacs-w3m/")
(require 'w3m)
(require 'w3m-load)
;(require 'mime-w3m)
;; 设置w3m主页
(setq w3m-home-page "")
;; 默认显示图片
(setq w3m-default-display-inline-images t)
(setq w3m-default-toggle-inline-images t)
;; 使用cookies
(setq w3m-command-arguments '("-cookie" "-F"))
(setq w3m-use-cookies t)
(setq browse-url-browser-function 'w3m-browse-url)
(setq w3m-view-this-url-new-session-in-background t)

3. 在Emacs中开启w3m:

M-x w3m



sk 说:
2021年8月30日 13:08

I commend this business for having a fast! They really did a great job especially with the output that they produce and my expectations with them met.

登录 *

loading captcha image...
or Ctrl+Enter