Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!rpi!tale From: tale@pawl.rpi.edu (David C Lawrence) Newsgroups: gnu.emacs.gnus Subject: Re: Can gnus put in a default 'Reply-to' field? Message-ID: <1989Oct6.033501.28282@rpi.edu> Date: 6 Oct 89 03:35:01 GMT References: Distribution: na Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 28 In murphy@lam.dccs.upenn.edu (Linda Murphy) writes: Linda> How can I get gnus to put: Linda> Reply-To: murphy@dccs.upenn.edu Linda> in the header whenever I compose a message to be posted? How about if it puts it in the header after you've composed the article? The following hook function should suit your needs: (setq gnus-Inews-article-hook (function (lambda () (or (mail-position-on-field "Reply-To") (insert "murphy@dccs.upenn.edu (Linda Murphy)"))))) This will put in the header iff it doesn't already exist; this way if you want to set a Reply-To: to something else before C-c C-c'ing the posting, it won't be touched by the hook. Note that the "Reply-To: login@site.domain (Real Name)" form is preferred here to "Reply-To: Real Name ". I think it was Bob Sutterfield who found out a couple of months ago that some fairly widely-used net.software doesn't particularly care for the latter form, though I don't recall the details. Dave -- (setq mail '("tale@pawl.rpi.edu" "tale@itsgw.rpi.edu" "tale@rpitsmts.bitnet"))