From xemacs-m  Thu Mar  6 10:11:11 1997
Received: from canker.atype.com (jsc@canker.atype.com [137.103.200.167])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA20657
	for <xemacs-beta@xemacs.org>; Thu, 6 Mar 1997 10:11:10 -0600 (CST)
Received: (from jsc@localhost)
	by canker.atype.com (8.8.5/8.8.5) id LAA05700;
	Thu, 6 Mar 1997 11:14:53 -0500
Date: Thu, 6 Mar 1997 11:14:53 -0500
Message-Id: <199703061614.LAA05700@canker.atype.com>
From: "Jin S. Choi" <jsc@atype.com>
To: xemacs-beta@xemacs.org
Subject: patch for mime-compose.el
Reply-to: jsc@atype.com


Here is a patch for mime-compose.el that fixes a bug with including
files. It inserts a newline between the MIME headers and the content
data when including a file, without which many MIME readers including
TM will be unhappy. This is for 20.0 beta92.

cd /usr/src/xemacs/lisp/packages/
diff -c /usr/src/xemacs/lisp/packages/mime-compose.el.orig /usr/src/xemacs/lisp/packages/mime-compose.el
*** /usr/src/xemacs/lisp/packages/mime-compose.el.orig	Thu Mar  6 11:13:10 1997
--- /usr/src/xemacs/lisp/packages/mime-compose.el	Thu Mar  6 11:13:17 1997
***************
*** 594,599 ****
--- 594,600 ----
     (save-excursion (re-search-backward 
                      (concat "--" (mime-primary-boundary))) (point))
     (- (point) 1))
+   (insert "\n")
    (let ((start (point)) end (seldisp selective-display))
      (next-line 1)
      (save-excursion

