Tuesday, 4 December 2007

Web browsing with Emacs

No seriously.

I'm tired of switching between Emacs and my web browser. So here is what I did:

$ cd /path/to/scratch/space
$ wget http://emacs-w3m.namazu.org/emacs-w3m-1.4.4.tar.gz
$ cd emacs-w3m-1.4.4
$ cat > w3m-w23.el
;; Explanation: in Debian (at least), w3m-el tries to do
;; ("require" a file

;; w3m-e23.el when run from inside Gnu Emacs 23.x.x

(require 'w3m-e21)
(provide 'w3m-e23)
$ make install

And then, in my .emacs:

(when (locate-library "w3m-load") (require 'w3m-load))

Thanks to #emacs for the info.

No comments: