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

Re: Using browse URL with WL



At Tue, 04 Feb 2014 13:43:05 -0700,
Ken Gunderson wrote:
> 
> 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??

if I remember well then the problem I had without setting
mime-w3m-safe-url-regexp to nil was that every time I tried to follow a link it
would ask me for confirmation and that drove me crazy. On the other hand, either
in wl or any other client, if I see a link in an email then I assume that it is
extremely unsafe to click it, unless the message is from a well known
source. That is, I normally click links from known people messages only. Does
that make sense?

If I inspect the variable it shows nil and it tells me that the original value
was "\\`cid:". Is that your same default?

> 
> Thanks again!

Welcome!

Rodrigo

> 
> Best-- Ken
>