| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
message-default-charset
iso-8859-1 on non-MULE Emacsen; otherwise nil,
which means ask the user. (This variable is used only on non-MULE
Emacsen.) See section `Charset Translation' in Emacs MIME Manual, for details on the MULE-to-MIME
translation process.
message-fill-column
message-signature-separator
mail-header-separator
message-directory
message-directory.
message-auto-save-directory
nil, Message won't auto-save. The default is `~/Mail/drafts/'.
message-signature-setup-hook
message-setup-hook
message-header-setup-hook
For instance, if you're running Gnus and wish to insert a `Mail-Copies-To' header in all your news articles and all messages you send to mailing lists, you could do something like the following:
(defun my-message-header-setup-hook ()
(let ((group (or gnus-newsgroup-name "")))
(when (or (message-fetch-field "newsgroups")
(gnus-group-find-parameter group 'to-address)
(gnus-group-find-parameter group 'to-list))
(insert "Mail-Copies-To: never\n"))))
(add-hook 'message-header-setup-hook
'my-message-header-setup-hook)
|
message-send-hook
If you want to add certain headers before sending, you can use the
message-add-header function in this hook. For instance:
(add-hook 'message-send-hook 'my-message-add-content) (defun my-message-add-content () (message-add-header "X-In-No-Sense: Nonsense") (message-add-header "X-Whatever: no")) |
This function won't add the header if the header is already present.
message-send-mail-hook
message-send-news-hook
message-sent-hook
message-cancel-hook
message-mode-syntax-table
message-cite-articles-with-x-no-archive
nil, don't strip quoted text from articles that have
`X-No-Archive' set. Even if this variable isn't set, you can
undo the stripping by hitting the undo keystroke.
message-strip-special-text-properties
message-send-method-alist
(type predicate function) |
nil.
function is called with one parameter--the prefix.
The default is:
((news message-news-p message-send-via-news) (mail message-mail-p message-send-via-mail)) |
The message-news-p function returns non-nil if the message
looks like news, and the message-send-via-news function sends the
message according to the message-send-news-function variable
(see section 3.5 News Variables). The message-mail-p function returns
non-nil if the message looks like mail, and the
message-send-via-mail function sends the message according to the
message-send-mail-function variable (see section 3.3 Mail Variables).
All the elements in this alist will be tried in order, so a message containing both a valid `Newsgroups' header and a valid `To' header, for example, will be sent as news, and then as mail.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |