At Wed, 12 Jan 2011 12:28:37 -0700, Adrian Owen wrote: > > [1 <text/plain; ISO-8859-1 (7bit)>] > > [2 <text/html; ISO-8859-1 (quoted-printable)>] > Thanks for your response. I think I may have phrased my question poorly. What I have is a link like: > > [mailto:voicemail@example.com?subject=Save_AAAAAV0AAAB2lSAV] > > Showing up in wanderlus in the buffer where I read the mailt. I > believe w3m interprets the html and shows it as text, but passes > through this mailto: link. It is infrequent that I would follow a > mail link on the www. This should do the job: (defun dmaus/misc/browse-url-mailto-function (mailto) "*Compose message based on MAILTO. MAILTO is the string with the mailto: link." (when (string-match "^mailto:\\([^?]+\\)\\(.*\\)" mailto) (compose-mail (match-string 1 mailto)))) (setq browse-url-default-browser (list (cons "^mailto:" 'dmaus/misc/browse-url-mailto-function) (cons "." 'browse-url-default-browser))) The subject in the link is somehow dropped by browse-url-at-point so it is not available. HTH, -- David-- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de
Attachment:
pgpZoFzyfRUVS.pgp
Description: PGP signature