comparison man/message.texi @ 118:7d55a9ba150c r20-1b11

Import from CVS: tag r20-1b11
author cvs
date Mon, 13 Aug 2007 09:24:17 +0200
parents 9f59509498e1
children cca96a509cfe
comparison
equal deleted inserted replaced
117:578fd4947a72 118:7d55a9ba150c
1 \input texinfo @c -*-texinfo-*- 1 \input texinfo @c -*-texinfo-*-
2 2
3 @setfilename message 3 @setfilename message
4 @settitle Message 5.4.37 Manual 4 @settitle Message 5.4.40 Manual
5 @synindex fn cp 5 @synindex fn cp
6 @synindex vr cp 6 @synindex vr cp
7 @synindex pg cp 7 @synindex pg cp
8 @iftex 8 @iftex
9 @finalout 9 @finalout
37 @end ifinfo 37 @end ifinfo
38 38
39 @tex 39 @tex
40 40
41 @titlepage 41 @titlepage
42 @title Message 5.4.37 Manual 42 @title Message 5.4.40 Manual
43 43
44 @author by Lars Magne Ingebrigtsen 44 @author by Lars Magne Ingebrigtsen
45 @page 45 @page
46 46
47 @vskip 0pt plus 1filll 47 @vskip 0pt plus 1filll
77 * Compatibility:: Making Message backwards compatible. 77 * Compatibility:: Making Message backwards compatible.
78 * Index:: Variable, function and concept index. 78 * Index:: Variable, function and concept index.
79 * Key Index:: List of Message mode keys. 79 * Key Index:: List of Message mode keys.
80 @end menu 80 @end menu
81 81
82 This manual corresponds to Message 5.4.37. Message is distributed with 82 This manual corresponds to Message 5.4.40. Message is distributed with
83 the Gnus distribution bearing the same version number as this manual 83 the Gnus distribution bearing the same version number as this manual
84 has. 84 has.
85 85
86 86
87 @node Interface 87 @node Interface
946 946
947 @item message-send-hook 947 @item message-send-hook
948 @vindex message-send-hook 948 @vindex message-send-hook
949 Hook run before sending messages. 949 Hook run before sending messages.
950 950
951 If you want to add certain headers before sending, you can use the
952 @code{message-add-header} function in this hook. For instance:
953 @findex message-add-header
954
955 @lisp
956 (add-hook 'message-send-hook 'my-message-add-content)
957 (defun my-message-add-content ()
958 (message-add-header
959 "Mime-Version: 1.0"
960 "Content-Type: text/plain"
961 "Content-Transfer-Encoding: 7bit"))
962 @end lisp
963
964 This function won't add the header if the header is already present.
965
951 @item message-send-mail-hook 966 @item message-send-mail-hook
952 @vindex message-send-mail-hook 967 @vindex message-send-mail-hook
953 Hook run before sending mail messages. 968 Hook run before sending mail messages.
954 969
955 @item message-send-news-hook 970 @item message-send-news-hook