* .mailrc again
@ 1996-10-01 14:37 Mark Hovey
1996-10-01 15:08 ` Lars Balker Rasmussen
1996-10-01 17:24 ` Roger Williams
0 siblings, 2 replies; 4+ messages in thread
From: Mark Hovey @ 1996-10-01 14:37 UTC (permalink / raw)
I'm sorry--I see now that message-mode is using my .mailrc file, just
with abbreviation expansion instead of what I was used to. I like this
actually! One more small complaint: if I change my .mailrc file,
message-mode doesn't seem to reread it in the current Emacs session.
There is something like mail-synch-aliases in sendmail.el that is
supposed to do this, so presumably you could use that.
Mark Hovey
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: .mailrc again
1996-10-01 14:37 .mailrc again Mark Hovey
@ 1996-10-01 15:08 ` Lars Balker Rasmussen
1996-10-01 17:24 ` Roger Williams
1 sibling, 0 replies; 4+ messages in thread
From: Lars Balker Rasmussen @ 1996-10-01 15:08 UTC (permalink / raw)
Mark Hovey <hovey@math.mit.edu> writes:
> I'm sorry--I see now that message-mode is using my .mailrc file, just
> with abbreviation expansion instead of what I was used to. I like this
> actually!
Yup, me too. And I've only used mail-aliases for a couple of weeks, out
of more than five years on the net ;)
> One more small complaint: if I change my .mailrc file,
> message-mode doesn't seem to reread it in the current Emacs session.
> There is something like mail-synch-aliases in sendmail.el that is
> supposed to do this, so presumably you could use that.
Hmm, my combination of emacs19.33/red0.45 does reread the file when it
changes (before opening a new message, not in an already existing
message-window, as I just found out.) This may be because of my newer
version of emacs, or in red gnus, I dunno. You could always just put
mail-synch-aliases in message-setup-hook...
PS:
I get an infinite loop (ok, so it terminates ;) ) using red 0.46,
especially when ^'ing articles... Am I the only victim of this? Yes, I
have reported it.
--
Lars Balker Rasmussen - Duck!
<URL:http://www.daimi.aau.dk/~gnort/> - Where!?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: .mailrc again
1996-10-01 14:37 .mailrc again 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
1 sibling, 1 reply; 4+ messages in thread
From: Roger Williams @ 1996-10-01 17:24 UTC (permalink / raw)
Cc: ding
>>>>> Mark Hovey <hovey@math.mit.edu> 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...
--
Roger Williams finger me for my PGP public key
Coelacanth Engineering consulting & turnkey product development
Middleborough, MA wireless * DSP-based instrumentation * ATE
tel +1 508 947-8049 * fax +1 508 947-9118 * http://www.coelacanth.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: .mailrc again
1996-10-01 17:24 ` Roger Williams
@ 1996-10-07 18:09 ` François Pinard
0 siblings, 0 replies; 4+ messages in thread
From: François Pinard @ 1996-10-07 18:09 UTC (permalink / raw)
Cc: Mark Hovey, ding
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!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-10-07 18:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-01 14:37 .mailrc again 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 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).