There are two different things you must consider when talking about mailing-lists.
If you have a group of people that you often send mail to, eg. your family, you can define a mail-alias for every group-member in your database. Here is an example for how I do it:
‘M-x bbdb’ and search for “schroeder”.‘o’.‘*a’ and type the mail-alias “schroeder”.You also need to tell the BBDB to define the mail abbreviations for you. This depends on the mail package you use – here is the code for your ~/.emacs for both plain mail-mode, or the message-mode that comes with Gnus.
(add-hook 'mail-setup-hook 'bbdb-define-all-aliases)
(add-hook 'message-setup-hook 'bbdb-define-all-aliases)Now you can create a new mail and type `schroeder SPC’ at the To: header. Since “schroeder” is a mail-abbrev, this will get expanded to all the recipients with the schroeder mail-alias in the BBDB.
You can treat a mailing list just like an ordinary person. The only thing you might want to consider are the gnus-public and gnus-private fields, if you want to SplitMailUsingBbdb.
emacs-devel
net: emacs-devel@gnu.org
gnus-public: mail.emacs.devel .*