Variable: sc-attrib-selection-list

sc-attrib-selection-list is a customizable variable defined in supercite.el.gz.

Value

nil

Documentation

An alist for selecting preferred attribution based on mail headers.

Each element of this list has the following form:

   (INFOKEY ((REGEXP . ATTRIBUTION)
             (REGEXP . ATTRIBUTION)
             (...)))

Where INFOKEY is a key for sc-mail-field, REGEXP is a regular expression to match against the INFOKEY's value. ATTRIBUTION can be a string or a list. If it's a string, then it is the attribution that is selected by sc-select-attribution. If it is a list, it is evald and the return value must be a string, which is used as the selected attribution. Note that the variable sc-preferred-attribution-list must contain an element of the string "sc-consult" for this variable to be consulted during attribution selection.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/supercite.el.gz
(defcustom sc-attrib-selection-list nil
  "An alist for selecting preferred attribution based on mail headers.
Each element of this list has the following form:

   (INFOKEY ((REGEXP . ATTRIBUTION)
             (REGEXP . ATTRIBUTION)
             (...)))

Where INFOKEY is a key for `sc-mail-field', REGEXP is a regular
expression to match against the INFOKEY's value.  ATTRIBUTION can be a
string or a list.  If it's a string, then it is the attribution that is
selected by `sc-select-attribution'.  If it is a list, it is `eval'd
and the return value must be a string, which is used as the selected
attribution.  Note that the variable `sc-preferred-attribution-list'
must contain an element of the string \"sc-consult\" for this variable
to be consulted during attribution selection."
  :type '(repeat (list string
		       (repeat (cons regexp
				     (choice (sexp :tag "List to eval")
					     string)))))
  :risky t
  :group 'supercite-attr)