Variable: mail-complete-alist
mail-complete-alist is a customizable variable defined in
mailalias.el.gz.
Value
(("^\\(Resent-\\)?\\(To\\|From\\|Cc\\|Bcc\\|Reply-To\\):" mail-get-names pattern)
("Newsgroups:" if
(boundp 'gnus-active-hashtb)
gnus-active-hashtb
(if
(boundp news-group-article-assoc)
news-group-article-assoc))
("Followup-To:" mail-sentto-newsgroups))
Documentation
Alist of header field and expression to return alist for completion.
The expression may reference the variable pattern
which will hold the string being completed.
If not on matching header, mail-complete-function gets called instead.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/mailalias.el.gz
(defcustom mail-complete-alist
;; Don't refer to mail-address-field-regexp here;
;; that confuses some things such as cus-dep.el.
'(("^\\(Resent-\\)?\\(To\\|From\\|Cc\\|Bcc\\|Reply-To\\):"
. (mail-get-names pattern))
("Newsgroups:" . (if (boundp 'gnus-active-hashtb)
gnus-active-hashtb
(if (boundp news-group-article-assoc)
news-group-article-assoc)))
("Followup-To:" . (mail-sentto-newsgroups))
;;("Distribution:" ???)
)
"Alist of header field and expression to return alist for completion.
The expression may reference the variable `pattern'
which will hold the string being completed.
If not on matching header, `mail-complete-function' gets called instead."
:type 'alist
:group 'mailalias)