From: "Sébastien Delafond" <sdelafond@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-mime spurious alternative
Date: Tue, 10 Jun 2014 15:15:49 +0000 (UTC) [thread overview]
Message-ID: <20140610171252.707@usenet.piggo.com> (raw)
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
next reply other threads:[~2014-06-10 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 15:15 Sébastien Delafond [this message]
2014-06-12 18:42 ` org-mime spurious alternative Eric Schulte
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=20140610171252.707@usenet.piggo.com \
--to=sdelafond@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).