>>>> "BP" == William M Perry
<wmperry(a)gnu.org> writes:
BP> SL Baur <steve(a)bsd2.kbnes.nec.co.jp> writes:
> This corrects a documentation typo and adds an autoload cookie.
BP> Shouldn't you be using mail-header-separator instead of hardcoding in
BP> --text...? If someone has customized that variable, message-send-and-exit
BP> will fail.
BP> And shouldn't you use message-mail instead of building the buffer? I am
BP> sure that people who would use this would want their standard FCC/GCC
BP> settings taken into account.
Better yet, use compose-mail.
BP> (defun divorce (addr)
BP> "Perform a legal Islamic divorce."
BP> (interactive "sAddress: ")
BP> (require 'message)
BP> (save-excursion
BP> (save-window-excursion
BP> (message-mail addr "divorce")
BP> (message-goto-body)
BP> ;; The magic words -- I divorce thee, I divorce thee, I divorce thee
BP> (insert "Talaq, talaq, talaq.\n")
BP> (message-send-and-exit t))))
BP> Anybody else having flashbacks to Steve Martin and the 'I spit on
thee'
BP> divorce?
BP> -bp
BP> --
BP> Ceterum censeo vi esse delendam
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/