From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81727 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.orgmode,gmane.emacs.gnus.general Subject: Re: org-mime-htmlize: visual representation (thunderbird) Date: Thu, 12 Apr 2012 13:59:38 +0200 Message-ID: <87bomxxis5.fsf@mat.ucm.es> References: <87ehsei9zj.fsf@gilgamesch.quim.ucm.es> <8762dky9pt.fsf@gmx.com> <4F787201.2020403@mat.ucm.es> <87wr5zjtje.fsf@gmx.com> <871unv7ncy.fsf@gilgamesch.quim.ucm.es> <87d37e6gmd.fsf@gmx.com> <878vi2k3h3.fsf@gilgamesch.quim.ucm.es> <87vcl64cd5.fsf@gmx.com> Reply-To: Uwe Brauer NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334232025 32053 80.91.229.3 (12 Apr 2012 12:00:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2012 12:00:25 +0000 (UTC) Cc: ding@gnus.org To: emacs-orgmode@gnu.org Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Thu Apr 12 14:00:24 2012 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SIIhL-00014t-Cp for geo-emacs-orgmode@m.gmane.org; Thu, 12 Apr 2012 14:00:23 +0200 Original-Received: from localhost ([::1]:58206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIIhK-0002mT-PN for geo-emacs-orgmode@m.gmane.org; Thu, 12 Apr 2012 08:00:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIIh9-0002iL-Pd for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 08:00:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIIgz-0005Pk-Cn for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 08:00:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIIgz-0005Pb-5q for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 08:00:01 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SIIgv-0000t0-0w for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 13:59:57 +0200 Original-Received: from pclab-228.mat.ucm.es ([147.96.18.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Apr 2012 13:59:57 +0200 Original-Received: from oub by pclab-228.mat.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Apr 2012 13:59:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 90 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pclab-228.mat.ucm.es X-Hashcash: 1:20:120412:gmane.emacs.gnus.general::B6u1VPVpq1xrmREQ:0000000000000000000000000000000000000CY3u X-Hashcash: 1:20:120412:gmane.emacs.orgmode::3i1QHx8wyGq7J39U:0000000000000000000000000000000000000000003by9 User-Agent: Gnus/5.110018 (No Gnus v0.18) XEmacs/21.5-b31 (linux) Cancel-Lock: sha1:EVLdJtGakvBXewImSAHiuaPrXCw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Original-Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.orgmode:54662 gmane.emacs.gnus.general:81727 Archived-At: >> On Wed, 11 Apr 2012 09:38:46 -0400, Eric Schulte wrote: > Hi Uwe, > Uwe Brauer writes: >> > OK, for my own edification I had changed the message body from > (I'm hoping these are sufficiently quoted to survive mailing) > ,----[original] > | > | > | text alternative... > | > | html alternative... | > | images for html... > `---- > to > ,----[revised (and more broken in TB)] > | > | > | text alternative... > | > | > | html alternative... > | images for html... > | > | > `---- > which wraps the html and images into a multipart/related type. > Why is this later structure illegal? Are nested multi type parts not > allowed? Also, it seems that everything I've tried works in gnus and in > most web user agents. Is thunderbird simply a stickler for the letter > of the RFC law? I cannot answer this. However I rechecked everything and the issue is the following. >> >> Which brings me to the good news. After I wrote to you >> I received a message from the TB developers which >> emphasised that, besides the information I have gave >> you, the main point is the header, which should be >> >> Content-type: multipart/related; boundary="=-=-=" >> and the thunderbird developers insist that this is the >> RFC 2387 standard. >> >> Gnus actually generate via the mml-generate-mime function >> the header >> Content-type: multipart/mixed; boundary="=-=-=" >> which is wrong. >> > OK, I've just reverted my change, but I'm keeping the change of image > disposition to "inline". I own you an apology! If I leave mml-generate-mime untouched, that is I neither use my modification nor do I use use Lars new code, but I use your *new* code then the generated and sent message is displayed *correctly* in thunderbird. The resulting message contains Content-type: multipart/alternative; boundary="=-=-=" Instead of Content-type: multipart/related; boundary="=-=-=" As it would in my case, but it seems that thunderbird is OK with that. The reason I wrote you earlier that your changes made things worse was that I did make a mistake in my modification of mml-generate-mime. I also thought I checked your code with the old mml function but for some reason the old version was not used even after a restart. Sorry for the trouble! Uwe