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:38:00 -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 19655 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 17koQ8-00056m-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 17koRP-0007nO-00; Fri, 30 Aug 2002 12:16:11 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!news-in-sanjose!dfw-feed.news.verio.net!phl-feed.news.verio.net!news.bitstream.com!not-for-mail Original-Newsgroups: comp.mail.mh,gnu.emacs.help Original-Lines: 57 Original-NNTP-Posting-Host: 199.103.147.252 Original-X-Trace: news.bitstream.com 1030721855 24112 199.103.147.252 (30 Aug 2002 15:37:35 GMT) Original-X-Complaints-To: sysops@bitstream.com Original-NNTP-Posting-Date: 30 Aug 2002 15:37:35 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:9833 gnu.emacs.help:104321 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:894 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:894 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. I agree that it seems difficult. Yet some e-mail programs do this (or something like this, I guess). If someone sends me a message with blue, sans-serif text, I can reply and put comments interspersed with that text. The resulting message still has the original sender's text in blue, sans-serif text, and my comments interspersed in Courier (or some other plain text font). Possibly this is because the program is displaying and editing the text/html, and it only has to find the corresponding point in the text/plain segment, rather than the other way around (editing the text/plain, and trying to find the corresponding point in text/html). I don't know, but somehow it works. 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