jak@cs.brown.edu (Jak Kirman) (03/13/89)
Forgive me if this has been asked before, but wouldn't it be reasonable for emacs to check to see if one's .mailrc has changed since build-mail-aliases was last run before sending mail? It is not uncommon for me to change my .mailrc and then send to a new or modified alias; if I forget to run build-mail-aliases inbetween, the old alias is used. Has anyone added this in, or is there a good reason why things work as they do? Jak Kirman ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ARPA/BITNET : jak@cs.brown.edu Tel : (401) 863 7664 UUCP : ...!{decvax,allegra,ihnp4}!brunix!jak or 7695 Snail : 86 Benevolent St, Providence, 02906 RI. Tel : (401) 272 6149 The Right Hon. was a tubby little chap who looked as if he had been poured into his clothes and had forgotten to say 'When!' -- P.G. Wodehouse
rich@kappa.Rice.EDU (Richard Murphey) (03/15/89)
In atricle 3749 of comp.emacs Jak Kirman writes:
Forgive me if this has been asked before, but wouldn't it be reasonable
for emacs to check to see if one's .mailrc has changed since
build-mail-aliases was last run before sending mail? It is not uncommon
for me to change my .mailrc and then send to a new or modified alias; if
I forget to run build-mail-aliases inbetween, the old alias is used.
You can easily add a comment line on the end of your .mailrc containing (build-mail-aliases), move the cursor to it after editing a new alias
and do M-x eval-last-sexp. This is even easier if eval-last-sexp is
lready bound to a handy key sequence, such as C-x C-e.
The tail of your .mailrc might look like:
alias keith keith-cooper
alias don don-schroeder
# (build-mail-aliases)
Enjoy!
Rich Murphey
Electrical Engineering
Rice University