From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18581 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME composition (was: Storing the group a message has been written to) Date: 14 Nov 1998 00:36:11 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035157080 6902 80.91.224.250 (20 Oct 2002 23:38:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:38:00 +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 SAA00478 for ; Fri, 13 Nov 1998 18:36:45 -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 RAB10709; Fri, 13 Nov 1998 17:36:37 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 13 Nov 1998 17:36:29 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id RAA06108 for ; Fri, 13 Nov 1998 17:36:21 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA00458 for ; Fri, 13 Nov 1998 18:36:14 -0500 (EST) Original-Received: from ramses.informatik.uni-dortmund.de (ramses.cs.uni-dortmund.de [129.217.20.180]) by waldorf.cs.uni-dortmund.de with SMTP id AAA04040 for ; Sat, 14 Nov 1998 00:36:12 +0100 (MET) Original-Received: (grossjoh@localhost) by ramses.informatik.uni-dortmund.de id AAA06547; Sat, 14 Nov 1998 00:36:11 +0100 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "13 Nov 1998 19:47:12 +0100" Original-Lines: 29 User-Agent: Gnus/5.070042 (Pterodactyl Gnus v0.42) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18581 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18581 Lars Magne Ingebrigtsen writes: > 1) One should be able to create arbitrarily complex multiparts > 2) The auto-save functions should work > 3) Saving to drafts should work Suggestion: use a convenient in-buffer representation, and use the `correct' MIME representation on disk. Use format-alist to convert between the two upon disk i/o. There's two kind of MIME parts. One is the inline part. For it, you need to know where it begins and where it ends, and what the content-type is and stuff. Use properties for this. The other is the attachment part. Put the data at the end of the buffer and insert into the buffer a button-like representation. Attach text properties to the button, telling you where at the end of the buffer the real data is to be found, and stuff. By `inline' and `attachment' I don't mean content-disposition, I'm referring to the looks of the message composition buffer. `Inline' parts are shown inline while one is editing the messages, and `attachment' parts are represented by a button. For Emacs, only textual parts will be inline, but for XEmacs, images can be inline, too, right? kai -- Life is hard and then you die.