Gnus development mailing list
 help / color / mirror / Atom feed
From: Karl Kleinpaste <karl@justresearch.com>
Subject: mm-encode doesn't know message/rfc822, and base64's them
Date: 07 Dec 1998 16:30:59 -0500	[thread overview]
Message-ID: <vxklnkjd4h8.fsf@beaver.jprc.com> (raw)

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  <karl@justresearch.com>

	* 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.


             reply	other threads:[~1998-12-07 21:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-07 21:30 Karl Kleinpaste [this message]
1998-12-07 22:20 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vxklnkjd4h8.fsf@beaver.jprc.com \
    --to=karl@justresearch.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).