Xref: utzoo gnu.emacs.help:1100 comp.emacs:10031 Path: utzoo!utgpu!watserv1!watmath!uunet!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!bjaspan From: bjaspan@ATHENA.MIT.EDU ("Barr3y Jaspan") Newsgroups: gnu.emacs.help,comp.emacs Subject: Re: RMAIL does something I don't understand... Message-ID: <9102070537.AA22892@podge> Date: 7 Feb 91 05:37:53 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 19 Date: 5 Feb 91 02:08:46 GMT From: manderso@mprgate.mpr.ca (Mark Anderson) You can force Emacs to read the .mailrc by setting mail-aliases to 't. Yup. Here is a bit of code that causes it to happen automatically; I believe I snarfed it from this mailing list several months ago. ; Reset mail-aliases to t when ~/.mailrc is written, so that mail-aliases ; will get updated before next send." (setq write-file-hooks (cons 'alias-check write-file-hooks)) (defun alias-check() "" (if (equal ".mailrc" (file-name-nondirectory buffer-file-name)) (setq mail-aliases t)) nil) Barr3y Jaspan, bjaspan@mit.edu Watchmaker Computing