🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mh
Article #2067

Re: Editing email replies

#2067
From: Barry Margolin
Date: Fri, 30 Aug 2002 14:54
35 lines
2603 bytes
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.

-- 
Barry Margolin, barmar@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Technical Details
Message-ID: <hGLb9.10$Hq1.301@paloalto-snr1.gtei.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail
References: <erBb9.37325$kp.567963@rwcrnsc52.ops.asp.att.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,ff5a0a095e5814b
X-Google-Attributes: gid103b8b,public
X-Google-Thread: fe14c,ff5a0a095e5814b
X-Google-Attributes: gidfe14c,public
X-Google-ArrivalTime: 2002-08-30 07:54:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail
From: Barry Margolin <barmar@genuity.net>
Newsgroups: comp.mail.mh,gnu.emacs.help
Subject: Re: Editing email replies
References: <erBb9.37325$kp.567963@rwcrnsc52.ops.asp.att.net>
Organization: Genuity, Woburn, MA
Mail-Copies-To: never
X-Newsreader: trn 4.0-test72 (19 April 1999)
Originator: barmar@genuity.net (Barry Margolin)
Lines: 35
Message-ID: <hGLb9.10$Hq1.301@paloalto-snr1.gtei.net>
X-Trace: /bNDCzNbLYjKAIE516ipDcTqCeovUvdqlFnZdtc32QCOTllNskLE8OpbA6uDWvmHPxFNYasVpEXw!/p6hlakHoQrWH6GKI8CPcjJQBTrrsMoPXKlo+Cf3XqtJZ/OIeF1TzHsVMAInXCQhEfMZeHkOS/20!ZiE2ui2KYyLg
X-Complaints-To: abuse@gte.net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Fri, 30 Aug 2002 14:54:05 GMT
Distribution: world
Date: Fri, 30 Aug 2002 14:54:05 GMT