🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #100029

bug in rnewspost.el

#100029
From: Joe Weening
Date: Fri, 09 Mar 1990 20:48
15 lines
1282 bytes
The functions news-mail-reply, news-reply and news-post-news in
emacs-18.55/lisp/rnewspost.el contain the code:

      (narrow-to-region (point-min) (progn (goto-line (point-min))
					   (search-forward "\n\n")
					   (- (point) 2)))

followed by several calls to mail-fetch-field.  When the field being
fetched is the last line in the header, it gets truncated by one
character.  This happens only because of the (- (point) 2) above,
which causes the last line not to end with a newline.

I think that (- (point) 2) can be replaced with just (point).  All of
the other functions that calls mail-fetch-field do this, and it works
fine.
Technical Details
Message-ID: <9003092048.AA29271@Gang-of-Four.Stanford.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!GANG-OF-FOUR.STANFORD.EDU!weening

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,ed644b06d4a00fac,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-03-09 12:48:07 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!GANG-OF-FOUR.STANFORD.EDU!weening
From: weening@GANG-OF-FOUR.STANFORD.EDU (Joe Weening)
Newsgroups: gnu.emacs.bug
Subject: bug in rnewspost.el
Message-ID: <9003092048.AA29271@Gang-of-Four.Stanford.EDU>
Date: 9 Mar 90 20:48:07 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 15
Posted: Fri Mar  9 21:48:07 1990