aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorBill Wohler2004-08-25 05:55:39 +0000
committerBill Wohler2004-08-25 05:55:39 +0000
commiteccf9613456f3573f9dc72d3dcb59f31f9f90442 (patch)
tree73f0165cec638908cf8039ca3646a32daab16f9a /lisp
parent1c6cfb0b0de4e888d79cb8a661ed6dfeeda97729 (diff)
downloademacs-eccf9613456f3573f9dc72d3dcb59f31f9f90442.tar.gz
emacs-eccf9613456f3573f9dc72d3dcb59f31f9f90442.zip
Upgraded to MH-E version 7.82.
See etc/MH-E-NEWS and lisp/mh-e/ChangeLog for details.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mh-e/ChangeLog35
-rw-r--r--lisp/mh-e/mh-acros.el13
-rw-r--r--lisp/mh-e/mh-customize.el7
-rw-r--r--lisp/mh-e/mh-e.el5
-rw-r--r--lisp/mh-e/mh-init.el4
-rw-r--r--lisp/mh-e/mh-loaddefs.el28
-rw-r--r--lisp/mh-e/mh-mime.el4
7 files changed, 71 insertions, 25 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 990291caead..dd1062da816 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,5 +1,40 @@
12004-08-21 Bill Wohler <wohler@newt.com> 12004-08-21 Bill Wohler <wohler@newt.com>
2 2
3 * Released MH-E version 7.82.
4
5 * MH-E-NEWS, README: Updated for release 7.82.
6
7 * mh-e.el (Version, mh-version): Updated for release 7.82.
8
92004-08-24 Bill Wohler <wohler@newt.com>
10
11 * mh-init.el (mh-variant-set): Changed MH to mh as that's what is
12 emitted by `mh-variant-mh-info' (closes SF #1014781).
13 (mh-variant-p): Added mu-mh to docstring.
14
152004-08-23 Satyaki Das <satyaki@theforce.stanford.edu>
16
17 * mh-acros.el (mh-require-cl): Remove unneeded autoloads.
18 (require): Add an advice to the function so that at compile time
19 the uncompiled file is loaded. This avoids compilation problems
20 when built in the Emacs tree.
21
22 * mh-mime.el (mh-identity-pgg-default-user-id): Defvar the
23 variable, to avoid compiler warnings.
24
25 * mh-e.el (mh-seq): Load mh-seq since functions defined there are
26 used here. Without this, the state mh-seq.elc would be loaded.
27
28 * mh-customize.el (mh-init, mh-identity): Load mh-init and
29 mh-identity at compile time manually, before the corresponding
30 stale elc files get autoloaded.
31
322004-08-21 Bill Wohler <wohler@newt.com>
33
34 * mh-e.el (Version, mh-version): Added +cvs to release number.
35
362004-08-21 Bill Wohler <wohler@newt.com>
37
3 * Released MH-E version 7.81. 38 * Released MH-E version 7.81.
4 39
5 * MH-E-NEWS, README: Updated for release 7.81. 40 * MH-E-NEWS, README: Updated for release 7.81.
diff --git a/lisp/mh-e/mh-acros.el b/lisp/mh-e/mh-acros.el
index dd8660a8ce3..16383304503 100644
--- a/lisp/mh-e/mh-acros.el
+++ b/lisp/mh-e/mh-acros.el
@@ -51,12 +51,7 @@ Some versions of `cl' produce code for the expansion of
51\(setf (gethash ...) ...) that uses functions in `cl' at run time. This macro 51\(setf (gethash ...) ...) that uses functions in `cl' at run time. This macro
52recognizes that and loads `cl' where appropriate." 52recognizes that and loads `cl' where appropriate."
53 (if (eq (car (macroexpand '(setf (gethash foo bar) baz))) 'cl-puthash) 53 (if (eq (car (macroexpand '(setf (gethash foo bar) baz))) 'cl-puthash)
54 `(progn 54 `(require 'cl)
55 (require 'cl)
56 ;; Autoloads of CL functions go here...
57 (autoload 'cl-puthash "cl")
58 (autoload 'values "cl")
59 (autoload 'copy-tree "cl"))
60 `(eval-when-compile (require 'cl)))) 55 `(eval-when-compile (require 'cl))))
61 56
62;;; Macros to generate correct code for different emacs variants 57;;; Macros to generate correct code for different emacs variants
@@ -130,6 +125,12 @@ various structure fields. Lookup `defstruct' for more details."
130 (list 'nth ,x z))) 125 (list 'nth ,x z)))
131 (quote ,struct-name)))) 126 (quote ,struct-name))))
132 127
128(defadvice require (around mh-prefer-el activate)
129 "Modify `require' to load uncompiled MH-E files."
130 (or (featurep (ad-get-arg 0))
131 (and (string-match "^mh-" (symbol-name (ad-get-arg 0)))
132 (load (format "%s.el" (ad-get-arg 0)) t t))
133 ad-do-it))
133 134
134(provide 'mh-acros) 135(provide 'mh-acros)
135 136
diff --git a/lisp/mh-e/mh-customize.el b/lisp/mh-e/mh-customize.el
index 67a126a8327..622c457897f 100644
--- a/lisp/mh-e/mh-customize.el
+++ b/lisp/mh-e/mh-customize.el
@@ -78,6 +78,13 @@
78(when mh-xemacs-flag 78(when mh-xemacs-flag
79 (require 'mh-xemacs)) 79 (require 'mh-xemacs))
80 80
81;; XXX: Functions autoloaded from the following files are used to initialize
82;; customizable variables. They are require'd here, since otherwise the
83;; corresponding .elc would be loaded at compile time.
84(eval-when-compile
85 (require 'mh-init)
86 (require 'mh-identity))
87
81(defun mh-customize (&optional delete-other-windows-flag) 88(defun mh-customize (&optional delete-other-windows-flag)
82 "Customize MH-E variables. 89 "Customize MH-E variables.
83If optional argument DELETE-OTHER-WINDOWS-FLAG is non-nil, other windows in 90If optional argument DELETE-OTHER-WINDOWS-FLAG is non-nil, other windows in
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index 5cbb97b72d0..2081d49b6cd 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -5,7 +5,7 @@
5 5
6;; Author: Bill Wohler <wohler@newt.com> 6;; Author: Bill Wohler <wohler@newt.com>
7;; Maintainer: Bill Wohler <wohler@newt.com> 7;; Maintainer: Bill Wohler <wohler@newt.com>
8;; Version: 7.81 8;; Version: 7.82
9;; Keywords: mail 9;; Keywords: mail
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
@@ -89,6 +89,7 @@
89(require 'mh-utils) 89(require 'mh-utils)
90(require 'mh-init) 90(require 'mh-init)
91(require 'mh-inc) 91(require 'mh-inc)
92(require 'mh-seq)
92(require 'gnus-util) 93(require 'gnus-util)
93(require 'easymenu) 94(require 'easymenu)
94 95
@@ -96,7 +97,7 @@
96(defvar font-lock-auto-fontify) 97(defvar font-lock-auto-fontify)
97(defvar font-lock-defaults) 98(defvar font-lock-defaults)
98 99
99(defconst mh-version "7.81" "Version number of MH-E.") 100(defconst mh-version "7.82" "Version number of MH-E.")
100 101
101;;; Autoloads 102;;; Autoloads
102(autoload 'Info-goto-node "info") 103(autoload 'Info-goto-node "info")
diff --git a/lisp/mh-e/mh-init.el b/lisp/mh-e/mh-init.el
index ac7305fa217..a975b882128 100644
--- a/lisp/mh-e/mh-init.el
+++ b/lisp/mh-e/mh-init.el
@@ -90,7 +90,7 @@ GNU mailutils."
90 (cond 90 (cond
91 ((mh-variant-set-variant 'nmh) 91 ((mh-variant-set-variant 'nmh)
92 (message "%s installed as MH variant" mh-variant-in-use)) 92 (message "%s installed as MH variant" mh-variant-in-use))
93 ((mh-variant-set-variant 'MH) 93 ((mh-variant-set-variant 'mh)
94 (message "%s installed as MH variant" mh-variant-in-use)) 94 (message "%s installed as MH variant" mh-variant-in-use))
95 ((mh-variant-set-variant 'mu-mh) 95 ((mh-variant-set-variant 'mu-mh)
96 (message "%s installed as MH variant" mh-variant-in-use)) 96 (message "%s installed as MH variant" mh-variant-in-use))
@@ -145,7 +145,7 @@ If VARIANT is a symbol, select the first entry that matches that variant."
145;;;###mh-autoload 145;;;###mh-autoload
146(defun mh-variant-p (&rest variants) 146(defun mh-variant-p (&rest variants)
147 "Return t if variant is any of VARIANTS. 147 "Return t if variant is any of VARIANTS.
148Currently known variants are 'mh and 'nmh." 148Currently known variants are 'MH, 'nmh, and 'mu-mh."
149 (let ((variant-in-use 149 (let ((variant-in-use
150 (cadr (assoc 'variant (assoc mh-variant-in-use mh-variants))))) 150 (cadr (assoc 'variant (assoc mh-variant-in-use mh-variants)))))
151 (not (null (member variant-in-use variants))))) 151 (not (null (member variant-in-use variants)))))
diff --git a/lisp/mh-e/mh-loaddefs.el b/lisp/mh-e/mh-loaddefs.el
index 6a88278a847..fd989ffa3b9 100644
--- a/lisp/mh-e/mh-loaddefs.el
+++ b/lisp/mh-e/mh-loaddefs.el
@@ -13,7 +13,7 @@
13;;;;;; mh-check-whom mh-insert-signature mh-to-fcc mh-to-field mh-fill-paragraph-function 13;;;;;; mh-check-whom mh-insert-signature mh-to-fcc mh-to-field mh-fill-paragraph-function
14;;;;;; mh-get-header-field mh-send-other-window mh-send mh-reply 14;;;;;; mh-get-header-field mh-send-other-window mh-send mh-reply
15;;;;;; mh-redistribute mh-forward mh-extract-rejected-mail mh-edit-again) 15;;;;;; mh-redistribute mh-forward mh-extract-rejected-mail mh-edit-again)
16;;;;;; "mh-comp" "mh-comp.el" (16665 55172)) 16;;;;;; "mh-comp" "mh-comp.el" (16665 53716))
17;;; Generated autoloads from mh-comp.el 17;;; Generated autoloads from mh-comp.el
18 18
19(autoload (quote mh-edit-again) "mh-comp" "\ 19(autoload (quote mh-edit-again) "mh-comp" "\
@@ -183,7 +183,7 @@ If we are at the first header field go to the start of the message body." t nil)
183;;;;;; mh-store-msg mh-undo-folder mh-sort-folder mh-page-digest-backwards 183;;;;;; mh-store-msg mh-undo-folder mh-sort-folder mh-page-digest-backwards
184;;;;;; mh-page-digest mh-pipe-msg mh-pack-folder mh-list-folders 184;;;;;; mh-page-digest mh-pipe-msg mh-pack-folder mh-list-folders
185;;;;;; mh-kill-folder mh-copy-msg mh-burst-digest) "mh-funcs" "mh-funcs.el" 185;;;;;; mh-kill-folder mh-copy-msg mh-burst-digest) "mh-funcs" "mh-funcs.el"
186;;;;;; (16671 49652)) 186;;;;;; (16671 48788))
187;;; Generated autoloads from mh-funcs.el 187;;; Generated autoloads from mh-funcs.el
188 188
189(autoload (quote mh-burst-digest) "mh-funcs" "\ 189(autoload (quote mh-burst-digest) "mh-funcs" "\
@@ -261,7 +261,7 @@ Display cheat sheet for the commands of the current prefix in minibuffer." t nil
261;;;;;; mh-identity-insert-attribution-verb mh-identity-handler-attribution-verb 261;;;;;; mh-identity-insert-attribution-verb mh-identity-handler-attribution-verb
262;;;;;; mh-identity-handler-signature mh-identity-handler-gpg-identity 262;;;;;; mh-identity-handler-signature mh-identity-handler-gpg-identity
263;;;;;; mh-insert-identity mh-identity-list-set mh-identity-make-menu) 263;;;;;; mh-insert-identity mh-identity-list-set mh-identity-make-menu)
264;;;;;; "mh-identity" "mh-identity.el" (16680 7172)) 264;;;;;; "mh-identity" "mh-identity.el" (16671 57010))
265;;; Generated autoloads from mh-identity.el 265;;; Generated autoloads from mh-identity.el
266 266
267(autoload (quote mh-identity-make-menu) "mh-identity" "\ 267(autoload (quote mh-identity-make-menu) "mh-identity" "\
@@ -307,7 +307,7 @@ If the field wasn't present, the VALUE is added at the bottom of the header." ni
307;;;*** 307;;;***
308 308
309;;;### (autoloads (mh-inc-spool-list-set) "mh-inc" "mh-inc.el" (16671 309;;;### (autoloads (mh-inc-spool-list-set) "mh-inc" "mh-inc.el" (16671
310;;;;;; 49652)) 310;;;;;; 48848))
311;;; Generated autoloads from mh-inc.el 311;;; Generated autoloads from mh-inc.el
312 312
313(autoload (quote mh-inc-spool-list-set) "mh-inc" "\ 313(autoload (quote mh-inc-spool-list-set) "mh-inc" "\
@@ -326,7 +326,7 @@ This is called after 'customize is used to alter `mh-inc-spool-list'." nil nil)
326;;;;;; mh-index-parse-search-regexp mh-index-do-search mh-index-p 326;;;;;; mh-index-parse-search-regexp mh-index-do-search mh-index-p
327;;;;;; mh-index-read-data mh-index-search mh-index-create-sequences 327;;;;;; mh-index-read-data mh-index-search mh-index-create-sequences
328;;;;;; mh-create-sequence-map mh-index-update-maps) "mh-index" "mh-index.el" 328;;;;;; mh-create-sequence-map mh-index-update-maps) "mh-index" "mh-index.el"
329;;;;;; (16665 55172)) 329;;;;;; (16665 53754))
330;;; Generated autoloads from mh-index.el 330;;; Generated autoloads from mh-index.el
331 331
332(autoload (quote mh-index-update-maps) "mh-index" "\ 332(autoload (quote mh-index-update-maps) "mh-index" "\
@@ -582,7 +582,7 @@ system." nil nil)
582;;;*** 582;;;***
583 583
584;;;### (autoloads (mh-variants mh-variant-p mh-variant-set) "mh-init" 584;;;### (autoloads (mh-variants mh-variant-p mh-variant-set) "mh-init"
585;;;;;; "mh-init.el" (16680 9361)) 585;;;;;; "mh-init.el" (16684 6777))
586;;; Generated autoloads from mh-init.el 586;;; Generated autoloads from mh-init.el
587 587
588(autoload (quote mh-variant-set) "mh-init" "\ 588(autoload (quote mh-variant-set) "mh-init" "\
@@ -593,7 +593,7 @@ GNU mailutils." t nil)
593 593
594(autoload (quote mh-variant-p) "mh-init" "\ 594(autoload (quote mh-variant-p) "mh-init" "\
595Return t if variant is any of VARIANTS. 595Return t if variant is any of VARIANTS.
596Currently known variants are 'mh and 'nmh." nil nil) 596Currently known variants are 'MH, 'nmh, and 'mu-mh." nil nil)
597 597
598(autoload (quote mh-variants) "mh-init" "\ 598(autoload (quote mh-variants) "mh-init" "\
599Return a list of installed variants of MH on the system. 599Return a list of installed variants of MH on the system.
@@ -604,7 +604,7 @@ by the variable `mh-variants'." nil nil)
604;;;*** 604;;;***
605 605
606;;;### (autoloads (mh-junk-whitelist mh-junk-blacklist) "mh-junk" 606;;;### (autoloads (mh-junk-whitelist mh-junk-blacklist) "mh-junk"
607;;;;;; "mh-junk.el" (16671 49652)) 607;;;;;; "mh-junk.el" (16671 48929))
608;;; Generated autoloads from mh-junk.el 608;;; Generated autoloads from mh-junk.el
609 609
610(autoload (quote mh-junk-blacklist) "mh-junk" "\ 610(autoload (quote mh-junk-blacklist) "mh-junk" "\
@@ -644,7 +644,7 @@ The `mh-junk-program' option specifies the spam program in use." t nil)
644;;;;;; mh-mhn-compose-external-compressed-tar mh-mhn-compose-anon-ftp 644;;;;;; mh-mhn-compose-external-compressed-tar mh-mhn-compose-anon-ftp
645;;;;;; mh-mhn-compose-insertion mh-file-mime-type mh-have-file-command 645;;;;;; mh-mhn-compose-insertion mh-file-mime-type mh-have-file-command
646;;;;;; mh-compose-forward mh-compose-insertion) "mh-mime" "mh-mime.el" 646;;;;;; mh-compose-forward mh-compose-insertion) "mh-mime" "mh-mime.el"
647;;;;;; (16680 7172)) 647;;;;;; (16684 7323))
648;;; Generated autoloads from mh-mime.el 648;;; Generated autoloads from mh-mime.el
649 649
650(autoload (quote mh-compose-insertion) "mh-mime" "\ 650(autoload (quote mh-compose-insertion) "mh-mime" "\
@@ -857,7 +857,7 @@ View MIME PART-INDEX externally." t nil)
857;;;*** 857;;;***
858 858
859;;;### (autoloads (mh-do-search mh-pick-do-search mh-search-folder) 859;;;### (autoloads (mh-do-search mh-pick-do-search mh-search-folder)
860;;;;;; "mh-pick" "mh-pick.el" (16671 49652)) 860;;;;;; "mh-pick" "mh-pick.el" (16671 49140))
861;;; Generated autoloads from mh-pick.el 861;;; Generated autoloads from mh-pick.el
862 862
863(autoload (quote mh-search-folder) "mh-pick" "\ 863(autoload (quote mh-search-folder) "mh-pick" "\
@@ -882,7 +882,7 @@ indexing program specified in `mh-index-program' is used." t nil)
882 882
883;;;### (autoloads (mh-print-msg mh-ps-print-toggle-mime mh-ps-print-toggle-color 883;;;### (autoloads (mh-print-msg mh-ps-print-toggle-mime mh-ps-print-toggle-color
884;;;;;; mh-ps-print-toggle-faces mh-ps-print-msg-show mh-ps-print-msg-file 884;;;;;; mh-ps-print-toggle-faces mh-ps-print-msg-show mh-ps-print-msg-file
885;;;;;; mh-ps-print-msg) "mh-print" "mh-print.el" (16680 9361)) 885;;;;;; mh-ps-print-msg) "mh-print" "mh-print.el" (16680 11171))
886;;; Generated autoloads from mh-print.el 886;;; Generated autoloads from mh-print.el
887 887
888(autoload (quote mh-ps-print-msg) "mh-print" "\ 888(autoload (quote mh-ps-print-msg) "mh-print" "\
@@ -935,7 +935,7 @@ The messages are formatted by mhl. See the variable `mhl-formfile'." t nil)
935;;;;;; mh-rename-seq mh-translate-range mh-read-range mh-read-seq-default 935;;;;;; mh-rename-seq mh-translate-range mh-read-range mh-read-seq-default
936;;;;;; mh-notate-deleted-and-refiled mh-widen mh-put-msg-in-seq 936;;;;;; mh-notate-deleted-and-refiled mh-widen mh-put-msg-in-seq
937;;;;;; mh-narrow-to-seq mh-msg-is-in-seq mh-list-sequences mh-delete-seq) 937;;;;;; mh-narrow-to-seq mh-msg-is-in-seq mh-list-sequences mh-delete-seq)
938;;;;;; "mh-seq" "mh-seq.el" (16668 22297)) 938;;;;;; "mh-seq" "mh-seq.el" (16671 65286))
939;;; Generated autoloads from mh-seq.el 939;;; Generated autoloads from mh-seq.el
940 940
941(autoload (quote mh-delete-seq) "mh-seq" "\ 941(autoload (quote mh-delete-seq) "mh-seq" "\
@@ -1157,7 +1157,7 @@ Use \\<mh-folder-mode-map>\\[mh-widen] to undo this command." t nil)
1157 1157
1158;;;### (autoloads (mh-speed-add-folder mh-speed-invalidate-map mh-speed-flists 1158;;;### (autoloads (mh-speed-add-folder mh-speed-invalidate-map mh-speed-flists
1159;;;;;; mh-speed-view mh-speed-toggle mh-folder-speedbar-buttons) 1159;;;;;; mh-speed-view mh-speed-toggle mh-folder-speedbar-buttons)
1160;;;;;; "mh-speed" "mh-speed.el" (16665 55171)) 1160;;;;;; "mh-speed" "mh-speed.el" (16665 53793))
1161;;; Generated autoloads from mh-speed.el 1161;;; Generated autoloads from mh-speed.el
1162 1162
1163(autoload (quote mh-folder-speedbar-buttons) "mh-speed" "\ 1163(autoload (quote mh-folder-speedbar-buttons) "mh-speed" "\
@@ -1196,7 +1196,7 @@ The function invalidates the latest ancestor that is present." nil nil)
1196;;;;;; mh-alias-grab-from-field mh-alias-add-alias mh-alias-for-from-p 1196;;;;;; mh-alias-grab-from-field mh-alias-add-alias mh-alias-for-from-p
1197;;;;;; mh-alias-address-to-alias mh-alias-letter-expand-alias mh-alias-minibuffer-confirm-address 1197;;;;;; mh-alias-address-to-alias mh-alias-letter-expand-alias mh-alias-minibuffer-confirm-address
1198;;;;;; mh-read-address mh-alias-reload-maybe mh-alias-reload) "mh-alias" 1198;;;;;; mh-read-address mh-alias-reload-maybe mh-alias-reload) "mh-alias"
1199;;;;;; "mh-alias.el" (16671 49553)) 1199;;;;;; "mh-alias.el" (16671 49382))
1200;;; Generated autoloads from mh-alias.el 1200;;; Generated autoloads from mh-alias.el
1201 1201
1202(autoload (quote mh-alias-reload) "mh-alias" "\ 1202(autoload (quote mh-alias-reload) "mh-alias" "\
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el
index f952f8b80fb..72cb654dedd 100644
--- a/lisp/mh-e/mh-mime.el
+++ b/lisp/mh-e/mh-mime.el
@@ -583,6 +583,8 @@ automatically."
583 (mml-insert-empty-tag 'part 'type type 'filename file 583 (mml-insert-empty-tag 'part 'type type 'filename file
584 'disposition dispos 'description description))) 584 'disposition dispos 'description description)))
585 585
586(defvar mh-identity-pgg-default-user-id)
587
586(defun mh-secure-message (method mode &optional identity) 588(defun mh-secure-message (method mode &optional identity)
587 "Add directive to Encrypt/Sign an entire message. 589 "Add directive to Encrypt/Sign an entire message.
588METHOD should be one of: \"pgpmime\", \"pgp\", \"smime\". 590METHOD should be one of: \"pgpmime\", \"pgp\", \"smime\".
@@ -852,7 +854,7 @@ If message has been encoded for transfer take that into account."
852;;;###mh-autoload 854;;;###mh-autoload
853(defun mh-toggle-mh-decode-mime-flag () 855(defun mh-toggle-mh-decode-mime-flag ()
854 "Toggle whether MH-E should decode MIME or not." 856 "Toggle whether MH-E should decode MIME or not."
855 (interactive) 857 (interactive)
856 (setq mh-decode-mime-flag (not mh-decode-mime-flag)) 858 (setq mh-decode-mime-flag (not mh-decode-mime-flag))
857 (mh-show nil t) 859 (mh-show nil t)
858 (message (format "(setq mh-decode-mime-flag %s)" mh-decode-mime-flag))) 860 (message (format "(setq mh-decode-mime-flag %s)" mh-decode-mime-flag)))