From: Mark Lillibridge <mdl@alum.mit.edu>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Change in rmail-insert-mime-forwarded-message
Date: Mon, 07 Jan 2013 19:57:36 -0800 [thread overview]
Message-ID: <87ehhwtjgv.fsf@foil.strangled.net> (raw)
In-Reply-To: <E1TsOf4-0001aJ-0i@fencepost.gnu.org> (message from Richard Stallman on Mon, 07 Jan 2013 21:11:30 -0500)
Richard Stallman <rms@gnu.org> writes:
> You want to insert the undecoded but unmbox-escaped message.
>
> I am not sure what that means. What is "unmbox-escaped"? How
> does that relate to decoding?
Messages stored in mbox format have lines starting with >*From\
escaped by adding an extra > at the front. This escaping needs to be
reversed to get the original message back. See bug #13329 for more
details.
> And why do you think this behavior is the right behavior, rather than
> forwarding the message as displayed?
>
> The visible message is very
> likely not a valid RFC message because it is missing headers and
> boundary parts. It also likely is missing some of the attachments.
>
> Yes, but why do you think that is wrong? If f forwards whatever
> is displayed, the user has the choice to type v and forward
> the undecoded message, or not type v, and forward the message as
> decoded with selected parts visible.
Ignoring defaults for the moment, it seems like ideally we should be
able to do any of three things:
(1) forward the exact original message with all formatting and
attachments included. That pretty much has to be done via an
RFC822(sp?) attachment of the original message as received. As noted by
bug #9766, some email clients are unable to display such attachments.
(2) include the text seen by the Rmail user at the time forward is
called. I do not think we should use RFC822(?) message attachments for
this: I haven't read all the relevant RFC's, but I assume the
destination email client will attempt to display an RFC822(sp?) message
attachment as if it was a separately received message. E.g., deal with
its in-line multipart alternative parts appropriately, etc. If you
attach an invalid message (e.g., bad MIME headers), I would expect the
recipient to see garbage or an error message for the message attachment.
The text here can be placed directly in the message body, possibly
prefixed with "> "'s. Pretty much any email client should be able to
see the included text but there's no way to include attachments or
render HTML as HTML in the destination client. E.g., this method cannot
be used with HTML-only messages. It also often loses formatting (e.g.,
colors) that is present only in HTML parts.
(3) A smarter version of (2) that both makes the original message
body visible to the destination client even for clients that don't
handle RFC message attachments (this means handling both the text
and HTML in-line parts correctly if formatting is not to be lost)
and attaches all the original non-in-line attachments as well. This
would be fairly tricky to do right; see my email about this in the
bug discussion for bug #9766. Something like this is what Outlook
does, for example.
At the moment, in the absence of availability of (3), I use (1) for
forward and use resend message to deal with people with limited mailers.
I don't think (2) is a reasonable default because it drops attachments,
formatting, and doesn't work for HTML-only messages.
- Mark
next prev parent reply other threads:[~2013-01-08 3:57 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 2:18 Change in rmail-insert-mime-forwarded-message Richard Stallman
2013-01-07 3:44 ` Eli Zaretskii
2013-01-08 2:11 ` Richard Stallman
2013-01-09 17:15 ` Eli Zaretskii
2013-01-10 6:19 ` Richard Stallman
2013-01-10 19:03 ` Eli Zaretskii
2013-01-07 4:43 ` Mark Lillibridge
2013-01-08 2:11 ` Richard Stallman
2013-01-08 3:57 ` Mark Lillibridge [this message]
2013-01-08 10:02 ` Stephen J. Turnbull
2013-01-08 16:32 ` Mark Lillibridge
2013-01-08 18:13 ` Stephen J. Turnbull
2013-01-23 0:32 ` Mark Lillibridge
2013-01-23 6:44 ` Stephen J. Turnbull
2013-01-09 16:43 ` Richard Stallman
2013-01-10 16:53 ` Mark Lillibridge
2013-01-11 4:43 ` Richard Stallman
2013-01-11 8:10 ` Eli Zaretskii
2013-01-11 16:48 ` Mark Lillibridge
2013-01-13 22:43 ` Richard Stallman
2013-01-14 22:43 ` Richard Stallman
2013-01-15 2:13 ` Glenn Morris
2013-01-15 4:01 ` Eli Zaretskii
2013-01-15 5:27 ` Richard Stallman
2013-01-15 16:07 ` Eli Zaretskii
2013-01-16 0:04 ` Richard Stallman
2013-01-23 0:40 ` Mark Lillibridge
2013-01-15 17:29 ` Glenn Morris
2013-01-16 0:04 ` Richard Stallman
2013-01-16 1:14 ` Glenn Morris
2013-01-17 6:26 ` Mark Lillibridge
2013-01-17 21:04 ` Richard Stallman
2013-04-01 19:06 ` Mark Lillibridge
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ehhwtjgv.fsf@foil.strangled.net \
--to=mdl@alum.mit.edu \
--cc=emacs-devel@gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.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).