🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #9367

forwarding annoyance

#9367
From: Jamie Zawinski
Date: Thu, 31 Oct 1991 22:47
13 lines
1097 bytes
It is wrong that the last thing that vm-forward-message does is

	(goto-char (point-min))
	(end-of-line)))))

This assumes that the To: field is the first line in the buffer, which is not
necessarily true.  My mail-setup-hook inserts some other fields (X-Windows,
From, and FCC) before the To field, and leaves the cursor on the appropriate
line (it searches for the first empty header field, typically To or Subject).
vm-forward-message should contain a save-excursion, such that it leaves the
cursor wherever the mail-setup-hook put it.

	-- Jamie
Technical Details
Message-ID: <9110312247.AA09814@thalidomide>
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!cs.utexas.edu!uunet!wendy-fate.uu.net!bug-vm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,630509193ada2018,start
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1991-10-31 15:09:09 PST
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!cs.utexas.edu!uunet!wendy-fate.uu.net!bug-vm
From: jwz%thalidomide@lucid.com (Jamie Zawinski)
Newsgroups: gnu.emacs.vm.bug
Subject: forwarding annoyance
Message-ID: <9110312247.AA09814@thalidomide>
Date: 31 Oct 91 22:47:10 GMT
Sender: bug-vm-request@uunet.uu.net
Lines: 13
X-Windows: The problem for your problem.