David Maus <dm...@ictsoc.de> writes: > Eric Schulte wrote: >>Thanks Dan, > >>I'm happy to hear I'm not the only person who's enjoying playing with >>this :). > >>Aside from changing the mime-delimeters for VM and wanderlust, it seems >>to me that the only remaining step between the current functionality and >>a seamless use of org-mode for email composition, is the resolution of >>images as email attachments. That would allow emails with embedded >>latex (which I personally would find very compelling), as well as >>embedded ditaa diagrams and images. If anyone knows more about mime, >>I'd be interested to hear suggestions, but I may try a first pass using >>`replace-regexp' to replace all <img> links with inline mime image >>attachments. > > Taking a look into the MIME specs (RFC2045ff) regarding this issue is > on my list. My biggest concern with utilizing more MIME capabilities > is, that you have little control over what the recipient's MUA will do. >
good point, for example as I recall gmail insists on displaying all images at the bottom of an email message regardless of the placement of their mime spec. I wonder if it's possible for an html image link to reference an attachment? > > Don't know about VM, but with regards to WL I'd imagine something > like: > > - first represent the MIME strukture in a list > > - then call translating functions that insert the appropriate > delimeters > what does it look like (in the text WL buffer) when you attach say an image, or a piece of inline text like a diff file? If WL has it's own mime markup like mml that would be ideal. > >>I've just made a couple of small changes, and pushed this file up to a >>git repo at http://github.com/eschulte/org-html-mail, or for raw elisp >>http://github.com/eschulte/org-html-mail/raw/master/org-mml-htmlize.el > > Just out of curiosity: Why do you write to a temp file and not just > insert the body in a temporary buffer, turn on org-mode and use > org-export-region-as-html (point-min) (point-max) nil t 'string)? > Because `org-export-as-html' requires that the buffer have a path, I believe this is for resolution of relative paths for things like images. Best -- Eric > > -- David > > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber.... dmj...@jabber.org > Email..... dm...@ictsoc.de _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode