From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Davis Newsgroups: gmane.emacs.help Subject: Re: Editing email replies Date: 30 Aug 2002 11:51:43 -0400 Organization: Pageflex Inc. Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030724094 19647 127.0.0.1 (30 Aug 2002 16:14:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 30 Aug 2002 16:14:54 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17koQ7-00056k-00 for ; Fri, 30 Aug 2002 18:14:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17koRX-0007pr-00; Fri, 30 Aug 2002 12:16:19 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!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 Original-Newsgroups: comp.mail.mh,gnu.emacs.help Original-Lines: 50 Original-NNTP-Posting-Host: 199.103.147.252 Original-X-Trace: news.bitstream.com 1030722678 24119 199.103.147.252 (30 Aug 2002 15:51:18 GMT) Original-X-Complaints-To: sysops@bitstream.com Original-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])) Original-Xref: nntp.stanford.edu comp.mail.mh:9834 gnu.emacs.help:104322 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:893 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:893 Barry Margolin writes: > In article , > pd 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