emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug in org-mime may expose more than intended to email recipient
@ 2010-07-30  0:47 Ethan Ligon
  2010-07-30 21:09 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Ethan Ligon @ 2010-07-30  0:47 UTC (permalink / raw)
  To: emacs-orgmode

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 <ligon@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-30 21:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-30  0:47 Bug in org-mime may expose more than intended to email recipient Ethan Ligon
2010-07-30 21:09 ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).