I have the following code in my .emacs, to record what mailing lists
and newsgroups I've seen various people on. It works well, but I
dislike having to keep the regexp describing the mailing lists I
belong to twice. I tried assigning the string to a variable, but I
guess my syntax wasn't right. Can anyone help me?
(setq bbdb-auto-notes-alist '(("Organization" (".*" company 0))
("Subject" (".*subscribe.*" lossage 0))
("To"
("nm-list\\|adolph-a-carrot\\|unix-haters\\|mailer-error-of-the-day\\|feature-sendmail\\|its-lovers\\|tops-20\\|ks-at-home\\|efs-.*\\|wsd-l\\|info-bbdb"
lists 0))
("Cc"
("nm-list\\|adolph-a-carrot\\|unix-haters\\|mailer-error-of-the-day\\|feature-sendmail\\|its-lovers\\|tops-20\\|ks-at-home\\|efs-.*\\|wsd-l\\|info-bbdb"
lists 0))
("Newsgroups" (".*" lists 0)))