*** empty log message ***
[gnus] / texi / message.texi
index fbd68be..6564d92 100644 (file)
@@ -1,7 +1,7 @@
 \input texinfo                  @c -*-texinfo-*-
 
 @setfilename message
-@settitle Message Manual
+@settitle Message 5.4.32 Manual
 @synindex fn cp
 @synindex vr cp
 @synindex pg cp
@@ -12,7 +12,7 @@
 
 @ifinfo
 
-This file documents Messa, the Emacs message composition mode.
+This file documents Message, the Emacs message composition mode.
 
 Copyright (C) 1996 Free Software Foundation, Inc.
 
@@ -39,7 +39,7 @@ into another language, under the above conditions for modified versions.
 @tex
 
 @titlepage
-@title Message Manual
+@title Message 5.4.32 Manual
 
 @author by Lars Magne Ingebrigtsen
 @page
@@ -74,10 +74,15 @@ buffers.
 * Interface::         Setting up message buffers.
 * Commands::          Commands you can execute in message mode buffers.
 * Variables::         Customizing the message buffers.
+* Compatibility::     Making Message backwards compatible.
 * Index::             Variable, function and concept index.
 * Key Index::         List of Message mode keys.
 @end menu
 
+This manual corresponds to Message 5.4.32.  Message is distributed with
+the Gnus distribution bearing the same version number as this manual
+has. 
+
 
 @node Interface
 @chapter Interface
@@ -930,12 +935,11 @@ you send to mailing lists, you could do something like the following:
 
 @lisp
 (defun my-message-header-setup-hook ()
-  (when (or (message-fetch-field "newsgroups")
-           (gnus-group-find-parameter
-             gnus-newsgroup-namegroup 'to-address)
-           (gnus-group-find-parameter
-             gnus-newsgroup-namegroup 'to-list))
-    (insert "Mail-Copies-To: never\n")))
+  (let ((group (or gnus-newsgroup-name "")))
+    (when (or (message-fetch-field "newsgroups")
+              (gnus-group-find-parameter group 'to-address)
+              (gnus-group-find-parameter group 'to-list))
+      (insert "Mail-Copies-To: never\n"))))
 
 (add-hook 'message-header-setup-hook 'my-message-header-setup-hook)
 @end lisp
@@ -1068,6 +1072,24 @@ An @dfn{action} can be either: a normal function, or a list where the
 @code{car} is a function and the @code{cdr} is the list of arguments, or
 a form to be @code{eval}ed.
 
+
+@node Compatibility
+@chapter Compatibility
+@cindex compatibility
+
+Message uses virtually only its own variables---older @code{mail-}
+variables aren't consulted.  To force Message to take those variables
+into account, you can put the following in your @code{.emacs} file:
+
+@lisp
+(require 'messcompat)
+@end lisp
+
+This will initialize many Message variables from the values in the
+corresponding mail variables.
+
+
+
 @node Index
 @chapter Index
 @printindex cp