annotate man/message.texi @ 112:48d667d6f17f r20-1b8

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