emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Ethan Ligon <ligon@are.berkeley.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug in org-mime may expose more than intended to email recipient
Date: Fri, 30 Jul 2010 15:09:28 -0600	[thread overview]
Message-ID: <87aap865iv.fsf@gmail.com> (raw)
In-Reply-To: <loom.20100730T023704-962@post.gmane.org> (Ethan Ligon's message of "Fri, 30 Jul 2010 00:47:01 +0000 (UTC)")

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 <ligon@are.berkeley.edu> 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 <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
>
>
>
> _______________________________________________
> 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	other threads:[~2010-07-30 21:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aap865iv.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ligon@are.berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).