🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #88013

rmail-resend doesn't insert comments properly

#88013
From: Jonathan I. Kamens
Date: Sun, 14 Aug 1994 06:10
31 lines
1809 bytes
In GNU Emacs 19.25.2 of Fri Aug 12 1994 on gza-client1 (sparc-sun-sunos4.1.3)

Rmail-resend doesn't insert the "resent-comment" field properly,
because it doesn't move to the beginning of a line when it needs to.
ChangeLog entry and patch:

Thu Aug 11 19:52:39 1994  Jonathan I. Kamens  (jik@gza-client1)

	* rmail.el (rmail-resend): need to go to the beginning of the
	next line after expanding mail aliases.

*** rmail.el	1994/08/11 19:33:05	1.1.1.1
--- rmail.el	1994/08/11 19:52:39	1.7
***************
*** 2030,2036 ****
  			       address
  			     (mapconcat 'identity address ",\n\t"))
  		    "\n")
! 	    (expand-mail-aliases before (point)))
  	  ;;>> Set up comment, if any.
  	  (if (and (sequencep comment) (not (zerop (length comment))))
  	      (let ((before (point))
--- 2031,2038 ----
  			       address
  			     (mapconcat 'identity address ",\n\t"))
  		    "\n")
! 	    (expand-mail-aliases before (point))
! 	    (forward-line 1))
  	  ;;>> Set up comment, if any.
  	  (if (and (sequencep comment) (not (zerop (length comment))))
  	      (let ((before (point))
Technical Details
Message-ID: <199408140355.XAA15709@gza-client1.aktis.com>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!eff!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!cam.ov.COM!jik

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,d235d513e49bded3,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-13 23:26:20 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!eff!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!cam.ov.COM!jik
From: jik@cam.ov.COM (Jonathan I. Kamens)
Newsgroups: gnu.emacs.bug
Subject: rmail-resend doesn't insert comments properly
Date: 14 Aug 1994 02:10:45 -0400
Organization: GNUs Not Usenet
Lines: 32
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <199408140355.XAA15709@gza-client1.aktis.com>