🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99944

Re: mailrc files

#99944
From: Frank P. Bresz
Date: Tue, 10 Apr 1990 03:29
39 lines
1813 bytes
Hi,
>
>When I edit my .mailrc file, I [empirically] have to kill emacs and
>start a new emacs for any new aliasii added to .mailrc to be noticed
>and used when sending mail. Is this a known bug, or am I [not] doing
>something silly?

	I too noticed this problem.  I wrote the following function which
helps. I included it in my copy of mailalias.el but you may not want to put
it there. 


;; Force a rebuild of the aliases list
;; Created fpb@ittc.uu.net - Jun 20, 1989
(defun rebuild-mail-aliases (&optional file)
  "Rebuild the aliases from ~/.mailrc file.
Forces emacs-mailer to re-read the ~/.mailrc file.
Useful when new aliases are added."
  (interactive)
  (setq mail-aliases t)
  (message "Rebuilding mail aliases...")
  (build-mail-aliases file)
  (message "Rebuilding mail aliases... done."))



					Frank P. Bresz }*{

InterNet :	fbresz@ittc.uu.net
UUCP:		..!uunet!ittc!fbresz
Voice :		(412)733-6749
Fax :		(412)733-6444
Snail :		Westinghouse Electric Corp
		ITTC Mail Stop 22
		1740 Golden Mile Highway
		Monroeville, PA 15146

DISCLAIMER: As always, the opinions expressed above are strictly my own
and do not reflect those of my employer, Westinghouse Electric.
Technical Details
Message-ID: <9004100329.AA00700@ittc>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!UUNET.UU.NET!ittc!fpb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,fee184a1ec44c4a3
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-04-10 10:33:01 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!UUNET.UU.NET!ittc!fpb
From: ittc!fpb@UUNET.UU.NET (Frank P. Bresz)
Newsgroups: gnu.emacs.bug
Subject: Re: mailrc files
Message-ID: <9004100329.AA00700@ittc>
Date: 10 Apr 90 03:29:31 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: ittc!fbresz@uunet.uu.net
Distribution: gnu
Organization: Westinghouse, ITTC, Pgh, PA.
Lines: 39
Posted: Tue Apr 10 04:29:31 1990