Acting on suggestions from Eric S. & David M., I've been experimenting
with org-mime; I can see that it's going to be useful.

However, I've also discovered what I think is a bug.

Consider the following org-file:

----Cut here----
* NEXT Do something private
* NEXT Email something not private
  Kenneth-

  Do please get back to me regarding the frequency.

  -Ethan
----Cut here----
If I use C-c @ to select only the second item and then invoke
org-mime-org-buffer-htmlize, that results in a buffer:

----Cut here----
From: Ethan Ligon <li...@are.berkeley.edu>
To: 
Subject: 
User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō)
APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
--text follows this line--
--<<alternative>>-{
--[[text/plain]]
* NEXT Do something private
* NEXT Email something not private
  Kenneth-

  Do please get back to me regarding the frequency.

  -Ethan
--[[text/html]]

<p>Kenneth-
</p>
<p>
Do please get back to me regarding the frequency.
</p>
<p>
-Ethan
</p>--}-<<alternative>>
----Cut here----

The selected region has been correctly htmlized, and a recipient using
a web-browser or similar for their email will see just that part.
HOWEVER, the *entire* org file is embedded in the [text/plain]
alternative.

-Ethan



_______________________________________________
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

Reply via email to