comparison lisp/mail/feedmail.el @ 33984:d81160aa663f

Require smtpmail when compiling. (mail-do-fcc): Autoload. (feedmail) <defgroup>: Fix :link. (feedmail-nuke-body-in-fcc): Fix :type. (feedmail-send-it): Add autoload cookie.
author Dave Love <fx@gnu.org>
date Wed, 29 Nov 2000 10:34:51 +0000
parents 82e71ffbac94
children 47f26b110f6b
comparison
equal deleted inserted replaced
33983:4c814f37d192 33984:d81160aa663f
298 (defmacro defgroup (&rest args) 298 (defmacro defgroup (&rest args)
299 nil) 299 nil)
300 (defmacro defcustom (var value doc &rest args) 300 (defmacro defcustom (var value doc &rest args)
301 (` (defvar (, var) (, value) (, doc)))))) 301 (` (defvar (, var) (, value) (, doc))))))
302 302
303 (eval-when-compile (require 'smtpmail))
304 (autoload 'mail-do-fcc "sendmail")
303 305
304 (defgroup feedmail nil 306 (defgroup feedmail nil
305 "Assist other email packages to massage outgoing messages." 307 "Assist other email packages to massage outgoing messages."
306 :link (url-link "http://www.carpenter.org/feedmail/feedmail.html") 308 :link '(url-link "http://www.carpenter.org/feedmail/feedmail.html")
307 :group 'mail) 309 :group 'mail)
308 310
309 (defgroup feedmail-misc nil 311 (defgroup feedmail-misc nil
310 "Miscellaneous feedmail options that don't fit in other groups." 312 "Miscellaneous feedmail options that don't fit in other groups."
311 :group 'feedmail) 313 :group 'feedmail)
426 If an positive integer value, leave (up to) that many lines of the 428 If an positive integer value, leave (up to) that many lines of the
427 beginning of the body intact. The result is that the Fcc: copy will 429 beginning of the body intact. The result is that the Fcc: copy will
428 consist only of the message headers, serving as a sort of an outgoing 430 consist only of the message headers, serving as a sort of an outgoing
429 message log." 431 message log."
430 :group 'feedmail-headers 432 :group 'feedmail-headers
431 ;;:type 'boolean
432 :type '(choice (const nil) (const t) integer) 433 :type '(choice (const nil) (const t) integer)
433 ) 434 )
434 435
435 436
436 (defcustom feedmail-force-expand-mail-aliases nil 437 (defcustom feedmail-force-expand-mail-aliases nil
1348 ;; idea (but not implementation) of copying smtpmail trace buffer to 1349 ;; idea (but not implementation) of copying smtpmail trace buffer to
1349 ;; feedmail error buffer from: 1350 ;; feedmail error buffer from:
1350 ;; Mon 14-Oct-1996; Douglas Gray Stephens 1351 ;; Mon 14-Oct-1996; Douglas Gray Stephens
1351 ;; modified to insert error for displaying 1352 ;; modified to insert error for displaying
1352 (defun feedmail-buffer-to-smtpmail (prepped errors-to addr-listoid) 1353 (defun feedmail-buffer-to-smtpmail (prepped errors-to addr-listoid)
1353 "Function which actually calls smtpmail-via-smtp to send buffer as e-mail." 1354 "Function which actually calls `smtpmail-via-smtp' to send buffer as e-mail."
1354 ;; I'm not sure smtpmail.el is careful about the following 1355 ;; I'm not sure smtpmail.el is careful about the following
1355 ;; return value, but it also uses it internally, so I will fear 1356 ;; return value, but it also uses it internally, so I will fear
1356 ;; no evil. 1357 ;; no evil.
1357 (require 'smtpmail) 1358 (require 'smtpmail)
1358 (if (not (smtpmail-via-smtp addr-listoid prepped)) 1359 (if (not (smtpmail-via-smtp addr-listoid prepped))
1427 1428
1428 FOLDING can be nil, in which case VALUE is used as-is. If FOLDING is 1429 FOLDING can be nil, in which case VALUE is used as-is. If FOLDING is
1429 non-nil, feedmail \"smart filling\" is done on VALUE just before 1430 non-nil, feedmail \"smart filling\" is done on VALUE just before
1430 insertion.") 1431 insertion.")
1431 1432
1432 1433 ;;;###autoload
1433 (defun feedmail-send-it () 1434 (defun feedmail-send-it ()
1434 "A function which is a suitable value for `send-mail-function'. 1435 "A function which is a suitable value for `send-mail-function'.
1435 To use it, you probably want something like this in your .emacs or 1436 To use it, you probably want something like this in your .emacs or
1436 similar place: 1437 similar place:
1437 1438