aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-13 20:42:10 +0000
committerRichard M. Stallman1994-04-13 20:42:10 +0000
commit86a32538d031f2cfd90f3f7ba31e194d0d30a416 (patch)
tree2315b7f8720871d88f480e051fc4f90b6b298adb
parent76db7eb4ce1e8138fa6a2e564a088d6a79e65122 (diff)
downloademacs-86a32538d031f2cfd90f3f7ba31e194d0d30a416.tar.gz
emacs-86a32538d031f2cfd90f3f7ba31e194d0d30a416.zip
(mh-progs, mh-lib): Move from mh-e.el
to mh-utils.el for Emacs 19.23, which doesn't define them in paths.el (mh-store-buffer): autoload. Better doc strings.
-rw-r--r--lisp/mail/mh-e.el46
1 files changed, 18 insertions, 28 deletions
diff --git a/lisp/mail/mh-e.el b/lisp/mail/mh-e.el
index 460bfc53c92..14e5c9a7bf8 100644
--- a/lisp/mail/mh-e.el
+++ b/lisp/mail/mh-e.el
@@ -1,13 +1,13 @@
1;;; mh-e.el --- GNU Emacs interface to the MH mail system 1;;; mh-e.el --- GNU Emacs interface to the MH mail system
2 2
3;;; Copyright 1985,86,87,88,90,92,93 Free Software Foundation 3;;; Copyright 1985,86,87,88,90,92,93,94 Free Software Foundation, Inc.
4 4
5(defconst mh-e-time-stamp "Time-stamp: <94/03/14 18:34:22 gildea>") 5(defconst mh-e-time-stamp "Time-stamp: <94/04/13 11:30:48 gildea>")
6(defconst mh-e-version "4.0" 6(defconst mh-e-version "4.1"
7 "Version numbers of this version of mh-e.") 7 "Version numbers of this version of mh-e.")
8 8
9;; Maintainer: Stephen Gildea <gildea@lcs.mit.edu> 9;; Maintainer: Stephen Gildea <gildea@lcs.mit.edu>
10;; Version: 4.0 10;; Version: 4.1
11;; Keywords: mail 11;; Keywords: mail
12 12
13;; mh-e is free software; you can redistribute it and/or modify 13;; mh-e is free software; you can redistribute it and/or modify
@@ -52,7 +52,7 @@
52;;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985. 52;;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985.
53;;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu 53;;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu
54;;; Modified by Stephen Gildea 1988. gildea@lcs.mit.edu 54;;; Modified by Stephen Gildea 1988. gildea@lcs.mit.edu
55(defconst mh-e-RCS-id "$Header: mh-e.el,v 3.14 94/03/14 18:34:49 gildea Exp $") 55(defconst mh-e-RCS-id "$Header: mh-e.el,v 3.15 94/04/13 11:36:48 gildea Exp $")
56 56
57;;; Code: 57;;; Code:
58 58
@@ -60,31 +60,17 @@
60(require 'mh-utils) 60(require 'mh-utils)
61 61
62 62
63;;; Site customization: 63;;; Site customization (see also mh-utils.el):
64
65;;; Set for local environment:
66;;; mh-progs and mh-lib used to be set in paths.el, which tried to
67;;; figure out at build time which of several possible directories MH
68;;; was installed into. But if you installed MH after building Emacs,
69;;; this would almost certainly be wrong, so now we do it at run time.
70
71(defvar mh-progs nil
72 "Directory containing MH commands, such as inc, repl, and rmm.")
73
74(defvar mh-lib nil
75 "Directory containing the MH library.
76This directory contains, among other things,
77the mhl program and the components file.")
78 64
79(defvar mh-redist-full-contents nil 65(defvar mh-redist-full-contents nil
80 "Non-nil if the `dist' command needs whole letter for redistribution. 66 "Non-nil if the `dist' command needs whole letter for redistribution.
81This is the case when `send' is compiled with the BERK option. 67This is the case only when `send' is compiled with the BERK option.
82If MH will not allow you to redist a previously redist'd msg, set to nil.") 68If MH will not allow you to redist a previously redist'd msg, set to nil.")
83 69
84;;; Hooks: 70;;; Hooks:
85 71
86(defvar mh-folder-mode-hook nil 72(defvar mh-folder-mode-hook nil
87 "Invoked in `mh-folder mode' on a new folder.") 73 "Invoked in MH-Folder mode on a new folder.")
88 74
89(defvar mh-inc-folder-hook nil 75(defvar mh-inc-folder-hook nil
90 "Invoked by \\<mh-folder-mode-map>`\\[mh-inc-folder]' after incorporating mail into a folder.") 76 "Invoked by \\<mh-folder-mode-map>`\\[mh-inc-folder]' after incorporating mail into a folder.")
@@ -93,7 +79,7 @@ If MH will not allow you to redist a previously redist'd msg, set to nil.")
93 "Invoked after \\<mh-folder-mode-map>`\\[mh-show]' shows a message.") 79 "Invoked after \\<mh-folder-mode-map>`\\[mh-show]' shows a message.")
94 80
95(defvar mh-show-mode-hook nil 81(defvar mh-show-mode-hook nil
96 "Invoked in mh-show mode in each message.") 82 "Invoked in MH-Show mode on each message.")
97 83
98(defvar mh-delete-msg-hook nil 84(defvar mh-delete-msg-hook nil
99 "Invoked after marking each message for deletion.") 85 "Invoked after marking each message for deletion.")
@@ -305,10 +291,10 @@ provided, then prompt for the message sequence."
305 291
306(defun mh-header-display () 292(defun mh-header-display ()
307 "Show the current message with all its headers. 293 "Show the current message with all its headers.
308Displays headers that might have been suppressed by mh-clean-message-header, 294Displays headers that might have been suppressed by setting the
309mhl-formfile, or the fallback behavior of scrolling uninteresting headers 295variables `mh-clean-message-header' or `mhl-formfile', or by the fallback
310off the top of the window. Type \"\\[mh-show]\" to show the message 296behavior of scrolling uninteresting headers off the top of the window.
311normally again." 297Type \"\\[mh-show]\" to show the message normally again."
312 (interactive) 298 (interactive)
313 (and (not mh-showing-with-headers) 299 (and (not mh-showing-with-headers)
314 (or mhl-formfile mh-clean-message-header) 300 (or mhl-formfile mh-clean-message-header)
@@ -1306,7 +1292,11 @@ The value of mh-folder-mode-hook is called when a new folder is set up."
1306(autoload 'mh-undo-folder "mh-funcs" 1292(autoload 'mh-undo-folder "mh-funcs"
1307 "Undo all commands in current folder." t) 1293 "Undo all commands in current folder." t)
1308(autoload 'mh-store-msg "mh-funcs" 1294(autoload 'mh-store-msg "mh-funcs"
1309 "Store the file(s) contained in the current message." t) 1295 "Store the file(s) contained in the current message into DIRECTORY.
1296The message can contain a shar file or uuencoded file." t)
1297(autoload 'mh-store-buffer "mh-funcs"
1298 "Store the file(s) contained in the current buffer into DIRECTORY.
1299The buffer can contain a shar file or uuencoded file." t)
1310 1300
1311 1301
1312;;; mh-pick 1302;;; mh-pick