From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ethan Ligon Subject: Bug in org-mime may expose more than intended to email recipient Date: Fri, 30 Jul 2010 00:47:01 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=36254 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oedkr-0001Zr-QI for emacs-orgmode@gnu.org; Thu, 29 Jul 2010 20:47:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oedkq-0004JZ-8k for emacs-orgmode@gnu.org; Thu, 29 Jul 2010 20:47:17 -0400 Received: from lo.gmane.org ([80.91.229.12]:57344) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oedkq-0004JJ-05 for emacs-orgmode@gnu.org; Thu, 29 Jul 2010 20:47:16 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oedkn-00006v-8i for emacs-orgmode@gnu.org; Fri, 30 Jul 2010 02:47:13 +0200 Received: from c-24-5-193-224.hsd1.ca.comcast.net ([24.5.193.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Jul 2010 02:47:13 +0200 Received: from ligon by c-24-5-193-224.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Jul 2010 02:47:13 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 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-- --<>-{ --[[text/plain]] * NEXT Do something private * NEXT Email something not private Kenneth- Do please get back to me regarding the frequency. -Ethan --[[text/html]]

Kenneth-

Do please get back to me regarding the frequency.

-Ethan

--}-<> ----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