Mercurial > hg > xemacs-beta
comparison man/message.texi @ 26:441bb1e64a06 r19-15b96
Import from CVS: tag r19-15b96
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:51:32 +0200 |
parents | 4103f0995bd7 |
children | 1a767b41a199 |
comparison
equal
deleted
inserted
replaced
25:383a494979f8 | 26:441bb1e64a06 |
---|---|
72 | 72 |
73 @menu | 73 @menu |
74 * Interface:: Setting up message buffers. | 74 * Interface:: Setting up message buffers. |
75 * Commands:: Commands you can execute in message mode buffers. | 75 * Commands:: Commands you can execute in message mode buffers. |
76 * Variables:: Customizing the message buffers. | 76 * Variables:: Customizing the message buffers. |
77 * Compatibility:: Making Message backwards compatible. | |
77 * Index:: Variable, function and concept index. | 78 * Index:: Variable, function and concept index. |
78 * Key Index:: List of Message mode keys. | 79 * Key Index:: List of Message mode keys. |
79 @end menu | 80 @end menu |
80 | 81 |
81 | 82 |
928 @samp{Mail-Copies-To} header in all your news articles and all messages | 929 @samp{Mail-Copies-To} header in all your news articles and all messages |
929 you send to mailing lists, you could do something like the following: | 930 you send to mailing lists, you could do something like the following: |
930 | 931 |
931 @lisp | 932 @lisp |
932 (defun my-message-header-setup-hook () | 933 (defun my-message-header-setup-hook () |
933 (when (or (message-fetch-field "newsgroups") | 934 (let ((group (or gnus-newsgroup-name ""))) |
934 (gnus-group-find-parameter | 935 (when (or (message-fetch-field "newsgroups") |
935 gnus-newsgroup-name 'to-address) | 936 (gnus-group-find-parameter group 'to-address) |
936 (gnus-group-find-parameter | 937 (gnus-group-find-parameter group 'to-list)) |
937 gnus-newsgroup-name 'to-list)) | 938 (insert "Mail-Copies-To: never\n")))) |
938 (insert "Mail-Copies-To: never\n"))) | |
939 | 939 |
940 (add-hook 'message-header-setup-hook 'my-message-header-setup-hook) | 940 (add-hook 'message-header-setup-hook 'my-message-header-setup-hook) |
941 @end lisp | 941 @end lisp |
942 | 942 |
943 @item message-send-hook | 943 @item message-send-hook |
1066 | 1066 |
1067 An @dfn{action} can be either: a normal function, or a list where the | 1067 An @dfn{action} can be either: a normal function, or a list where the |
1068 @code{car} is a function and the @code{cdr} is the list of arguments, or | 1068 @code{car} is a function and the @code{cdr} is the list of arguments, or |
1069 a form to be @code{eval}ed. | 1069 a form to be @code{eval}ed. |
1070 | 1070 |
1071 | |
1072 @node Compatibility | |
1073 @chapter Compatibility | |
1074 @cindex compatibility | |
1075 | |
1076 Message uses virtually only its own variables---older @code{mail-} | |
1077 variables aren't consulted. To force Message to take those variables | |
1078 into account, you can put the following in your @code{.emacs} file: | |
1079 | |
1080 @lisp | |
1081 (require 'messcompat) | |
1082 @end lisp | |
1083 | |
1084 This will initialize many Message variables from the values in the | |
1085 corresponding mail variables. | |
1086 | |
1087 | |
1088 | |
1071 @node Index | 1089 @node Index |
1072 @chapter Index | 1090 @chapter Index |
1073 @printindex cp | 1091 @printindex cp |
1074 | 1092 |
1075 @node Key Index | 1093 @node Key Index |