all messages for Emacs-related lists mirrored at yhetil.org
 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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.