From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: using orgmode to send html mail? Date: Wed, 24 Mar 2010 20:12:52 +0100 Message-ID: <87ocid7cuj.wl%dmaus@ictsoc.de> References: <878w9krtyn.wl%dmaus@ictsoc.de> <871vfa24qo.fsf@gmail.com> <87pr2uww2d.fsf@columbia.edu> <87tys5zrwm.fsf@gmail.com> <87sk7pzk02.fsf@stats.ox.ac.uk> <87tys5r3q6.fsf@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0599767686==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuWGi-00064z-Lk for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 15:29:32 -0400 Received: from [140.186.70.92] (port=56011 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuWGf-00062V-UU for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 15:29:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuWGd-0007kd-NY for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 15:29:29 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:51886) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuWGd-0007kJ-I1 for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 15:29:27 -0400 In-Reply-To: <87tys5r3q6.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Dan Davison , emacs-orgmode@gnu.org --===============0599767686== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Mar_24_20:12:52_2010-1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Wed_Mar_24_20:12:52_2010-1 Content-Type: text/plain; charset=US-ASCII 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 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. 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 >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)? -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Wed_Mar_24_20:12:52_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkuqZDQACgkQma24O1pEeOaq9AD/UH36itKK/23Q6ZB8xWgpp6K/ K+UcrLxVCuwdtPuG3kABAJt6weC/iQ6/UjPTlEe57g7pQvSl6VxzuaynzXjceUxA =F68P -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Mar_24_20:12:52_2010-1-- --===============0599767686== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0599767686==--