Discussion:
[VM] defining groups of recipients
Salome Södergran
2011-05-24 20:00:12 UTC
Permalink
Hi!
Final question for right now. :-)
I use bbdb and autocompletion. When composing a message, is there a
way to specify not just single recipients but a predefined group of
recipients? According to the bbdb-manual, bbdb itself is not capable
of defining groups. The manual points to mail-abbrevs. I defined a
group in .mailrc according to the instructions in mailabbrev.el and
added (add-hook 'mail-mode-hook 'mail-abbrevs-setup) to my .vm-file
but that doesn't work yet. What else (or what instead) will I have to
do?
Thanks! Salome
Uday Reddy
2011-05-24 20:00:19 UTC
Permalink
Post by Salome Södergran
I use bbdb and autocompletion. When composing a message, is there a
way to specify not just single recipients but a predefined group of
recipients? According to the bbdb-manual, bbdb itself is not capable
of defining groups. The manual points to mail-abbrevs. I defined a
group in .mailrc according to the instructions in mailabbrev.el and
added (add-hook 'mail-mode-hook 'mail-abbrevs-setup) to my .vm-file
but that doesn't work yet. What else (or what instead) will I have to
do?
I have the same line of customization, but it is in my .emacs file
rather than the .vm file. (mail-mode is part of Emacs, not VM.)

If it still doesn't work after moving it to .emacs, then I don't know
what could be going wrong.

Cheers,
Uday
Salome Södergran
2011-05-24 20:00:20 UTC
Permalink
Post by Uday Reddy
Post by Salome Södergran
I use bbdb and autocompletion. When composing a message, is there a
way to specify not just single recipients but a predefined group of
recipients?
[snip] I
added (add-hook 'mail-mode-hook 'mail-abbrevs-setup) to my .vm-file
but that doesn't work yet.
I have the same line of customization, but it is in my .emacs file
rather than the .vm file. (mail-mode is part of Emacs, not VM.)
I finally found a solution, after trying without success to define
aliases in the .mailrc file. It's as easy as using the field mail-alias
within bbdb. I just came across it in the bbdb-manual; don't know
whether I didn't see or just didn't understand this part of the bbdb-manual
when first reading it. Whether the mail-mode-hook-line is part of .emacs
or .vm doesn't seem to make a difference; at least in my case it works
both ways.

Best, Salome

Loading...