annotate man/message.texi @ 98:0d2f883870bc r20-1b1

Import from CVS: tag r20-1b1
author cvs
date Mon, 13 Aug 2007 09:13:56 +0200
parents 131b0175ea99
children 4be1180a9e89
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 \input texinfo @c -*-texinfo-*-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
3 @setfilename message
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 44
diff changeset
4 @settitle Message Manual
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 @synindex fn cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 @synindex vr cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 @synindex pg cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 @finalout
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 @setchapternewpage odd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 44
diff changeset
15 This file documents Messa, the Emacs message composition mode.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 Copyright (C) 1996 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 Permission is granted to make and distribute verbatim copies of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 this manual provided the copyright notice and this permission notice
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 are preserved on all copies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 @ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 Permission is granted to process this file through Tex and print the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 results, provided the printed document carries copying permission
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 notice identical to this one except for the removal of this paragraph
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 (this paragraph not being relevant to the printed manual).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 @end ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 Permission is granted to copy and distribute modified versions of this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 manual under the conditions for verbatim copying, provided also that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 entire resulting derived work is distributed under the terms of a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 permission notice identical to this one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 Permission is granted to copy and distribute translations of this manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 into another language, under the above conditions for modified versions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 @tex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 @titlepage
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 44
diff changeset
42 @title Message Manual
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 @author by Lars Magne Ingebrigtsen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 @page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 @vskip 0pt plus 1filll
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 Copyright @copyright{} 1996 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 Permission is granted to make and distribute verbatim copies of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 this manual provided the copyright notice and this permission notice
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 are preserved on all copies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 Permission is granted to copy and distribute modified versions of this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 manual under the conditions for verbatim copying, provided that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 entire resulting derived work is distributed under the terms of a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 permission notice identical to this one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 Permission is granted to copy and distribute translations of this manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 into another language, under the above conditions for modified versions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 @end titlepage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 @page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 @end tex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 @node Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 @top Message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 All message composition (both mail and news) takes place in Message mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 * Interface:: Setting up message buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 * Commands:: Commands you can execute in message mode buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 * Variables:: Customizing the message buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 * Index:: Variable, function and concept index.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 * Key Index:: List of Message mode keys.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 @node Interface
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 @chapter Interface
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 When a program (or a person) wants to respond to a message -- reply,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 follow up, forward, cancel -- the program (or person) should just put
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 point in the buffer where the message is and call the required command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 @code{Message} will then pop up a new @code{message} mode buffer with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 appropriate headers filled out, and the user can edit the message before
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 sending it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 * New Mail Message:: Editing a brand new mail message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 * New News Message:: Editing a brand new news message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 * Reply:: Replying via mail.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 * Wide Reply:: Responding to all people via mail.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 * Followup:: Following up via news.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 * Canceling News:: Canceling a news article.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 * Superseding:: Superseding a message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 * Forwarding:: Forwarding a message via news or mail.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 * Resending:: Resending a mail message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 * Bouncing:: Bouncing a mail message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 @node New Mail Message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 @section New Mail Message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 @findex message-mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 The @code{message-mail} command pops up a new message buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 Two optional parameters are accepted: The first will be used as the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 @code{To} header and the second as the @code{Subject} header. If these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 aren't present, those two headers will be empty.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 @node New News Message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 @section New News Message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 @findex message-news
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 The @code{message-news} command pops up a new message buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 This function accepts two optional parameters. The first will be used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 as the @code{Newsgroups} header and the second as the @code{Subject}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 header. If these aren't present, those two headers will be empty.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 @node Reply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 @section Reply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 @findex message-reply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 The @code{message-reply} function pops up a message buffer that's a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 reply to the message in the current buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 @vindex message-reply-to-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 Message uses the normal methods to determine where replies are to go,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 but you can change the behavior to suit your needs by fiddling with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 @code{message-reply-to-function} variable.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 If you want the replies to go to the @code{Sender} instead of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 @code{From}, you could do something like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 (setq message-reply-to-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 (lambda ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 (cond ((equal (mail-fetch-field "from") "somebody")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 (mail-fetch-field "sender"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 (t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 nil))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 This function will be called narrowed to the head of the article that is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 being replied to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 As you can see, this function should return a string if it has an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 opinion as to what the To header should be. If it does not, it should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 just return @code{nil}, and the normal methods for determining the To
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 header will be used.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 This function can also return a list. In that case, each list element
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 should be a cons, where the car should be the name of an header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 (eg. @code{Cc}) and the cdr should be the header value
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 (eg. @samp{larsi@@ifi.uio.no}). All these headers will be inserted into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 the head of the outgoing mail.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 @node Wide Reply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 @section Wide Reply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 @findex message-wide-reply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 The @code{message-wide-reply} pops up a message buffer that's a wide
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
172 reply to the message in the current buffer. A @dfn{wide reply} is a
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
173 reply that goes out to all people listed in the @code{To}, @code{From}
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
174 and @code{Cc} headers.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 @vindex message-wide-reply-to-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 Message uses the normal methods to determine where wide replies are to go,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 but you can change the behavior to suit your needs by fiddling with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 @code{message-wide-reply-to-function}. It is used in the same way as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 @code{message-reply-to-function} (@pxref{Reply}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 @findex rmail-dont-reply-to-names
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
183 Addresses that match the @code{rmail-dont-reply-to-names} regular
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 expression will be removed from the @code{Cc} header.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 @node Followup
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 @section Followup
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 @findex message-followup
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 The @code{message-followup} command pops up a message buffer that's a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 followup to the message in the current buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 @vindex message-followup-to-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 Message uses the normal methods to determine where followups are to go,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 but you can change the behavior to suit your needs by fiddling with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 @code{message-followup-to-function}. It is used in the same way as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 @code{message-reply-to-function} (@pxref{Reply}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 @vindex message-use-followup-to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 The @code{message-use-followup-to} variable says what to do about
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 @code{Followup-To} headers. If it is @code{use}, always use the value.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 If it is @code{ask} (which is the default), ask whether to use the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 value. If it is @code{t}, use the value unless it is @samp{poster}. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 it is @code{nil}, don't use the value.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 @node Canceling News
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 @section Canceling News
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 @findex message-cancel-news
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 The @code{message-cancel-news} command cancels the article in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 current buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 @node Superseding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 @section Superseding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 @findex message-supersede
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 The @code{message-supersede} command pops up a message buffer that will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 supersede the message in the current buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 @vindex message-ignored-supersedes-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 Headers matching the @code{message-ignored-supersedes-headers} are
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
225 removed before popping up the new message buffer. The default is@*
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
226 @samp{^Path:\\|^Date\\|^NNTP-Posting-Host:\\|^Xref:\\|^Lines:\\|@*
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
227 ^Received:\\|^X-From-Line:\\|Return-Path:}.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 @node Forwarding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 @section Forwarding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 @findex message-forward
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 The @code{message-forward} command pops up a message buffer to forward
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 the message in the current buffer. If given a prefix, forward using
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 news.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 @item message-forward-start-separator
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 @vindex message-forward-start-separator
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
242 Delimiter inserted before forwarded messages. The default is@*
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 @samp{------- Start of forwarded message -------\n}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 @vindex message-forward-end-separator
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 @item message-forward-end-separator
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 @vindex message-forward-end-separator
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
248 Delimiter inserted after forwarded messages. The default is@*
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 @samp{------- End of forwarded message -------\n}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 @item message-signature-before-forwarded-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 @vindex message-signature-before-forwarded-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 If this variable is @code{t}, which it is by default, your personal
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 signature will be inserted before the forwarded message. If not, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 forwarded message will be inserted first in the new mail.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 @item message-included-forward-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 @vindex message-included-forward-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 Regexp matching header lines to be included in forwarded messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 @node Resending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 @section Resending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 @findex message-resend
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 The @code{message-resend} command will prompt the user for an address
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 and resend the message in the current buffer to that address.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 @vindex message-ignored-resent-headers
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
272 Headers that match the @code{message-ignored-resent-headers} regexp will
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 be removed before sending the message. The default is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 @samp{^Return-receipt}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 @node Bouncing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 @section Bouncing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 @findex message-bounce
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 The @code{message-bounce} command will, if the current buffer contains a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 bounced mail message, pop up a message buffer stripped of the bounce
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
283 information. A @dfn{bounced message} is typically a mail you've sent
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
284 out that has been returned by some @code{mailer-daemon} as
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
285 undeliverable.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 @vindex message-ignored-bounced-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 Headers that match the @code{message-ignored-bounced-headers} regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 will be removed before popping up the buffer. The default is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 @samp{^Received:}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 @node Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 @chapter Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 * Header Commands:: Commands for moving to headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 * Movement:: Moving around in message buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 * Insertion:: Inserting things into message buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 * Various Commands:: Various things.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 * Sending:: Actually sending the message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 @node Header Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 @section Header Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 All these commands move to the header in question. If it doesn't exist,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 it will be inserted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 @item C-c ?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 @kindex C-c ?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 @findex message-goto-to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 Describe the message mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 @item C-c C-f C-t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 @kindex C-c C-f C-t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 @findex message-goto-to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 Go to the @code{To} header (@code{message-goto-to}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 @item C-c C-f C-b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 @kindex C-c C-f C-b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 @findex message-goto-bcc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 Go to the @code{Bcc} header (@code{message-goto-bcc}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 @item C-c C-f C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 @kindex C-c C-f C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 @findex message-goto-fcc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 Go to the @code{Fcc} header (@code{message-goto-fcc}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 @item C-c C-f C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 @kindex C-c C-f C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 @findex message-goto-cc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 Go to the @code{Cc} header (@code{message-goto-cc}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 @item C-c C-f C-s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 @kindex C-c C-f C-s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 @findex message-goto-subject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 Go to the @code{Subject} header (@code{message-goto-subject}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 @item C-c C-f C-r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 @kindex C-c C-f C-r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 @findex message-goto-reply-to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 Go to the @code{Reply-To} header (@code{message-goto-reply-to}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 @item C-c C-f C-n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 @kindex C-c C-f C-n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 @findex message-goto-newsgroups
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 Go to the @code{Newsgroups} header (@code{message-goto-newsgroups}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 @item C-c C-f C-d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 @kindex C-c C-f C-d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 @findex message-goto-distribution
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 Go to the @code{Distribution} header (@code{message-goto-distribution}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 @item C-c C-f C-o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 @kindex C-c C-f C-o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 @findex message-goto-followup-to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 Go to the @code{Followup-To} header (@code{message-goto-followup-to}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 @item C-c C-f C-k
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 @kindex C-c C-f C-k
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 @findex message-goto-keywords
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 Go to the @code{Keywords} header (@code{message-goto-keywords}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 @item C-c C-f C-u
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 @kindex C-c C-f C-u
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 @findex message-goto-summary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 Go to the @code{Summary} header (@code{message-goto-summary}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 @node Movement
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 @section Movement
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 @item C-c C-b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 @kindex C-c C-b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 @findex message-goto-body
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 Move to the beginning of the body of the message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 (@code{message-goto-body}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 @item C-c C-i
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 @kindex C-c C-i
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 @findex message-goto-signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 Move to the signature of the message (@code{message-goto-signature}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 @node Insertion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 @section Insertion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 @item C-c C-y
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 @kindex C-c C-y
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 @findex message-yank-original
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402 Yank the message that's being replied to into the message buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 (@code{message-yank-original}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 @item C-c C-q
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 @kindex C-c C-q
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 @findex message-fill-yanked-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408 Fill the yanked message (@code{message-fill-yanked-message}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410 @item C-c C-w
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411 @kindex C-c C-w
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412 @findex message-insert-signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 Insert a signature at the end of the buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 (@code{message-insert-signature}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 @item message-ignored-cited-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 @vindex message-ignored-cited-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 All headers that match this regexp will be removed from yanked
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 messages. The default is @samp{.}, which means that all headers will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 removed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 @item message-citation-line-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 @vindex message-citation-line-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 Function called to insert the citation line. The default is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 @code{message-insert-citation-line}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 @item message-yank-prefix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 @vindex message-yank-prefix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 @cindex yanking
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 @cindex quoting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 When you are replying to or following up an article, you normally want
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 to quote the person you are answering. Inserting quoted text is done by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436 @dfn{yanking}, and each quoted line you yank will have
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 @code{message-yank-prefix} prepended to it. The default is @samp{> }.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 If it is @code{nil}, just indent the message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 @item message-indentation-spaces
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 @vindex message-indentation-spaces
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 Number of spaces to indent yanked messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 @item message-cite-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 @vindex message-cite-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 @findex message-cite-original
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 @findex sc-cite-original
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 @cindex Supercite
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 Function for citing an original message. The default is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 @code{message-cite-original}. You can also set it to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451 @code{sc-cite-original} to use Supercite.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 @item message-indent-citation-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 @vindex message-indent-citation-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 Function for modifying a citation just inserted in the mail buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 This can also be a list of functions. Each function can find the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457 citation between @code{(point)} and @code{(mark t)}. And each function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 should leave point and mark around the citation text as modified.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 @item message-signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 @vindex message-signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 String to be inserted at the end of the message buffer. If @code{t}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 (which is the default), the @code{message-signature-file} file will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 inserted instead. If a function, the result from the function will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 used instead. If a form, the result from the form will be used instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 If this variable is @code{nil}, no signature will be inserted at all.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468 @item message-signature-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 @vindex message-signature-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 File containing the signature to be inserted at the end of the buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 The default is @samp{~/.signature}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 Note that RFC1036 says that a signature should be preceded by the three
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476 characters @samp{-- } on a line by themselves. This is to make it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 easier for the recipient to automatically recognize and process the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 signature. So don't remove those characters, even though you might feel
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
479 that they ruin your beautiful design, like, totally.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 Also note that no signature should be more than four lines long.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 Including ASCII graphics is an efficient way to get everybody to believe
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 that you are silly and have nothing important to say.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487 @node Various Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 @section Various Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 @item C-c C-r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 @kindex C-c C-r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 @findex message-caesar-buffer-body
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 Caesar rotate (aka. rot13) the current message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 (@code{message-caesar-buffer-body}). If narrowing is in effect, just
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 rotate the visible portion of the buffer. A numerical prefix says how
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 many places to rotate the text. The default is 13.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
500 @item C-c C-e
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
501 @kindex C-c C-e
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
502 @findex message-elide-region
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
503 Elide the text between point and mark (@code{message-elide-region}).
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
504 The text is killed and an ellipsis (@samp{[...]}) will be inserted in
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
505 its place.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
506
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 @item C-c C-t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 @kindex C-c C-t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 @findex message-insert-to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 Insert a @code{To} header that contains the @code{Reply-To} or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 @code{From} header of the message you're following up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 (@code{message-insert-to}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 @item C-c C-n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 @kindex C-c C-n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 @findex message-insert-newsgroups
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 Insert a @code{Newsgroups} header that reflects the @code{Followup-To}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 or @code{Newsgroups} header of the article you're replying to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 (@code{message-insert-newsgroups}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 @item C-c M-r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 @kindex C-c M-r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 @findex message-rename-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 Rename the buffer (@code{message-rename-buffer}). If given a prefix,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 prompt for a new buffer name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 @node Sending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 @section Sending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534 @item C-c C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 @kindex C-c C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 @findex message-send-and-exit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 Send the message and bury the current buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538 (@code{message-send-and-exit}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 @item C-c C-s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 @kindex C-c C-s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 @findex message-send
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 Send the message (@code{message-send}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 @item C-c C-d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 @kindex C-c C-d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 @findex message-dont-send
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 Bury the message buffer and exit (@code{message-dont-send}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 @item C-c C-k
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 @kindex C-c C-k
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 @findex message-kill-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 Kill the message buffer and exit (@code{message-kill-buffer}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 @node Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 @chapter Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 * Message Headers:: General message header stuff.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 * Mail Headers:: Customizing mail headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 * Mail Variables:: Other mail variables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 * News Headers:: Customizing news headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 * News Variables:: Other news variables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 * Various Message Variables:: Other message variables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 * Sending Variables:: Variables for sending.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 * Message Buffers:: How Message names its buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 * Message Actions:: Actions to be performed when exiting.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 @node Message Headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 @section Message Headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 Message is quite aggressive on the message generation front. It has
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 to be -- it's a combined news and mail agent. To be able to send
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 combined messages, it has to generate all headers itself to ensure that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 mail and news copies of messages look sufficiently similar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 @item message-generate-headers-first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 @vindex message-generate-headers-first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 If non-@code{nil}, generate all headers before starting to compose the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 @item message-from-style
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 @vindex message-from-style
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 Specifies how @code{From} headers should look. There are four legal
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 values:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 @item nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 Just the address -- @samp{king@@grassland.com}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 @item parens
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 @samp{king@@grassland.com (Elvis Parsley)}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 @item angles
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602 @samp{Elvis Parsley <king@@grassland.com>}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 @item default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 Look like @code{angles} if that doesn't require quoting, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 @code{parens} if it does. If even @code{parens} requires quoting, use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 @code{angles} anyway.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 @item message-deletable-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 @vindex message-deletable-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613 Headers in this list that were previously generated by Message will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 deleted before posting. Let's say you post an article. Then you decide
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615 to post it again to some other group, you naughty boy, so you jump back
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616 to the @code{*post-buf*} buffer, edit the @code{Newsgroups} line, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617 ship it off again. By default, this variable makes sure that the old
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 generated @code{Message-ID} is deleted, and a new one generated. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619 this isn't done, the entire empire would probably crumble, anarchy would
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620 prevail, and cats would start walking on two legs and rule the world.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 Allegedly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623 @item message-default-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 @vindex message-default-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625 This string is inserted at the end of the headers in all message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
626 buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 @node Mail Headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632 @section Mail Headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 @item message-required-mail-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 @vindex message-required-mail-headers
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
637 @xref{News Headers}, for the syntax of this variable. It is
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 @code{(From Date Subject (optional . In-Reply-To) Message-ID Lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639 (optional . X-Mailer))} by default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 @item message-ignored-mail-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642 @vindex message-ignored-mail-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 Regexp of headers to be removed before mailing. The default is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 @samp{^Gcc:\\|^Fcc:}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 @item message-default-mail-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647 @vindex message-default-mail-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648 This string is inserted at the end of the headers in all message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649 buffers that are initialized as mail.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 @node Mail Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655 @section Mail Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 @item message-send-mail-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 @vindex message-send-mail-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 Function used to send the current buffer as mail. The default is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661 @code{message-send-mail-with-sendmail}. If you prefer using MH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 instead, set this variable to @code{message-send-mail-with-mh}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667 @node News Headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 @section News Headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 @vindex message-required-news-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 @code{message-required-news-headers} a list of header symbols. These
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 headers will either be automatically generated, or, if that's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 impossible, they will be prompted for. The following symbols are legal:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677 @item From
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678 @cindex From
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 @findex user-full-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 @findex user-mail-address
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681 This required header will be filled out with the result of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682 @code{message-make-from} function, which depends on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683 @code{message-from-style}, @code{user-full-name},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684 @code{user-mail-address} variables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
686 @item Subject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
687 @cindex Subject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
688 This required header will be prompted for if not present already.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
689
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
690 @item Newsgroups
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
691 @cindex Newsgroups
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692 This required header says which newsgroups the article is to be posted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693 to. If it isn't present already, it will be prompted for.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695 @item Organization
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696 @cindex organization
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697 This optional header will be filled out depending on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 @code{message-user-organization} variable.
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 44
diff changeset
699 @code{message-user-organization-file} will be used if that variable is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 44
diff changeset
700 @code{t}.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702 @item Lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 @cindex Lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 This optional header will be computed by Message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 @item Message-ID
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 @cindex Message-ID
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708 @vindex mail-host-address
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709 @findex system-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 @cindex Sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 This required header will be generated by Message. A unique ID will be
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
712 created based on the date, time, user name and system name. Message will
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 use @code{mail-host-address} as the fully qualified domain name (FQDN)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
714 of the machine if that variable is defined. If not, it will use
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715 @code{system-name}, which doesn't report a FQDN on some machines --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716 notably Suns.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
717
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 @item X-Newsreader
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719 @cindex X-Newsreader
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720 This optional header will be filled out according to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 @code{message-newsreader} local variable.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723 @item X-Mailer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 This optional header will be filled out according to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 @code{message-mailer} local variable, unless there already is an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 @code{X-Newsreader} header present.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728 @item In-Reply-To
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729 This optional header is filled out using the @code{Date} and @code{From}
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
730 header of the article being replied to.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732 @item Expires
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 @cindex Expires
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 This extremely optional header will be inserted according to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 @code{message-expires} variable. It is highly deprecated and shouldn't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736 be used unless you know what you're doing.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 @item Distribution
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 @cindex Distribution
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740 This optional header is filled out according to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741 @code{message-distribution-function} variable. It is a deprecated and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
742 much misunderstood header.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 @item Path
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745 @cindex path
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
746 This extremely optional header should probably never be used.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747 However, some @emph{very} old servers require that this header is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 present. @code{message-user-path} further controls how this
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
749 @code{Path} header is to look. If it is @code{nil}, use the server name
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
750 as the leaf node. If it is a string, use the string. If it is neither
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 a string nor @code{nil}, use the user name only. However, it is highly
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752 unlikely that you should need to fiddle with this variable at all.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
755 @findex yow
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756 @cindex Mime-Version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
757 In addition, you can enter conses into this list. The car of this cons
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
758 should be a symbol. This symbol's name is the name of the header, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
759 the cdr can either be a string to be entered verbatim as the value of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
760 this header, or it can be a function to be called. This function should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761 return a string to be inserted. For instance, if you want to insert
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
762 @code{Mime-Version: 1.0}, you should enter @code{(Mime-Version . "1.0")}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 into the list. If you want to insert a funny quote, you could enter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 something like @code{(X-Yow . yow)} into the list. The function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765 @code{yow} will then be called without any arguments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767 If the list contains a cons where the car of the cons is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 @code{optional}, the cdr of this cons will only be inserted if it is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 non-@code{nil}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771 Other variables for customizing outgoing news articles:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775 @item message-syntax-checks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776 @vindex message-syntax-checks
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
777 If non-@code{nil}, Message will attempt to check the legality of the
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778 headers, as well as some other stuff, before posting. You can control
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 the granularity of the check by adding or removing elements from this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780 list. Legal elements are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 @item subject-cmsg
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
784 Check the subject for commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785 @item sender
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786 @cindex Sender
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787 Insert a new @code{Sender} header if the @code{From} header looks odd.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 @item multiple-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789 Check for the existence of multiple equal headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790 @item sendsys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
791 @cindex sendsys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792 Check for the existence of version and sendsys commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793 @item message-id
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
794 Check whether the @code{Message-ID} looks ok.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795 @item from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 Check whether the @code{From} header seems nice.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
797 @item long-lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798 @cindex long lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
799 Check for too long lines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
800 @item control-chars
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
801 Check for illegal characters.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
802 @item size
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803 Check for excessive size.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
804 @item new-text
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
805 Check whether there is any new text in the messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806 @item signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807 Check the length of the signature.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808 @item approved
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
809 @cindex approved
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
810 Check whether the article has an @code{Approved} header, which is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
811 something only moderators should include.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
812 @item empty
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
813 Check whether the article is empty.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
814 @item empty-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
815 Check whether any of the headers are empty.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
816 @item existing-newsgroups
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
817 Check whether the newsgroups mentioned in the @code{Newsgroups} and
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
818 @code{Followup-To} headers exist.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
819 @item valid-newsgroups
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
820 Check whether the @code{Newsgroups} and @code{Followup-to} headers
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
821 are valid syntactically.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
822 @item shorten-followup-to
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
823 Check whether to add a @code{Followup-to} header to shorten the number
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
824 of groups to post to.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
827 All these conditions are checked by default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
829 @item message-ignored-news-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830 @vindex message-ignored-news-headers
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
831 Regexp of headers to be removed before posting. The default is@*
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
832 @samp{^NNTP-Posting-Host:\\|^Xref:\\|^Bcc:\\|^Gcc:\\|^Fcc:}.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
833
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
834 @item message-default-news-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
835 @vindex message-default-news-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
836 This string is inserted at the end of the headers in all message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
837 buffers that are initialized as news.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
838
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
839 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
840
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
841
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
842 @node News Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
843 @section News Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
846 @item message-send-news-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
847 @vindex message-send-news-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
848 Function used to send the current buffer as news. The default is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
849 @code{message-send-news}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
850
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
851 @item message-post-method
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
852 @vindex message-post-method
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
853 Method used for posting a prepared news message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
854
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
855 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
856
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
857
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
858 @node Various Message Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
859 @section Various Message Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
860
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
861 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
862 @item message-signature-separator
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
863 @vindex message-signature-separator
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
864 Regexp matching the signature separator. It is @samp{^-- *$} by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
865 default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
866
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
867 @item mail-header-separator
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
868 @vindex mail-header-separator
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
869 String used to separate the headers from the body. It is @samp{--text
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
870 follows this line--} by default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
871
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
872 @item message-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
873 @vindex message-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
874 Directory used by many mailey things. The default is @file{~/Mail/}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
875
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
876 @item message-autosave-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
877 @vindex message-autosave-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
878 Directory where message buffers will be autosaved to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
879
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880 @item message-signature-setup-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881 @vindex message-signature-setup-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
882 Hook run when initializing the message buffer. It is run after the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
883 headers have been inserted but before the signature has been inserted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
884
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
885 @item message-setup-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
886 @vindex message-setup-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
887 Hook run as the last thing when the message buffer has been initialized.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
888
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
889 @item message-header-setup-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
890 @vindex message-header-setup-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
891 Hook called narrowed to the headers after initializing the headers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
892
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
893 @item message-send-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
894 @vindex message-send-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
895 Hook run before sending messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
896
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
897 @item message-send-mail-hook
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
898 @vindex message-send-mail-hook
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
899 Hook run before sending mail messages.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
900
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
901 @item message-send-news-hook
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
902 @vindex message-send-news-hook
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
903 Hook run before sending news messages.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
904
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
905 @item message-sent-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
906 @vindex message-sent-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
907 Hook run after sending messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
908
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
909 @item message-mode-syntax-table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
910 @vindex message-mode-syntax-table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
911 Syntax table used in message mode buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
912
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
913 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
914
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
915
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
916
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
917 @node Sending Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
918 @section Sending Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
919
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
920 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
921
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
922 @item message-fcc-handler-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
923 @vindex message-fcc-handler-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
924 A function called to save outgoing articles. This function will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
925 called with the name of the file to store the article in. The default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
926 function is @code{rmail-output} which saves in Unix mailbox format.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
927
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
928 @item message-courtesy-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
929 @vindex message-courtesy-message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
930 When sending combined messages, this string is inserted at the start of
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
931 the mailed copy. If the string contains the format spec @samp{%s}, the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
932 newsgroups the article has been posted to will be inserted there. If
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
933 this variable is @code{nil}, no such courtesy message will be added.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
934 The default value is @samp{"The following message is a courtesy copy of
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
935 an article\nthat has been posted to %s as well.\n\n"}.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
936
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
937 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
938
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
939
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
940 @node Message Buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
941 @section Message Buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
942
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
943 Message will generate new buffers with unique buffer names when you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
944 request a message buffer. When you send the message, the buffer isn't
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
945 normally killed off. Its name is changed and a certain number of old
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
946 message buffers are kept alive.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
947
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
948 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
949 @item message-generate-new-buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
950 @vindex message-generate-new-buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
951 If non-@code{nil}, generate new buffers. The default is @code{t}. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
952 this is a function, call that function with three parameters: The type,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
953 the to address and the group name. (Any of these may be @code{nil}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
954 The function should return the new buffer name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
955
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
956 @item message-max-buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
957 @vindex message-max-buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
958 This variable says how many old message buffers to keep. If there are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
959 more message buffers than this, the oldest buffer will be killed. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
960 default is 10. If this variable is @code{nil}, no old message buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
961 will ever be killed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
962
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
963 @item message-send-rename-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
964 @vindex message-send-rename-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
965 After sending a message, the buffer is renamed from, for instance,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
966 @samp{*reply to Lars*} to @samp{*sent reply to Lars*}. If you don't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
967 like this, set this variable to a function that renames the buffer in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
968 manner you like. If you don't want to rename the buffer at all, you can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
969 say:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
970
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
971 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
972 (setq message-send-rename-function 'ignore)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
973 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
974
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
975 @item message-kill-buffer-on-exit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
976 @findex message-kill-buffer-on-exit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
977 If non-@code{nil}, kill the buffer immediately on exit.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
978
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
979 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
980
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
981
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
982 @node Message Actions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
983 @section Message Actions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
984
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
985 When Message is being used from a news/mail reader, the reader is likely
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
986 to want to perform some task after the message has been sent. Perhaps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
987 return to the previous window configuration or mark an article as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
988 replied.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
989
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
990 @vindex message-kill-actions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
991 @vindex message-postpone-actions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
992 @vindex message-exit-actions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
993 @vindex message-send-actions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
994 The user may exit from the message buffer in various ways. The most
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
995 common is @kbd{C-c C-c}, which sends the message and exits. Other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
996 possibilities are @kbd{C-c C-s} which just sends the message, @kbd{C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
997 C-d} which postpones the message editing and buries the message buffer,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
998 and @kbd{C-c C-k} which kills the message buffer. Each of these actions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
999 have lists associated with them that contains actions to be executed:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1000 @code{message-send-actions}, @code{message-exit-actions},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1001 @code{message-postpone-actions}, and @code{message-kill-actions}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1002
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1003 Message provides a function to interface with these lists:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1004 @code{message-add-action}. The first parameter is the action to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1005 added, and the rest of the arguments are which lists to add this action
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1006 to. Here's an example from Gnus:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1007
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1008 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1009 (message-add-action
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1010 `(set-window-configuration ,(current-window-configuration))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1011 'exit 'postpone 'kill)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1012 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1013
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1014 This restores the Gnus window configuration when the message buffer is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1015 killed, postponed or exited.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1016
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
1017 An @dfn{action} can be either: a normal function, or a list where the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
1018 @code{car} is a function and the @code{cdr} is the list of arguments, or
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1019 a form to be @code{eval}ed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1020
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1021 @node Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1022 @chapter Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1023 @printindex cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1024
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1025 @node Key Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1026 @chapter Key Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1027 @printindex ky
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1028
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1029 @summarycontents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1030 @contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1031 @bye
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1032
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1033 @c End: