From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19746 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: mm-encode doesn't know message/rfc822, and base64's them Date: 07 Dec 1998 16:30:59 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035158040 13174 80.91.224.250 (20 Oct 2002 23:54:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:54:00 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA24645 for ; Mon, 7 Dec 1998 16:38:07 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.9.1/8.9.1) with ESMTP id PAA13549; Mon, 7 Dec 1998 15:32:03 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 07 Dec 1998 15:32:08 -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 PAA15152 for ; Mon, 7 Dec 1998 15:31:49 -0600 (CST) Original-Received: from beaver.jprc.com (BEAVER.JPRC.COM [207.86.147.217]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA24525 for ; Mon, 7 Dec 1998 16:31:35 -0500 (EST) Original-Received: (from karl@localhost) by beaver.jprc.com (8.8.7/8.8.7) id QAA31332; Mon, 7 Dec 1998 16:30:59 -0500 Original-To: ding@gnus.org X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu User-Agent: Gnus/5.070065 (Pterodactyl Gnus v0.65) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 31 Xref: main.gmane.org gmane.emacs.gnus.general:19746 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:19746 I wanted to send a message containing a message/rfc822 pulled from my own archives, but `C-c C-a' didn't understand "message/rfc822" as a valid type. How do we get more types into the available set? A quick look through mailcap.el didn't seem to tell me what I wanted to know, because there are a lot of types there which don't show up in *Completions* when I try to TAB-complete at the `C-c C-a' prompt. I can stuff in a message as text/plain initially, and then manually change it to message/rfc822 in the "part" spec. But then mm-encode.el wants to base64-encode it, because the CTE defaults aren't terribly specific. I did this to mm-encode.el: 1998-12-07 Karl Kleinpaste * mm-encode.el (mm-content-transfer-encoding-defaults): Add an entry for message/rfc822 as 8bit. --- mm-encode.el.~1~ Mon Dec 7 16:10:26 1998 +++ mm-encode.el Mon Dec 7 16:10:46 1998 @@ -29,6 +29,7 @@ (defvar mm-content-transfer-encoding-defaults '(("text/.*" quoted-printable) + ("message/rfc822" 8bit) ("application/emacs-lisp" 8bit) (".*" base64)) "Alist of regexps that match MIME types and their encodings.") But I suspect that something much more general is really in order here. And I don't know whether 8bit is appropriate, or if perhaps quoted-printable is what really ought to be used.