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

Re: Using browse URL with WL



At Tue, 04 Feb 2014 14:55:20 -0700,
Ken Gunderson wrote:
> 
> At Tue, 04 Feb 2014 16:04:19 -0500,
> Rodrigo Amestica wrote:
> > 
> > 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?
> 
> No.  It seems to d/l embedded images such at
> http://some.spammer.com/foo.gif/your-email-address-id-cookie w/o
> prompt.  So if a spammer/miscreant included, for example, a 1x1 pixel
> image resolving to some host url, then your settings would suck that
> down w/o prompting for confirmation whenever you opened/viewed that
> particular message.  Which should be fine so long as you've got good
> filters.  Otherwise they may be collecting data on you and reselling,
> as spammer databases have value in and of themselves.
> 
> The above is just off the top of my head.  Please note that I haven't
> investigated thoroughly, but just wanted to point out a "head's up" on
> this until I had time to investigate more fully.

Wow! It was a misconception on my side about how is that links to images
actually work within a message body. 

Many thanks for the heads up Ken!
 Rodrigo

> 
> Thanks again!
> 
> Best-- Ken