emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mime spurious alternative
@ 2014-06-10 15:15 Sébastien Delafond
  2014-06-12 18:42 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Delafond @ 2014-06-10 15:15 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

from Debian bug #751014 (http://bugs.debian.org/751014):

  When org-mime-library is set to semi, org-mime generates a spurious
  alternative section around the HTML part.  This is due to two bugs in
  the function org-mime-multipart:

  1. it attempts to put a multipart/alternative section around the HTML,
     where it should be putting a multipart/related part;

  2. it tests for the presence of images by doing "(when images ...)",
     which triggers when images is the empty string (somebody has been
     programming in Python or Javascript?).

  To repeat:

    M-x load-library "org-mime" RET
    M-: (setq org-mime-library 'semi) RET
    M-x wl RET
    w

  Then insert some text below the separator line, and do

    M-x org-mime-htmlize

  and see the breakage.

Cheers,

--Seb

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

end of thread, other threads:[~2014-06-12 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-10 15:15 org-mime spurious alternative Sébastien Delafond
2014-06-12 18:42 ` 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).