GNU, linux based systems, free software and other computer related things...

Building and Installing emacs-w3m

emacs-w3m is an Emacs interface to the w3m text browser.

Interesting urls:
emacs-w3m home page.
http://www.emacswiki.org/emacs/emacs-w3m.

First of all we install w3m text web browser.
# aptitude install w3m

As I have emacs version equal or higher to 23 I need to download emacs-w3m development version from source repository:
$ cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot login
Hit enter when asked for password.
$ cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot co emacs-w3m

Build and install it:
$ cd emacs-w3m
# aptitude install autoconf
$ autoconf
$ ./configure
$ make
# make install
# make install-icons

Configuring emacs: In my .emacs file:

 ;;w3m configuration.
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/w3m")  ;; Customize to your emacs site-lisp path.
(require 'w3m-load))

We could also set some variables:
(setq w3m-session-load-last-sessions t)
(setq w3m-use-cookies t)

To execute it:
M-x w3m

You can freely copy, change or create derivative works from this page contents, only requisite is adding a link to this web page.