\input texinfo @c -*-texinfo-*-
@setfilename message
-@settitle Message Manual
+@settitle Message 5.4.32 Manual
@synindex fn cp
@synindex vr cp
@synindex pg cp
@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.
@tex
@titlepage
-@title Message Manual
+@title Message 5.4.32 Manual
@author by Lars Magne Ingebrigtsen
@page
* 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
@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
@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