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

Re: reading and writing html mail



At Mon, 15 Mar 2010 16:34:32 -0700,
docgnome  wrote:
> 
> At Mon, 15 Mar 2010 17:28:00 -0400,
> Matt Price wrote:
> > two more little issues:
> > 
> > - when I receive an html mail, I would like to be able to click on a
> >   link & have it open in firefox (or perform some keystroke when point
> >   is inside some linked text, for the same purpose).  right now
> >   thisdoesn't work -- I can open a link written in plain text, but
> >   trying the same trick (M-x browswe-url) in html mail doesn't work.
> >   Any clues?
> (require 'w3m-load)
> (require 'mime-w3m)
> (add-hook 'wl-init-hook 'mime-w3m-insinuate)

ah, that is working (didn't have the insinuate line).  but I would
*much* rather have links come up in firefox.  is there a way to
customize either mime or w3m to make that happen?  
> 
> That should do the trick assuming you have the emacs w3m stuff and
> w3m. It will render emails as html if it is available but plain text
> if it isn't.
> > - occasionally I want to send an html mail, usually in response to one
> >   I've received.  I would really like to be able to use e.g. org-mode
> >   style links in the text, e.g. [[click
> >   here][http://some.url.here/right]] and have them render as html
> >   after processing.  does anyone do this?  maybe using some kind of
> >   hook to switch composition modes depending on whether the mail
> >   you're repsonding to is html or plaintext?  
> 
> I've not used org mode for this, but I do have to send multipart
> messages for work so I've sort of cheated and created a yasnippet
> snippet to handle this. It's a pretty lame solution but it work well
> enough for my needs.
> 
would love to see the code if its puclic0-ready.  thanks much, dave,
matt


> Dave
>