From: "François Pinard" <pinard@progiciels-bpi.ca>
Cc: Mark Hovey <hovey@math.mit.edu>, ding@ifi.uio.no
Subject: Re: .mailrc again
Date: 07 Oct 1996 14:09:18 -0400 [thread overview]
Message-ID: <oqaftyve7l.fsf@icule.progiciels-bpi.ca> (raw)
In-Reply-To: Roger Williams's message of 1996-10-01 12:24:06-05:00
Roger Williams <roger@coelacanth.com> writes:
| > ... if I change my .mailrc file, message-mode doesn't seem to
| > reread it in the current Emacs session...
|
| Of course, M-x rebuild-mail-abbrevs is pretty easy...
For once I may help! :-) For years, I've been using such code:
(defun maybe-reread-mail-aliases ()
(let ((mailrc (expand-file-name "~/.mailrc")))
(if (string-equal buffer-file-name mailrc)
(rebuild-mail-abbrevs mailrc)))
nil)
(add-hook 'write-file-hooks 'maybe-reread-mail-aliases)
So, I modify ~/.mailrc, and as soon as I do `C-x C-s' on it, changed
aliases are immediately usable in the message composition buffer.
--
François Pinard ``Vivement GNU!'' pinard@iro.umontreal.ca
Support Programming Freedom, join our League! Ask lpf@lpf.org for info!
prev parent reply other threads:[~1996-10-07 18:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-01 14:37 Mark Hovey
1996-10-01 15:08 ` Lars Balker Rasmussen
1996-10-01 17:24 ` Roger Williams
1996-10-07 18:09 ` François Pinard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=oqaftyve7l.fsf@icule.progiciels-bpi.ca \
--to=pinard@progiciels-bpi.ca \
--cc=ding@ifi.uio.no \
--cc=hovey@math.mit.edu \
--cc=pinard@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).