OK, the story is little complicated here. Firstly, I found there is a mode designed for Evernote. I do really like it, so I tried to run the mode on my Windows 7/Emacs 23 environment. But unfortunately, it require w3m loaded first. Then the nightmare starts. After several days deep studying, now I know the way for Windows and Ubuntu now. Will check on Mac later.
For ubuntu 10.10
- Install ubuntu 10.10 with default options
- Install the following packages
- emacs 23
- w3m
- cvs
- autoconf
- Get emacs-w3m mode by
cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot co emacs-w3m - Enter the folder then:
autoconf
./configure
make
sudo make install - Then add the following to the .emacs
(add-to-list ‘load-path “/usr/hsare/emacs/site-lisp/w3m”)
(require ‘w3m-load)
(require ‘w3m-e21)
(provide ‘w3m-e23)
(setq w3m-use-favicon nil)
(setq w3m-command-arguments ‘(“-cookie” “-F”))
(setq w3m-use-cookies t)
(setq w3m-home-page https://www.yuleshow.com)
(setq w3m-display-inline-image t)
For Windows 7
- Have Windows first
- Get patched emacs can be found here:
http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl
select the patched version
Which I downloaded is http://ourcomments.org/Emacs/DL/EmacsW32/EmacsCVS/ptch/Emacs-23-CvsP091103-EmacsW32-1.58.exe - Install emacs and add emacs.exe location to the environment PATH
- Install cygwin and add bin location to the environment PATH
Caution: cvs and w3m are optional, need manually checked - cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot co emacs-w3m
- Put downloaded emacs-w3m folder into site-lisp folder
- Run
emacs -batch -q -no-site-file -l w3mhack.el NONE -f w3mhack-nonunix-install - .emacs
(add-to-list ‘load-path “~/.emacs.d/site-lisp/emacs-w3m”)
(require ‘w3m-load)
(setq w3m-use-favicon nil)
(setq w3m-command-arguments ‘(“-cookie” “-F”))
(setq w3m-use-cookies t)
(setq w3m-home-page “https://www.yuleshow.com”)
References:
http://hi.baidu.com/muen2008/blog/category/Emacs
http://bbs.ctex.org/viewthread.php?tid=44404