From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37417 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: MML multipart tag -- what does it do? Date: Fri, 03 Aug 2001 19:35:49 +0200 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035172837 13785 80.91.224.250 (21 Oct 2002 04:00:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:00:37 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 23456 invoked from network); 3 Aug 2001 17:34:39 -0000 Original-Received: from slipsten.extundo.com (HELO barbar.josefsson.org) (195.42.214.241) by gnus.org with SMTP; 3 Aug 2001 17:34:39 -0000 Original-Received: (from jas@localhost) by barbar.josefsson.org (8.11.2/8.11.2) id f73HZx701476; Fri, 3 Aug 2001 19:35:59 +0200 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Fri, 03 Aug 2001 18:44:35 +0200") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Artificial Intelligence) Original-Lines: 42 Xref: main.gmane.org gmane.emacs.gnus.general:37417 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37417 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > Okay, the examples in the emacs-mime info file are fairly clear. But > what they leave open to interpretation: suppose I compose a message, > and the very first line of the body is a multipart tag, followed by a > couple of part tags. > > What does the whole message look like that comes out? At the top-level it's a multipart that contains a couple of parts. > You see, if I just put several part tags in the body, then I get a > multipart/mixed message, so maybe the same thing happens with a > multipart tag. > > I kinda suspect that under some circumstances the top-level MML tag > will become the Content-Type of the whole message, whereas under some > circumstances the Content-Type of the whole message will me > multipart/mixed with the MML tags given as `children' of that. You can't have more than one MIME part in a message without some kind of multipart. So if you put more than one in your message, it implicitely adds a at the top. Maybe what's confusing is the tag -- I don't think it's ever necessary. Maybe because there is a close tag you might believe it's possible to say e.g. foo bar which isn't unreasonable, but it doesn't work that way. Maybe the Insert/Attach/etc commands shouldn't insert or , just because they only add confusion and no semantic. All the MML commands ends when a new command of the same type is inserted, I think. There's no need for or . Maybe someone could try to come up with a counter-example..