emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Sending org buffer as mail?


From: Ethan Ligon
Subject: [Orgmode] Re: Sending org buffer as mail?
Date: Sat, 18 Dec 2010 23:26:48 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Eric Schulte <schulte.eric <at> gmail.com> writes:
> 
> Jean-Marie Gaillourdet <jmg <at> gaillourdet.net> writes:
> 
> > Hi Eric,
> >
> > "Eric Schulte" <schulte.eric <at> gmail.com> writes:
> >
> >> Hi Matt,
> >>
> >> This looks great, how would you feel about trying to fold this into
> >> org-mime, or would you mind if I did so.  I've already mimicked your
> >> function to set subjects of outgoing emails to match the title of the
> >> org-mode buffer.  I think that generalizing the org-mime functions to
> >> operate over either subtrees or whole files, and to output either html
> >> or plain text should cover all use cases with maximal code re-use.
> >
> > does it also support using ascii exports as text part and the html
> > export as html part in a multi part message?
> >
> 
> It does now.  In the version I just pushed up an html and ascii export
> can be accomplished by setting the :MAIL_FMT: property to html-ascii, or
> by calling either `org-mime-send-buffer' or `org-mime-send-subtree' with
> 'html-ascii as an argument.
> 

Eric-

This is just great; thanks!  

Two additional suggestions:

1. The subject line should be exported as ascii also, to avoid 
   funky orgmode markup messing things up (I often have links in my
   headlines, for example).

2. Could we get some indication that the subtree's been mailed?  I'm
   thinking of having org-mime-subtree set a property MAIL_SENT to a
   time stamp or perhaps to the message id.  

   This way, if we inspect the subtree later we'll know if and when
   it was actually sent.  A possible bonus if we use the message id:
   when we get to the point of getting replies *back* into the org
   file it'll be possible to thread things properly.

-Ethan







reply via email to

[Prev in Thread] Current Thread [Next in Thread]