🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99341

inconsistency of news-mail-reply and mail-fetch-field

#99341
From: Ping Zhou
Date: Fri, 28 Sep 1990 22:22
27 lines
1851 bytes
After some digging (as a novice) followed a problem with gnus, I find that
news-mail-reply is inconsistent with mail-fetch-field function. As a result
the last character of the last line of the header is always missing.  

The following patch to rnewspost.el fixes this problem.

*** /usr/local/emacs/lisp/rnewspost.el	Thu Aug  9 17:34:57 1990
--- rnewspost.el	Thu Sep 27 18:11:33 1990
***************
*** 252,258 ****
      (save-restriction
        (narrow-to-region (point-min) (progn (goto-line (point-min))
  					   (search-forward "\n\n")
! 					   (- (point) 2)))
        (setq from (mail-fetch-field "from")
  	    subject (mail-fetch-field "subject")
  	    reply-to (mail-fetch-field "reply-to")
--- 252,258 ----
      (save-restriction
        (narrow-to-region (point-min) (progn (goto-line (point-min))
  					   (search-forward "\n\n")
! 					   (- (point) 1)))
        (setq from (mail-fetch-field "from")
  	    subject (mail-fetch-field "subject")
  	    reply-to (mail-fetch-field "reply-to")
--
Ping zhou@linac.fnal.gov
Technical Details
Message-ID: <ZHOU.90Sep28172226@linac.fnal.gov>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!zhou
References: <ZHOU.90Sep26130041@linac.fnal.gov> <JBW.90Sep28031608@bucsf.bu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,1f1c415e87fd188d,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-09-29 05:52:21 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!zhou
From: zhou@linac.fnal.gov (Ping Zhou)
Newsgroups: gnu.emacs.bug
Subject: inconsistency of news-mail-reply and mail-fetch-field
Message-ID: <ZHOU.90Sep28172226@linac.fnal.gov>
Date: 28 Sep 90 22:22:26 GMT
References: <ZHOU.90Sep26130041@linac.fnal.gov>
 <JBW.90Sep28031608@bucsf.bu.edu>
Sender: zhou@linac.fnal.gov
Distribution: gnu
Organization: Fermilab, Batavia, IL
Lines: 27
Posted: Fri Sep 28 23:22:26 1990
In-reply-to: jbw@bucsf.bu.edu's message of 28 Sep 90 07:16:08 GMT