Lines Matching defs:header
27 ;; Cancel-Key header in news articles. This is used to protect articles
31 ;; Key) header in a news article by using a hook which will be evaluated
34 ;; (add-hook '*e**a*e-header-hook 'canlock-insert-header t)
49 (defvar mail-header-separator)
56 "Password to use when signing a Cancel-Lock or a Cancel-Key header."
62 "Password to use when verifying a Cancel-Lock or a Cancel-Key header."
67 (defcustom canlock-force-insert-header nil
68 "If non-nil, insert a Cancel-Lock or a Cancel-Key header even if the
86 "Make a Cancel-Key header."
102 (defun canlock-narrow-to-header ()
109 (regexp-quote mail-header-separator))
125 "Return a list of the values of Cancel-Lock header.
126 If KEY is non-nil, look for a Cancel-Key header instead. The buffer
139 "Return a Message-ID in Cancel, Supersedes or Replaces header.
151 (defun canlock-insert-header (&optional id-for-key id-for-lock password)
152 "Insert a Cancel-Key and/or a Cancel-Lock header if possible."
156 (canlock-narrow-to-header)
157 (when (setq news (or canlock-force-insert-header
185 (message "Couldn't insert Canlock header")
206 (canlock-narrow-to-header)