[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using browse URL with WL
At Mon, 03 Feb 2014 23:17:47 -0500,
Rodrigo Amestica wrote:
>
> 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.
Awesome!! Many thanks!! Been bugging me ever since I switched to
Emacs and Wanderlust (I use emacs but can't code lisp - go figure:).
> 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)
> `----
Except I think that last bit might be a little sketchy. You really
want any and all email containing embedded image url's phoning home to
the spammers?? Or am I missing something there??
Thanks again!
Best-- Ken