1 ;;; messcompat.el --- making message mode compatible with mail mode
3 ;; Copyright (C) 1996, 1997, 1998, 1999, 2000
4 ;; Free Software Foundation, Inc.
6 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
7 ;; Keywords: mail, news
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 ;; Boston, MA 02111-1307, USA.
28 ;; This file tries to provide backward compatability with sendmail.el
29 ;; for Message mode. It should be used by simply adding
31 ;; (require 'messcompat)
33 ;; to the .emacs file. Loading it after Message mode has been
34 ;; loaded will have no effect.
40 (defvar message-from-style mail-from-style
41 "*Specifies how \"From\" headers look.
43 If `nil', they contain just the return address like:
45 If `parens', they look like:
46 king@grassland.com (Elvis Parsley)
47 If `angles', they look like:
48 Elvis Parsley <king@grassland.com>
50 Otherwise, most addresses look like `angles', but they look like
51 `parens' if `angles' would need quoting and `parens' would not.")
53 (defvar message-interactive mail-interactive
54 "Non-nil means when sending a message wait for and display errors.
55 nil means let mailer mail back a message to report errors.")
57 (defvar message-setup-hook mail-setup-hook
58 "Normal hook, run each time a new outgoing message is initialized.