From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Bug in org-mime may expose more than intended to email recipient Date: Fri, 30 Jul 2010 15:09:28 -0600 Message-ID: <87aap865iv.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=42676 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oewpi-0007Xz-7b for emacs-orgmode@gnu.org; Fri, 30 Jul 2010 17:09:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oewpg-0006SD-Ix for emacs-orgmode@gnu.org; Fri, 30 Jul 2010 17:09:34 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:46032) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oewpg-0006Rz-DQ for emacs-orgmode@gnu.org; Fri, 30 Jul 2010 17:09:32 -0400 Received: by pwi8 with SMTP id 8so1320134pwi.0 for ; Fri, 30 Jul 2010 14:09:31 -0700 (PDT) In-Reply-To: (Ethan Ligon's message of "Fri, 30 Jul 2010 00:47:01 +0000 (UTC)") 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: Ethan Ligon Cc: emacs-orgmode@gnu.org Hi Ethan, Thanks for catching this and pointing it out! I've just pushed up a patch which I believe fixes this issue. Could you please confirm that it fixes the issue on your system? Thanks -- Eric Ethan Ligon writes: > 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:=20 > Subject:=20 > User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 = (Goj=C5=8D) > 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 > > > > _______________________________________________ > 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