Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: MML: The Summation
Date: 17 Nov 1998 12:31:42 +0100	[thread overview]
Message-ID: <m3ww4utv1d.fsf@sparky.gnus.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1832 bytes --]


To prematurely sum up the pros and cons of using MML (or something
similar) for Message's MIME interface:

Cons:

1) You can't expect people to learn a markup language.
2) MML is ugly.
3) Inband marking of elements is bound to fail.  Look at the breakage
   done by sendmail's "From " separator.

Pros:

1) I like languages, not applications.
2) MML is cute.
3) Doing MIME is dull, boring and tedious.  By having a simple markup
   language that gives us the power of MIME without the bogosity,
   anyone can write scripts that do MML, which can then just be
   pushed to Message for Mimification.
4) Doing it in a non-textual way (text props, overlays, markers,
   invisible text) sucks because it doesn't allow the users
   to edit the stuff properly.  What if you are composing a complex
   MIME thing in one buffer, and then you decide to copy the text
   to a different buffer?  

That's basically it.  I like the idea of just saying

<#part>
And then writing some Chinese text, and then saying

<#part>
And write some Japanese text, and then saying

<#part type=image/jpeg filename="~/rms.jpg">--==-=-=




to include an image.  If I don't like the order of these paragraphs, I 
can just use the normal Emacs editing tools (C-k, C-y) and move them
wherever I want to -- up, down, to another buffer, or just kill them
altogether.

I think MML gives us the flexibility to compose any MIME message, in a 
very low-impact way.

Of course, one doesn't necessarily have to have just one interface.
For instance, the trivial "include this attachment with this mail" can 
be handled using a different mechanism -- for instance, a header line
`X-Attachment: type=image/jpeg filename="~/rms.jpg"' can be used in
these trivial cases.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen

             reply	other threads:[~1998-11-17 11:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-17 11:31 Lars Magne Ingebrigtsen [this message]
1998-11-17 15:18 ` Norman Walsh
1998-11-17 18:52 ` Matt Armstrong
1998-11-17 20:43 ` Edward J. Sabol
1998-11-17 22:52   ` Matt Armstrong
1998-11-18  0:45     ` Lars Magne Ingebrigtsen
1998-11-18  0:49   ` Lars Magne Ingebrigtsen
1998-11-18  9:55     ` Graham Murray
1998-11-18 10:04       ` Kai.Grossjohann
1998-11-20 14:59         ` George J McNinch
1998-11-20 15:31           ` Kai.Grossjohann
1998-11-18 11:14     ` Vladimir Volovich
1998-11-18 13:15       ` Lars Magne Ingebrigtsen
1998-11-18 18:21         ` Vladimir Volovich
1998-11-18 16:36       ` Edward J. Sabol
1998-11-18 18:30         ` Vladimir Volovich
1998-11-18 20:29           ` Raja R Harinath
1998-11-19  2:54           ` Lars Magne Ingebrigtsen
1998-11-19  5:53             ` Norbert Koch
1998-11-18 15:50     ` Edward J. Sabol
1998-11-18 18:23       ` Vladimir Volovich
1998-11-19  2:46       ` Lars Magne Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=m3ww4utv1d.fsf@sparky.gnus.org \
    --to=larsi@gnus.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.
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 NNTP newsgroup(s).