[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using browse URL with WL



At Mon, 03 Feb 2014 19:47:45 -0700,
Ken Gunderson wrote:
> 
> Hello:
> 
> Any clue bats for how I can configure Wanderlust to use mime-w3m (or
> something else) to view/display html'ized email in a readable format
> and still use browse-url-browser-function to open links in my
> preferred web browser rather than w3m??
> 
> TIA-- Ken

this seems to have done for me.

Cheers,
 Rodrigo

1 Render html using w3m
=======================

  ,----
  | (eval-after-load "w3m"
  |   '(progn
  |      (setq w3m-goto-article-function 'browse-url)
  |      (define-key w3m-mode-map [left] 'backward-char)
  |      (define-key w3m-mode-map [right] 'forward-char)
  |      (define-key w3m-mode-map [up] 'previous-line)
  |      (define-key w3m-mode-map [down] 'next-line)
  |      (define-key w3m-minor-mode-map [left] 'backward-char)
  |      (define-key w3m-minor-mode-map [right] 'forward-char)
  |      (define-key w3m-minor-mode-map [up] 'previous-line)
  |      (define-key w3m-minor-mode-map [down] 'next-line)))
  | (require 'w3m)
  | (require 'mime-w3m)
  | (setq mime-w3m-display-inline-images t)
  | (setq mime-w3m-safe-url-regexp nil)
  `----