From xemacs-m  Sun May 18 14:28:44 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA07743
	for <xemacs-beta@xemacs.org>; Sun, 18 May 1997 14:28:43 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id VAA21113; Sun, 18 May 1997 21:28:42 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: [PATCH] bogus patch to sendmail.el in beta1 reversal
References: <m2pvuoehs6.fsf@altair.xemacs.org>
X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
X-Windows: simplicity made complex.
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 18 May 1997 21:28:41 +0200
In-Reply-To: Steven L Baur's message of 18 May 1997 11:50:33 -0700
Message-ID: <kiglo5co9zq.fsf@jagor.srce.hr>
Lines: 42
X-Mailer: Gnus v5.4.52/XEmacs 20.2

Steven L Baur <steve@xemacs.org> writes:

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

I don't think so.  At least Noah Friedman claims otherwise.

---cut
From: friedman@splode.com (Noah Friedman)
Subject: mail-position-on-field broken in xemacs
Newsgroups: comp.emacs.xemacs

Wow, I just found a *really* old bug.  Makes me all nostalgic.

If you look toward the end of the function definition you see the comments:

      ...
	  (progn (goto-char end)
		 ;; #### FSF has the next two clauses reversed.
		 ;; which is correct?
		 (skip-chars-backward "\n")
		 (insert "\n" field ": ")))
      nil)))

To answer the question, the FSF's version is correct.  I discovered a
problem with this original order (which dates from Emacs 18.58 and
earlier).  I fixed this for Emacs 18.59 and in the FSF's v19 development
sources, but I think the Lucid/FSF source split must already have occured.

Anyway, the FSF version works, and XEmacs's doesn't, when there are no mail
header present, i.e. the entire buffer consists only of the string 
"--text follows this line--".  As a consequence, XEmacs breaks my order-head.el
package.  (I know, big deal.  :-))

Please fix for the next 20.x release?
---cut

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
* Vi is the God of editors.
* Emacs is the editor of Gods.

