🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mh
Article #2068

Re: Editing email replies

#2068
From: Peter Davis
Date: Fri, 30 Aug 2002 15:51
50 lines
3164 bytes
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
Technical Details
Message-ID: <bs7kuyy8.fsf@bitstream.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!news.cc.ukans.edu!stl-feed.news.verio.net!news.cmnh.org!phl-feed.news.verio.net!news.bitstream.com!not-for-mail
References: <erBb9.37325$kp.567963@rwcrnsc52.ops.asp.att.net> <hGLb9.10$Hq1.301@paloalto-snr1.gtei.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 09:16:00 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!news.cc.ukans.edu!stl-feed.news.verio.net!news.cmnh.org!phl-feed.news.verio.net!news.bitstream.com!not-for-mail
From: Peter Davis <pd@world.std.com>
Newsgroups: comp.mail.mh,gnu.emacs.help
Subject: Re: Editing email replies
Date: 30 Aug 2002 11:51:43 -0400
Organization: Pageflex Inc.
Lines: 50
Message-ID: <bs7kuyy8.fsf@bitstream.com>
References: <erBb9.37325$kp.567963@rwcrnsc52.ops.asp.att.net> <hGLb9.10$Hq1.301@paloalto-snr1.gtei.net>
NNTP-Posting-Host: 199.103.147.252
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.bitstream.com 1030722678 24119 199.103.147.252 (30 Aug 2002 15:51:18 GMT)
X-Complaints-To: sysops@bitstream.com
NNTP-Posting-Date: 30 Aug 2002 15:51:18 GMT
X-Face: @Pq3?My0v;TPXbg}b;pHV{1I-kH,?FV:1$wMunQgt%u;KIx8Jl%)8E;Tag?jQQu4+Q,/QiTe@x!bk'k@uXGAj?wVZSBSj}T1X}Yql~e]uv@#]I>5F:BJ;+\k5B&3hG3ZT8_{3>#[D)SbK/9t&3TG$L7SnV3G
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter (Windows [3]))