all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: rms@gnu.org
Cc: emacs-devel@gnu.org, monnier@IRO.UMontreal.CA, evilborisnet@netscape.net
Subject: Re: Rmail-mbox branch
Date: Wed, 03 Sep 2008 15:28:05 +0900	[thread overview]
Message-ID: <87iqtd4ubu.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <E1KakBn-0002Gm-Uk@fencepost.gnu.org>

Richard M. Stallman writes:
 > Stephen Turnbull wrote:

 >     Other MIME media-types can't be saved in decoded format, since
 >     that is going to be an Emacs internal data-type (consider
 >     image/png).
 > 
 > I don't follow you.

Media types other than "text" are attachments.  They can be displayed
by Emacs in many cases (eg, images, some XML files).  However, the
decoded format generally has no meaning as mbox contents; it's an
internal Emacs object with no defined serialization into ASCII.

Of course Rmail can simply ignore those attachments, and leave them
as-is in the mbox.  But Rmail will still need to know about MIME
multipart structures to edit any message containing them safely.
Similarly for any message containing non-ASCII text (at minimum it
would need to manipulate Content-Type headers).

 >      > I am not sure.  If it isn't valid as an mbox file, perhaps
 >      > it is true that Rmail/mbox needs to do this decoding
 >      > each time it displays the message, rather than just once
 >      > (as some have claimed before).

The kind of thing that Emacs will display is typically not going to be
a valid RFC 2822 message, and an mbox is simply a sequence of RFC 2822
messages (with empty line separators between messages, and a From line
prepended to each message, and possibly other minor variations
according to which MTA is writing, or which MUA is reading, the file).
Therefore, it is true that Rmail/mbox needs to be prepared to do
decoding each time it displays a message.

The alternative would be to simply declare that Rmail/mbox will *only*
handle multipart and text/plain media, and ignore all the rest.  But
that seems a shame when Emacs is quite capable of handling a wide
variety of media types, including text/html, text/rich-text, image,
audio, and even video (at least with the help of external players).




  reply	other threads:[~2008-09-03  6:28 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11 18:05 Rmail-mbox branch Chong Yidong
2008-06-30 12:20 ` Paul Michael Reilly
2008-06-30 13:06   ` Chong Yidong
2008-06-30 13:50     ` Paul Michael Reilly
2008-06-30 13:59       ` Miles Bader
2008-06-30 15:57         ` Stefan Monnier
     [not found]         ` <4868F9F0.2060408@pajato.com>
2008-06-30 18:29           ` Miles Bader
2008-06-30 16:03   ` Stefan Monnier
2008-06-30 17:48     ` Paul Michael Reilly
2008-07-03 21:56       ` Stefan Monnier
2008-08-18  5:15     ` Paul Michael Reilly
2008-08-18  6:01       ` Miles Bader
2008-08-18  6:05         ` Paul Michael Reilly
2008-08-18  6:52           ` Miles Bader
2008-08-18 12:18             ` Paul Michael Reilly
2008-08-29  7:04               ` Glenn Morris
2008-08-31  4:27                 ` Paul Michael Reilly
2008-08-31 18:50                   ` Chong Yidong
2008-08-31 19:15                     ` Evil Boris
2008-09-01  3:09                       ` Eli Zaretskii
2008-09-01 11:46                         ` Evil Boris
2008-09-01 19:19                           ` Eli Zaretskii
2008-09-01 19:57                             ` Stefan Monnier
2008-09-02  3:21                               ` Eli Zaretskii
2008-09-01 23:46                             ` Evil Boris
2008-09-02  2:38                               ` Evil Boris
2008-09-02  3:32                                 ` Eli Zaretskii
2008-09-02 11:53                                   ` Evil Boris
2008-09-03 20:12                                     ` Paul Michael Reilly
2008-09-02 14:13                                 ` Richard M. Stallman
2008-09-03  2:46                                   ` Stephen J. Turnbull
2008-09-03  4:41                                     ` Richard M. Stallman
2008-09-03  6:28                                       ` Stephen J. Turnbull [this message]
2008-09-04  0:10                                         ` Richard M. Stallman
2008-09-04  2:26                                           ` Stephen J. Turnbull
2008-09-04  7:03                                             ` Paul Michael Reilly
2008-09-04  8:44                                               ` Stephen J. Turnbull
2008-09-04 13:58                                               ` Stefan Monnier
2008-09-04 21:58                                                 ` Paul Michael Reilly
2008-09-04 15:58                                               ` Eli Zaretskii
2008-09-04 22:00                                                 ` Paul Michael Reilly
2008-09-05  2:20                                             ` Richard M. Stallman
2008-09-05  5:33                                               ` Stephen J. Turnbull
2008-09-06 21:05                                                 ` Richard M. Stallman
2008-09-08  4:57                                                   ` Stephen J. Turnbull
2008-09-08  8:36                                                     ` Francesco Potorti`
2008-09-08  9:53                                                       ` Stephen J. Turnbull
2008-09-08 13:03                                                         ` Stefan Monnier
2008-09-09  1:58                                                           ` Stephen J. Turnbull
2008-09-08 19:15                                                         ` Eli Zaretskii
2008-09-08 16:42                                                     ` Richard M. Stallman
2008-09-08 17:55                                                       ` David De La Harpe Golden
2008-09-09  2:54                                                       ` Stephen J. Turnbull
2008-09-09 14:11                                                         ` Richard M. Stallman
2008-09-10  9:10                                                           ` Stephen J. Turnbull
2008-09-10 11:43                                                             ` Paul Michael Reilly
2008-09-10 12:23                                                               ` tomas
2008-09-10 17:55                                                               ` Stefan Monnier
2008-09-11  2:39                                                               ` Stephen J. Turnbull
2008-09-10 15:07                                                             ` David De La Harpe Golden
2008-09-03 16:08                                     ` Stefan Monnier
2008-09-03 19:56                                       ` Paul Michael Reilly
2008-09-04  0:45                                       ` Kenichi Handa
2008-09-04  4:35                                         ` Stefan Monnier
2008-09-04  2:36                                       ` Stephen J. Turnbull
2008-09-04  7:27                                         ` Paul Michael Reilly
2008-09-02  3:28                               ` Eli Zaretskii
2008-09-01  6:11                       ` Richard M. Stallman
2008-09-01  8:42                         ` Francesco Potorti`
2008-09-01 11:25                           ` Evil Boris
2008-09-01 19:39                     ` Paul Michael Reilly
2008-09-01 20:20                       ` Chong Yidong
2008-09-01 20:52                       ` Stefan Monnier
2008-09-02  1:09                         ` Richard M. Stallman
2008-09-02  3:29                           ` Eli Zaretskii
2008-09-03  2:41                             ` Richard M. Stallman
2008-09-03  3:17                               ` Eli Zaretskii
2008-09-03 19:46                                 ` Paul Michael Reilly
2008-09-03 20:20                                   ` Chong Yidong
2008-09-03 23:37                                   ` Glenn Morris
2008-09-04  0:10                                 ` Richard M. Stallman
2008-09-02 19:17                       ` Paul Michael Reilly
2008-09-01  1:06                   ` Glenn Morris
2008-09-01 19:19                     ` Paul Michael Reilly
2008-08-19  4:31       ` Chong Yidong
2008-08-19  7:15         ` Paul Michael Reilly
2008-08-20 16:27           ` Stefan Monnier
2008-08-21 13:55             ` Paul Michael Reilly
2008-08-27 15:47               ` Stefan Monnier

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=87iqtd4ubu.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=evilborisnet@netscape.net \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=rms@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.