[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] using orgmode to send html mail?
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] using orgmode to send html mail? |
Date: |
Wed, 24 Mar 2010 14:19:46 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
David Maus <address@hidden> 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.... address@hidden
> Email..... address@hidden
- [Orgmode] using orgmode to send html mail?, Matt Price, 2010/03/21
- [Orgmode] Re: using orgmode to send html mail?, Matt Price, 2010/03/22
- Re: [Orgmode] using orgmode to send html mail?, David Maus, 2010/03/22
- Re: [Orgmode] using orgmode to send html mail?, Eric Schulte, 2010/03/23
- Re: [Orgmode] using orgmode to send html mail?, Xiao-Yong Jin, 2010/03/23
- Re: [Orgmode] using orgmode to send html mail?, Eric Schulte, 2010/03/24
- Re: [Orgmode] using orgmode to send html mail?, Dan Davison, 2010/03/24
- Re: [Orgmode] using orgmode to send html mail?, Eric Schulte, 2010/03/24
- Re: [Orgmode] using orgmode to send html mail?, David Maus, 2010/03/24
- Re: [Orgmode] using orgmode to send html mail?,
Eric Schulte <=
- Re: [Orgmode] using orgmode to send html mail?, David Maus, 2010/03/25
- Re: [Orgmode] using orgmode to send html mail?, Eric Schulte, 2010/03/26
- Re: [Orgmode] using orgmode to send html mail?, David Maus, 2010/03/26
- Re: [Orgmode] using orgmode to send html mail?, Eric Schulte, 2010/03/26
- Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?, Eric Schulte, 2010/03/31
- Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?, Dan Davison, 2010/03/31
- Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?, Eric Schulte, 2010/03/31
- Re: [Orgmode] [CONTRIB?] using orgmode to send html mail?, Dan Davison, 2010/03/31
- Re: [Orgmode] using orgmode to send html mail?, David Maus, 2010/03/31
- Re: [Orgmode] using orgmode to send html mail?, Eric Schulte, 2010/03/31