From xemacs-m  Sun May 18 13:49:33 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA07544
	for <xemacs-beta@xemacs.org>; Sun, 18 May 1997 13:49:31 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id LAA09724;
	Sun, 18 May 1997 11:50:35 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: [PATCH] bogus patch to sendmail.el in beta1 reversal
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@xemacs.org>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 18 May 1997 11:50:33 -0700
Message-ID: <m2pvuoehs6.fsf@altair.xemacs.org>
Lines: 35
X-Mailer: Gnus v5.4.53/XEmacs 20.3(beta2)

The following patch reverses a bogus patch to sendmail.el in beta1
that causes tm to puke its guts out when inserting MIME headers into
an outgoing mail message.

(In answer to the question in the comment, the way we have it is
apparently correct).

Just why is it that an undocumented function called
`mail-position-on-field' is doing an insertion?  That sounds a tad on
the evil/unintuitive side.

Index: lisp/modes/sendmail.el
===================================================================
RCS file: /usr/local/xemacs/xemacs-20.0/lisp/modes/sendmail.el,v
retrieving revision 1.6
diff -u -r1.6 sendmail.el
--- sendmail.el	1997/05/18 03:39:59	1.6
+++ sendmail.el	1997/05/18 18:43:17
@@ -1005,8 +1005,10 @@
 	  t)
       (or soft
 	  (progn (goto-char end)
-		 (insert "\n" field ": ")
-		 (skip-chars-backward "\n")))
+		 ;; #### FSF has the next two clauses reversed.
+		 ;; which is correct?
+		 (skip-chars-backward "\n")
+		 (insert "\n" field ": ")))
       nil)))
 
 (defun mail-text ()

-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

