Mercurial > emacs
comparison lisp/mail/sendmail.el @ 66228:69f47ed7d25d
(mail-setup-hook, mail-aliases)
(mail-yank-prefix, mail-indentation-spaces, mail-yank-hooks)
(mail-citation-prefix-regexp, mail-signature-file)
(mail-default-headers, mail-bury-selects-summary)
(mail-send-nonascii): Add autoload cookies.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 20 Oct 2005 14:34:18 +0000 |
parents | 5aebfc4d20d5 |
children | 1bca10e9d192 0ca0d9181b5e |
comparison
equal
deleted
inserted
replaced
66227:3220ff7b4d13 | 66228:69f47ed7d25d |
---|---|
183 the `Mail' or `mailx' program. | 183 the `Mail' or `mailx' program. |
184 This file need not actually exist." | 184 This file need not actually exist." |
185 :type '(choice (const nil) file) | 185 :type '(choice (const nil) file) |
186 :group 'sendmail) | 186 :group 'sendmail) |
187 | 187 |
188 ;;;###autoload | |
188 (defcustom mail-setup-hook nil | 189 (defcustom mail-setup-hook nil |
189 "Normal hook, run each time a new outgoing mail message is initialized. | 190 "Normal hook, run each time a new outgoing mail message is initialized. |
190 The function `mail-setup' runs this hook." | 191 The function `mail-setup' runs this hook." |
191 :type 'hook | 192 :type 'hook |
192 :options '(fortune-to-signature spook mail-abbrevs-setup) | 193 :options '(fortune-to-signature spook mail-abbrevs-setup) |
193 :group 'sendmail) | 194 :group 'sendmail) |
194 | 195 |
196 ;;;###autoload | |
195 (defvar mail-aliases t | 197 (defvar mail-aliases t |
196 "Alist of mail address aliases, | 198 "Alist of mail address aliases, |
197 or t meaning should be initialized from your mail aliases file. | 199 or t meaning should be initialized from your mail aliases file. |
198 \(The file's name is normally `~/.mailrc', but `mail-personal-alias-file' | 200 \(The file's name is normally `~/.mailrc', but `mail-personal-alias-file' |
199 can specify a different file name.) | 201 can specify a different file name.) |
201 alias ALIAS MEANING") | 203 alias ALIAS MEANING") |
202 | 204 |
203 (defvar mail-alias-modtime nil | 205 (defvar mail-alias-modtime nil |
204 "The modification time of your mail alias file when it was last examined.") | 206 "The modification time of your mail alias file when it was last examined.") |
205 | 207 |
208 ;;;###autoload | |
206 (defcustom mail-yank-prefix nil | 209 (defcustom mail-yank-prefix nil |
207 "*Prefix insert on lines of yanked message being replied to. | 210 "*Prefix insert on lines of yanked message being replied to. |
208 nil means use indentation." | 211 nil means use indentation." |
209 :type '(choice (const nil) string) | 212 :type '(choice (const nil) string) |
210 :group 'sendmail) | 213 :group 'sendmail) |
211 | 214 |
215 ;;;###autoload | |
212 (defcustom mail-indentation-spaces 3 | 216 (defcustom mail-indentation-spaces 3 |
213 "*Number of spaces to insert at the beginning of each cited line. | 217 "*Number of spaces to insert at the beginning of each cited line. |
214 Used by `mail-yank-original' via `mail-indent-citation'." | 218 Used by `mail-yank-original' via `mail-indent-citation'." |
215 :type 'integer | 219 :type 'integer |
216 :group 'sendmail) | 220 :group 'sendmail) |
221 | |
217 (defvar mail-yank-hooks nil | 222 (defvar mail-yank-hooks nil |
218 "Obsolete hook for modifying a citation just inserted in the mail buffer. | 223 "Obsolete hook for modifying a citation just inserted in the mail buffer. |
219 Each hook function can find the citation between (point) and (mark t). | 224 Each hook function can find the citation between (point) and (mark t). |
220 And each hook function should leave point and mark around the citation | 225 And each hook function should leave point and mark around the citation |
221 text as modified. | 226 text as modified. |
240 (defvar mail-citation-header nil | 245 (defvar mail-citation-header nil |
241 "While running `mail-citation-hook', this variable holds the message header. | 246 "While running `mail-citation-hook', this variable holds the message header. |
242 This enables the hook functions to see the whole message header | 247 This enables the hook functions to see the whole message header |
243 regardless of what part of it (if any) is included in the cited text.") | 248 regardless of what part of it (if any) is included in the cited text.") |
244 | 249 |
250 ;;;###autoload | |
245 (defcustom mail-citation-prefix-regexp "[ \t]*[-a-z0-9A-Z]*>+[ \t]*\\|[ \t]*" | 251 (defcustom mail-citation-prefix-regexp "[ \t]*[-a-z0-9A-Z]*>+[ \t]*\\|[ \t]*" |
246 "*Regular expression to match a citation prefix plus whitespace. | 252 "*Regular expression to match a citation prefix plus whitespace. |
247 It should match whatever sort of citation prefixes you want to handle, | 253 It should match whatever sort of citation prefixes you want to handle, |
248 with whitespace before and after; it should also match just whitespace. | 254 with whitespace before and after; it should also match just whitespace. |
249 The default value matches citations like `foo-bar>' plus whitespace." | 255 The default value matches citations like `foo-bar>' plus whitespace." |
279 (string :tag "String to insert") | 285 (string :tag "String to insert") |
280 (sexp :tag "Expression to evaluate")) | 286 (sexp :tag "Expression to evaluate")) |
281 :group 'sendmail) | 287 :group 'sendmail) |
282 (put 'mail-signature 'risky-local-variable t) | 288 (put 'mail-signature 'risky-local-variable t) |
283 | 289 |
290 ;;;###autoload | |
284 (defcustom mail-signature-file "~/.signature" | 291 (defcustom mail-signature-file "~/.signature" |
285 "*File containing the text inserted at end of mail buffer." | 292 "*File containing the text inserted at end of mail buffer." |
286 :type 'file | 293 :type 'file |
287 :group 'sendmail) | 294 :group 'sendmail) |
288 | 295 |
299 (defvar mail-send-actions nil | 306 (defvar mail-send-actions nil |
300 "A list of actions to be performed upon successful sending of a message.") | 307 "A list of actions to be performed upon successful sending of a message.") |
301 (put 'mail-reply-action 'permanent-local t) | 308 (put 'mail-reply-action 'permanent-local t) |
302 (put 'mail-send-actions 'permanent-local t) | 309 (put 'mail-send-actions 'permanent-local t) |
303 | 310 |
311 ;;;###autoload | |
304 (defcustom mail-default-headers nil | 312 (defcustom mail-default-headers nil |
305 "*A string containing header lines, to be inserted in outgoing messages. | 313 "*A string containing header lines, to be inserted in outgoing messages. |
306 It is inserted before you edit the message, | 314 It is inserted before you edit the message, |
307 so you can edit or delete these lines." | 315 so you can edit or delete these lines." |
308 :type '(choice (const nil) string) | 316 :type '(choice (const nil) string) |
309 :group 'sendmail) | 317 :group 'sendmail) |
310 | 318 |
319 ;;;###autoload | |
311 (defcustom mail-bury-selects-summary t | 320 (defcustom mail-bury-selects-summary t |
312 "*If non-nil, try to show RMAIL summary buffer after returning from mail. | 321 "*If non-nil, try to show RMAIL summary buffer after returning from mail. |
313 The functions \\[mail-send-on-exit] or \\[mail-dont-send] select | 322 The functions \\[mail-send-on-exit] or \\[mail-dont-send] select |
314 the RMAIL summary buffer before returning, if it exists and this variable | 323 the RMAIL summary buffer before returning, if it exists and this variable |
315 is non-nil." | 324 is non-nil." |
316 :type 'boolean | 325 :type 'boolean |
317 :group 'sendmail) | 326 :group 'sendmail) |
318 | 327 |
328 ;;;###autoload | |
319 (defcustom mail-send-nonascii 'mime | 329 (defcustom mail-send-nonascii 'mime |
320 "*Specify whether to allow sending non-ASCII characters in mail. | 330 "*Specify whether to allow sending non-ASCII characters in mail. |
321 If t, that means do allow it. nil means don't allow it. | 331 If t, that means do allow it. nil means don't allow it. |
322 `query' means ask the user each time. | 332 `query' means ask the user each time. |
323 `mime' means add an appropriate MIME header if none already present. | 333 `mime' means add an appropriate MIME header if none already present. |