unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Davis <pd@world.std.com>
Subject: Re: Editing email replies
Date: 30 Aug 2002 11:51:43 -0400	[thread overview]
Message-ID: <bs7kuyy8.fsf@bitstream.com> (raw)
In-Reply-To: hGLb9.10$Hq1.301@paloalto-snr1.gtei.net

Barry Margolin <barmar@genuity.net> writes:

> In article <erBb9.37325$kp.567963@rwcrnsc52.ops.asp.att.net>,
> pd <pd@world.std.com> wrote:
> >I've been thinking about how to edit replies to MIME messages that use
> >multipart/alternative.  For example, suppose the message has a text/plain
> >alternative and a text/html alternative, as shown below.  When I insert some
> >plain text in my reply, I'd really like the resulting message to have the
> >two alternatives for the text before my insertion, then my insertion in
> >plain text, and then the two alternatives after my insertion.
> >
> >In other words,  I want to go from:
> >
> >    multipart/alternative
> >        text/plain
> >        text/html
> >
> >to
> >
> >    multipart/mixed
> >        multipart/alternative
> >            text/plain
> >            text/html
> >        text/plain <--- my reply!
> >        multipart/alternative
> >            text/plain
> >            text/html
> 
> This seems like it would be extremely difficult to automate, because Emacs
> would have to determine which parts of the plain and HTML alternatives
> correspond to each other, so that it can find the correct dividing points.

Actually, I just tried this with a certain well-known commercial
e-mail package whose name starts with "E".  What I got was a single
multipart/alternative section, containing a text/plain and a
text/html.  However, the reply line I inserted had been inserted into
both parts!  That seems even more complicated.

Thanks,

-pd


-- 
--------
                             Peter Davis
               Funny stuff at http://www.pfdstudio.com
                 The artwork formerly shown as prints
    List of resources for children's writers and illustrators at:
                  http://www.pfdstudio.com/cwrl.html

  parent reply	other threads:[~2002-08-30 15:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-30  3:15 Editing email replies pd
2002-08-30 14:54 ` Barry Margolin
2002-08-30 15:38   ` Peter Davis
2002-08-30 16:34     ` Barry Margolin
2002-08-30 15:51   ` Peter Davis [this message]
2002-08-31 16:21     ` Kai Großjohann
2002-08-31 23:18       ` Peter Davis
2002-09-01  2:02         ` Kevin A. Scaldeferri
2002-09-01  2:58           ` those who know me have no need of my name
2002-09-02 16:05           ` Peter Davis
2002-09-02 21:59             ` those who know me have no need of my name
2002-09-02 23:07             ` Kevin A. Scaldeferri
2002-09-03  1:14             ` Sacha Chua
2002-09-07 17:19             ` Benjamin Riefenstahl
2002-09-08 17:43               ` pd
2002-09-10 12:36                 ` Oliver Scholz
2002-09-01  5:17         ` Charles Muller
     [not found]         ` <mailman.1030857423.3550.help-gnu-emacs@gnu.org>
2002-09-05  1:45           ` pd

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=bs7kuyy8.fsf@bitstream.com \
    --to=pd@world.std.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).