From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/20961 Path: main.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.gnus.general Subject: Re: Get \201 when I edit mail Date: Thu, 04 Feb 1999 04:23:25 GMT Organization: Carnegie Mellon University : KANTOO Project Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035159159 20567 80.91.224.250 (21 Oct 2002 00:12:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:12:39 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id XAA23654 for ; Wed, 3 Feb 1999 23:24:41 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id WAB07879; Wed, 3 Feb 1999 22:24:11 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 03 Feb 1999 22:24:26 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id WAA00951 for ; Wed, 3 Feb 1999 22:24:18 -0600 (CST) Original-Received: from sunsite.auc.dk (sunsite.auc.dk [130.225.51.30]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id XAA23629 for ; Wed, 3 Feb 1999 23:24:10 -0500 (EST) Original-Received: (qmail 8867 invoked by uid 509); 4 Feb 1999 04:23:49 -0000 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: emacs.ding Original-Lines: 44 User-Agent: Gnus/5.070074 (Pterodactyl Gnus v0.74) Emacs/20.3 Original-NNTP-Posting-Host: 151.201.20.51 Original-X-Complaints-To: news@sunsite.auc.dk Original-X-Trace: sunsite.auc.dk 918102205 151.201.20.51 (Thu, 04 Feb 1999 05:23:25 MET DST) Original-NNTP-Posting-Date: Thu, 04 Feb 1999 05:23:25 MET DST Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:20961 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:20961 Lars Magne Ingebrigtsen writes: > I've been thinking quite a bit about how to do article editing, and I > just can't see any way to allow that in an elegant way -- especially > with MIME gunk and MULE gunk in the way. > > The two possible approaches that I see are these: > > 1) When editing a MIME message, not necessarily a multipart one, but > that as well, we plop the user into something that looks more or > less like a Message buffer with the article in. Multipart articles > are transformed into MML (text parts just get a "part" marker > before them and non-text parts get a part that has the contents in > an external file). When finishing the editing, Gnus does what > Message does -- transforms the MML back into MIME. > > This approach means that the user has little actual control over > the details of the resulting article. For instance, parts of the > result may be base64-d, etc. How about the following approach? When editing the message, the user sees basically what he would see in the *mail* buffer were he creating the message in the first place. Parts displayed inline normally remain inline, others get an MML tag. The MML tags are uneditable (by default), and hitting `RET' or clicking on the tag brings up the part in a seperate buffer (unencoded). This should then be editable, accepting changes with `C-c C-c' and cancelling changes with `C-c C-k'. The parts are cached away in buffers when not being edited. These buffers, and the main buffer, are protected by `kill-buffer-query-functions' and `kill-buffer-hook'. Of course, you should be able to kill tags and their related parts as well, and have an easy way to restore them before saving changes... Now, this approach is what I would call an "easy" approach. (From the user's point of view.) What it does not do, the way I have stated it, is maintain part seperation between consecutive inlined parts. This may be a fatal flaw of some sorts... -- Michael Duggan (md5i@cs.cmu.edu) .