| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Message is quite aggressive on the message generation front. It has to be -- it's a combined news and mail agent. To be able to send combined messages, it has to generate all headers itself (instead of letting the mail/news system do it) to ensure that mail and news copies of messages look sufficiently similar.
message-generate-headers-first
t, generate all required headers before starting to
compose the message. This can also be a list of headers to generate:
(setq message-generate-headers-first
'(References))
|
The variables message-required-headers,
message-required-mail-headers and
message-required-news-headers specify which headers are
required.
Note that some headers will be removed and re-generated before posting,
because of the variable message-deletable-headers (see below).
message-draft-headers
message-draft-headers says which headers
should be generated when a draft is written to the draft group.
message-from-style
From headers should look. There are four valid
values:
nil
parens
angles
default
angles if that doesn't require quoting, and
parens if it does. If even parens requires quoting, use
angles anyway.
message-deletable-headers
*post-buf* buffer, edit the Newsgroups line, and
ship it off again. By default, this variable makes sure that the old
generated Message-ID is deleted, and a new one generated. If
this isn't done, the entire empire would probably crumble, anarchy would
prevail, and cats would start walking on two legs and rule the world.
Allegedly.
message-default-headers
message-subject-re-regexp
Here's an example of a value to deal with these headers when responding to a message:
(setq message-subject-re-regexp
(concat
"^[ \t]*"
"\\("
"\\("
"[Aa][Nn][Tt][Ww]\\.?\\|" ; antw
"[Aa][Ww]\\|" ; aw
"[Ff][Ww][Dd]?\\|" ; fwd
"[Oo][Dd][Pp]\\|" ; odp
"[Rr][Ee]\\|" ; re
"[Rr][\311\351][Ff]\\.?\\|" ; ref
"[Ss][Vv]" ; sv
"\\)"
"\\(\\[[0-9]*\\]\\)"
"*:[ \t]*"
"\\)"
"*[ \t]*"
))
|
message-subject-trailing-was-query
nil, leave the subject unchanged. If it is the symbol
ask, query the user what do do. In this case, the subject is
matched against message-subject-trailing-was-ask-regexp. If
message-subject-trailing-was-query is t, always strip the
trailing old subject. In this case,
message-subject-trailing-was-regexp is used.
message-alternative-emails
From field.
message-allow-no-recipients
Gcc or Fcc. If it is always, the posting is
allowed. If it is never, the posting is not allowed. If it is
ask (the default), you are prompted.
message-hidden-headers
not and the rest are regexps. It says which headers to keep
hidden when composing a message.
(setq message-hidden-headers
'(not "From" "Subject" "To" "Cc" "Newsgroups"))
|
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |