| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
message-required-news-headers a list of header symbols. These
headers will either be automatically generated, or, if that's
impossible, they will be prompted for. The following symbols are valid:
From
message-make-from function, which depends on the
message-from-style, user-full-name,
user-mail-address variables.
Subject
Newsgroups
Organization
message-user-organization variable.
message-user-organization-file will be used if this variable is
t. This variable can also be a string (in which case this string
will be used), or it can be a function (which will be called with no
parameters and should return a string to be used).
Lines
Message-ID
message-user-fqdn, system-name, mail-host-address
and message-user-mail-address (i.e. user-mail-address)
until a probably valid fully qualified domain name (FQDN) was found.
User-Agent
message-newsreader local variable.
In-Reply-To
Date and From
header of the article being replied to.
Expires
message-expires variable. It is highly deprecated and shouldn't
be used unless you know what you're doing.
Distribution
message-distribution-function variable. It is a deprecated and
much misunderstood header.
Path
message-user-path further controls how this
Path header is to look. If it is nil, use the server name
as the leaf node. If it is a string, use the string. If it is neither
a string nor nil, use the user name only. However, it is highly
unlikely that you should need to fiddle with this variable at all.
In addition, you can enter conses into this list. The CAR of this cons
should be a symbol. This symbol's name is the name of the header, and
the CDR can either be a string to be entered verbatim as the value of
this header, or it can be a function to be called. This function should
return a string to be inserted. For instance, if you want to insert
Mime-Version: 1.0, you should enter (Mime-Version . "1.0")
into the list. If you want to insert a funny quote, you could enter
something like (X-Yow . yow) into the list. The function
yow will then be called without any arguments.
If the list contains a cons where the CAR of the cons is
optional, the CDR of this cons will only be inserted if it is
non-nil.
If you want to delete an entry from this list, the following Lisp snippet might be useful. Adjust accordingly if you want to remove another element.
(setq message-required-news-headers
(delq 'Message-ID message-required-news-headers))
|
Other variables for customizing outgoing news articles:
message-syntax-checks
(signature . disabled) |
to this list.
Valid checks are:
approved
Approved header, which is
something only moderators should include.
continuation-headers
control-chars
empty
existing-newsgroups
Newsgroups and
Followup-To headers exist.
from
From header seems nice.
illegible-text
invisible-text
long-header-lines
long-lines
message-id
Message-ID looks syntactically ok.
multiple-headers
new-text
newsgroups
Newsgroups header exists and is not empty.
quoting-style
repeated-newsgroups
Newsgroups and Followup-to headers
contains repeated group names.
reply-to
Reply-To header looks ok.
sender
Sender header if the From header looks odd.
sendsys
shoot
Message-ID header looks ok.
shorten-followup-to
Followup-to header to shorten the number
of groups to post to.
signature
size
subject
Subject header exists and is not empty.
subject-cmsg
valid-newsgroups
Newsgroups and Followup-to headers
are valid syntactically.
All these conditions are checked by default, except for sender
for which the check is disabled by default if
message-insert-canlock is non-nil (see section 1.6 Canceling News).
message-ignored-news-headers
message-default-news-headers
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |