Commits

Anonymous committed 731d7f1

Fix problem with finding macros

Comments (0)

Files changed (5)

+2000-10-28  Steve Youngs  <youngs@xemacs.org>
+
+	* mc-toplev.el: Add eval-when-compile to pick up macros.
+
+	* mc-remail.el: Ditto.
+
+	* mailcrypt.el: Ditto.
+
+	* Makefile (PRELOADS): Removed.
+	(REQUIRES): Add gnus, mh-e, rmail, vm & cookie.
+
 2000-10-14  Steve Youngs  <youngs@xemacs.org>
 
 	* Makefile (PRELOADS): Insert gnus, mh-e, rmail & vm into load-path
 MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
 PACKAGE = mailcrypt
 PKG_TYPE = regular
-REQUIRES = mail-lib fsf-compat xemacs-base
+REQUIRES = mail-lib fsf-compat xemacs-base cookie gnus mh-e rmail vm
 CATEGORY = comm
 
 ELCS = expect.elc mailcrypt.elc mc-gpg.elc mc-pgp.elc mc-pgp5.elc \
 MANUAL = $(PACKAGE)
 TEXI_FILES = $(PACKAGE).texi
 
-PRELOADS = -eval "(setq load-path \
-			(nconc load-path \
-                           '((expand-file-name \"../gnus/gnus/lisp/\") \
-                                (expand-file-name \"../mh-e/\") \
-	       			(expand-file-name \"../rmail/\") \
-	       			(expand-file-name \"../vm/\"))))"
-
 include ../../XEmacs.rules
 
 all:: $(ELCS) auto-autoloads.elc $(PACKAGE).info
   ;; Quiet warnings
   (autoload 'start-itimer "itimer")
   (autoload 'cancel-itimer "itimer")
-  (autoload 'delete-itimer "itimer"))
+  (autoload 'delete-itimer "itimer")
+  (autoload 'cancel-timer "timer"))
 
 (require 'easymenu)
 (require 'comint)
 (require 'sendmail)
 (require 'mailcrypt)
 
+(eval-when-compile
+  (autoload 'shuffle-vector "cookie1")
+  (autoload 'expand-mail-aliases "mail-abbrevs"))
+
+
 (eval-and-compile
   (autoload 'mc-cleanup-recipient-headers "mc-toplev")
   (autoload 'mc-encrypt-message "mc-toplev"))
   (condition-case nil (require 'rmail) (error nil))
   (autoload 'rmail-abort-edit "rmailedit")
   (autoload 'rmail-cease-edit "rmailedit")
+  (autoload 'rmail-add-label "rmailkwd")
+  (autoload 'rmail-kill-label "rmailkwd")
+  (autoload 'rmail-edit-current-message "rmailedit")
+  (autoload 'rmail-convert-file "rmail")
+  (autoload 'rmail-mode "rmail")
+  (autoload 'rmail-quit "rmail")
   ;; Is this a good idea?
   (defvar rmail-buffer nil)
 
   ;; VM
   (condition-case nil (require 'vm) (error nil))
+  (autoload 'vm-follow-summary-cursor "vm-motion")
+  (autoload 'vm-check-for-killed-summary "vm-misc")
+  (autoload 'vm-error-if-folder-empty "vm-misc")
+  (autoload 'vm-widen-page "vm-page")
+  (autoload 'vm-leading-message-separator "vm-folder")
+  (autoload 'vm-edit-message "vm-edit")
+  (autoload 'vm-edit-message-abort "vm-edit")
+  (autoload 'vm-edit-message-end "vm-edit")
+  (autoload 'vm-mode "vm-startup")
+  (autoload 'vm-select-folder-buffer "vm-macro")
+  (autoload 'vm-error-if-folder-read-only "vm-macro")
 
   ;; GNUS
   (condition-case nil (require 'gnus) (error nil))
+  (autoload 'gnus-summary-select-article "gnus-sum")
+  (autoload 'gnus-summary-edit-article "gnus-sum")
+  (autoload 'gnus-group-read-only-p "gnus")
+  (autoload 'gnus-summary-edit-article-done "gnus-sum")
+  (autoload 'gnus-eval-in-buffer-window "gnus-util")
+  (autoload 'gnus-summary-edit-article-postpone "gnus-sum")
 
   ;; MH-E
-  (condition-case nil (require 'mh-e) (error nil)))
+  (condition-case nil (require 'mh-e) (error nil))
+  (autoload 'mh-get-msg-num "mh-utils")
+  (autoload 'mh-msg-filename "mh-utils")
+  (autoload 'mh-invalidate-show-buffer "mh-utils")
+  (autoload 'mh-show "mh-utils")
+  (autoload 'mh-in-show-buffer "mh-utils")
+  (autoload 'mh-show-buffer "mh-utils")
+
+  (autoload 'expand-mail-aliases "mail-abbrevs"))
+
 
 (eval-and-compile
   (condition-case nil (require 'mailalias) (error nil)))