-
Install w3m (apt-get install w3m) and ruby (apt-get install ruby1.8);
-
Download "evernote-mode-0.41.zip" from emacs-evernote-mode; Unzip it and
sudo ruby setup.rb
; -
Add the following into ~/.emacs
(add-to-list 'load-path "~/.emacs.d") (require 'evernote-mode) (setq evernote-username "leechau@126.com") ; optional: you can use this username as default. (setq evernote-enml-formatter-command '("w3m" "-dump" "-I" "UTF8" "-O" "UTF8")) ; option (global-set-key "\C-cec" 'evernote-create-note) (global-set-key "\C-ceo" 'evernote-open-note) (global-set-key "\C-ces" 'evernote-search-notes) (global-set-key "\C-ceS" 'evernote-do-saved-search) (global-set-key "\C-cew" 'evernote-write-note) (global-set-key "\C-cep" 'evernote-post-region) (global-set-key "\C-ceb" 'evernote-browser)
-
apt-get install libopenssl-ruby
Note:
-
Install ruby 1.9.1 will produce a "Use RbConfig instead of obsolete and deprecated Config" error
-
The minibuffer message "not catch for tag, error, 8 " while I type M-x evernote-login. Give up this mode, See: "https://code.google.com/p/emacs-evernote-mode/issues/detail?id=16" and "http://code.google.com/p/emacs-evernote-mode/issues/detail?id=28"