I wrote:
That is correct. I'll have to move some provides then. I
hadn't
thought about defsubsts, either, so I'll deal with those once I get the
macros to settle down and behave correctly. Keep watching for a patch.
I'll get a successful compile one of these days...
Here is the patch. This makes my script complain about only two uses:
the expected x-color-defined-p use in zenirc-color.el, and the
combine-after-change-calls use in mmm-cmds.el. I await opinions from
the powers that be on whether combine-after-change-calls should be
defined in fsf-compat and, if so, where.
mule-packages/leim/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* Makefile (REQUIRES): Add self so that quail-define-rules autoloads.
xemacs-packages/ada/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* Makefile (REQUIRES): Add xemacs-base so that define-skeleton
autoloads.
xemacs-packages/dired/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* dired-oas.el: Load the definition of dired-parse-ls when compiling.
xemacs-packages/edit-utils/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* Makefile (REQUIRES): Add xemacs-devel so that profile autoloads.
xemacs-packages/ess/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* Makefile (REQUIRES): Add speedbar to satisfy compile time macro
needs.
* lisp/ess-menu.el: Require speedbar at compile time to define
speedbar-with-writable.
Remove useless require inside a featurep.
xemacs-packages/eudc/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* Makefile (REQUIRES): Add rmail, tm, and apel to satisfy
transitive dependencies from gnus.
xemacs-packages/gnus/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* Makefile (REQUIRES): Add tm and apel to satisfy transitive
dependencies from rmail.
xemacs-packages/gnus/gnus/lisp/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* gnus-util.el: Require rmail at compile time to define
rmail-select-summary.
* gnus-xmas.el: Move the provide to the top to break a cycle.
Require gnus at compile time to define several macros.
* gnus.el: Move the provide to the top to break a cycle.
xemacs-packages/ilisp/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* Makefile (PRELOADS): Also preload ilisp-dia so that defdialect
is defined.
xemacs-packages/net-utils/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* Makefile (REQUIRES): Add bbdb and gnus to autoload macro
definitions, and rmail, tm, and apel to satisfy transitive
dependencies on gnus.
* feedmail.el: Require bbdb-com at compile time to define
the bbdb-search macro.
xemacs-packages/semantic/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* document.el: Require semantic and semantic-util at compile time
to define macros.
xemacs-packages/speedbar/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* sb-rmail.el: Require speedbar at compile time to define the
speedbar-message macro.
xemacs-packages/tm/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* tm-vm.el: Require vm-easymenu and vm-macro at compile time to
define macros.
xemacs-packages/vhdl/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* vhdl-mode.el (speedbar-with-writable): Removed, along with
incorrect comment.
xemacs-packages/xemacs-base/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* ffap.el: Require advice at compile time, not load time.
xemacs-packages/xemacs-devel/ChangeLog addition:
2002-12-17 Jerry James <james(a)xemacs.org>
* Makefile (REQUIRES): Add rmail, tm, and apel due to transitive
dependencies on gnus.
packages source patch:
Diff command: cvs -q diff -uN
Files affected: xemacs-packages/xemacs-devel/Makefile xemacs-packages/xemacs-base/ffap.el
xemacs-packages/vhdl/vhdl-mode.el xemacs-packages/tm/tm-vm.el
xemacs-packages/speedbar/sb-rmail.el xemacs-packages/semantic/document.el
xemacs-packages/net-utils/feedmail.el xemacs-packages/net-utils/Makefile
xemacs-packages/ilisp/Makefile xemacs-packages/gnus/gnus/lisp/gnus.el
xemacs-packages/gnus/gnus/lisp/gnus-xmas.el xemacs-packages/gnus/gnus/lisp/gnus-util.el
xemacs-packages/gnus/Makefile xemacs-packages/eudc/Makefile
xemacs-packages/ess/lisp/ess-menu.el xemacs-packages/ess/Makefile
xemacs-packages/edit-utils/Makefile xemacs-packages/dired/dired-oas.el
xemacs-packages/ada/Makefile mule-packages/leim/Makefile
Index: mule-packages/leim/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/mule-packages/leim/Makefile,v
retrieving revision 1.25
diff -d -u -u -r1.25 Makefile
--- mule-packages/leim/Makefile 2002/12/08 21:25:36 1.25
+++ mule-packages/leim/Makefile 2002/12/17 23:13:06
@@ -22,7 +22,7 @@
MAINTAINER = XEmacs Development Team <xemacs-beta(a)xemacs.org>
PACKAGE = leim
PKG_TYPE = regular
-REQUIRES = mule-base fsf-compat xemacs-base
+REQUIRES = leim mule-base fsf-compat xemacs-base
CATEGORY = mule
ELCS = quail.elc leim-list.elc
Index: xemacs-packages/ada/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/ada/Makefile,v
retrieving revision 1.13
diff -d -u -u -r1.13 Makefile
--- xemacs-packages/ada/Makefile 2002/12/08 21:26:21 1.13
+++ xemacs-packages/ada/Makefile 2002/12/17 23:13:06
@@ -22,7 +22,7 @@
MAINTAINER = XEmacs Development Team <xemacs-beta(a)xemacs.org>
PACKAGE = ada
PKG_TYPE = regular
-REQUIRES =
+REQUIRES = xemacs-base
CATEGORY = standard
ELCS = ada-mode.elc ada-stmt.elc
Index: xemacs-packages/dired/dired-oas.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/dired/dired-oas.el,v
retrieving revision 1.2
diff -d -u -u -r1.2 dired-oas.el
--- xemacs-packages/dired/dired-oas.el 2001/03/31 17:15:14 1.2
+++ xemacs-packages/dired/dired-oas.el 2002/12/17 23:13:06
@@ -11,6 +11,10 @@
;;; Don't require or provide anything, as this file is just an archive.
+;;; jwj -- On the other hand, dired-parse-ls is a macro, so we had better
+;;; load its definition when compiling
+(eval-when-compile (require 'dired-sex))
+
(defun dired-sort-on-size ()
"Sorts a dired listing on file size.
If your ls cannot sort on size, this is useful as `dired-after-readin-hook':
Index: xemacs-packages/edit-utils/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/edit-utils/Makefile,v
retrieving revision 1.102
diff -d -u -u -r1.102 Makefile
--- xemacs-packages/edit-utils/Makefile 2002/12/08 21:27:17 1.102
+++ xemacs-packages/edit-utils/Makefile 2002/12/17 23:13:06
@@ -24,7 +24,7 @@
MAINTAINER = XEmacs Development Team <xemacs-beta(a)xemacs.org>
PACKAGE = edit-utils
PKG_TYPE = single-file
-REQUIRES = xemacs-base fsf-compat dired mail-lib
+REQUIRES = xemacs-base xemacs-devel fsf-compat dired mail-lib
CATEGORY = standard
ELCS = abbrevlist.elc after-save-commands.elc array.elc atomic-extents.elc \
Index: xemacs-packages/ess/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/ess/Makefile,v
retrieving revision 1.8
diff -d -u -u -r1.8 Makefile
--- xemacs-packages/ess/Makefile 2002/12/08 21:27:32 1.8
+++ xemacs-packages/ess/Makefile 2002/12/17 23:13:06
@@ -22,7 +22,7 @@
MAINTAINER = A.J. Rossini <rossini(a)xemacs.org>
PACKAGE = ess
PKG_TYPE = regular
-REQUIRES = xemacs-base mail-lib fsf-compat edit-utils
+REQUIRES = xemacs-base mail-lib fsf-compat edit-utils speedbar
CATEGORY = standard
ELS = $(wildcard lisp/*.el)
Index: xemacs-packages/ess/lisp/ess-menu.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/ess/lisp/ess-menu.el,v
retrieving revision 1.2
diff -d -u -u -r1.2 ess-menu.el
--- xemacs-packages/ess/lisp/ess-menu.el 2002/12/16 23:24:25 1.2
+++ xemacs-packages/ess/lisp/ess-menu.el 2002/12/17 23:13:06
@@ -210,6 +210,8 @@
;;; Speedbar stuff.
+;; Compile time: require speedbar so macros expand correctly
+(eval-when-compile (require 'speedbar))
(defun S-speedbar-buttons (buffer)
"attempted hack."
@@ -231,10 +233,10 @@
(speedbar-add-supported-extension ".s")
(speedbar-add-supported-extension ".q"))
+;; Load time: use speedbar if available
(if (featurep 'speedbar)
(progn
(message "enabling speedbar support")
- (require 'speedbar)
(ess-S-initialize-speedbar)))
; Run load hook and provide package
Index: xemacs-packages/eudc/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/eudc/Makefile,v
retrieving revision 1.37
diff -d -u -u -r1.37 Makefile
--- xemacs-packages/eudc/Makefile 2002/12/08 21:27:36 1.37
+++ xemacs-packages/eudc/Makefile 2002/12/17 23:13:06
@@ -22,7 +22,7 @@
MAINTAINER = Oscar Figueiredo <oscar(a)xemacs.org>
PACKAGE = eudc
PKG_TYPE = regular
-REQUIRES = fsf-compat xemacs-base bbdb mail-lib gnus
+REQUIRES = fsf-compat xemacs-base bbdb mail-lib gnus rmail tm apel
CATEGORY = standard
ELCS = eudc.elc eudc-hotlist.elc eudc-export.elc eudc-bob.elc \
Index: xemacs-packages/gnus/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/gnus/Makefile,v
retrieving revision 1.74
diff -d -u -u -r1.74 Makefile
--- xemacs-packages/gnus/Makefile 2002/12/08 21:27:57 1.74
+++ xemacs-packages/gnus/Makefile 2002/12/17 23:13:06
@@ -23,7 +23,7 @@
PACKAGE = gnus
PKG_TYPE = regular
REQUIRES = gnus w3 mh-e mailcrypt rmail eterm mail-lib xemacs-base fsf-compat \
- ecrypto
+ ecrypto tm apel
CATEGORY = standard
LISPFILES = $(wildcard gnus/lisp/*.el)
ELCS = $(LISPFILES:.el=.elc)
Index: xemacs-packages/gnus/gnus/lisp/gnus-util.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/gnus/gnus/lisp/gnus-util.el,v
retrieving revision 1.21
diff -d -u -u -r1.21 gnus-util.el
--- xemacs-packages/gnus/gnus/lisp/gnus-util.el 2001/02/08 08:57:17 1.21
+++ xemacs-packages/gnus/gnus/lisp/gnus-util.el 2002/12/17 23:13:07
@@ -652,7 +652,7 @@
;;; Functions for saving to babyl/mail files.
(defvar rmail-default-rmail-file)
+(eval-when-compile (require 'rmail))
(defun gnus-output-to-rmail (filename &optional ask)
"Append the current article to an Rmail file named FILENAME."
(require 'rmail)
Index: xemacs-packages/gnus/gnus/lisp/gnus-xmas.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/gnus/gnus/lisp/gnus-xmas.el,v
retrieving revision 1.12
diff -d -u -u -r1.12 gnus-xmas.el
--- xemacs-packages/gnus/gnus/lisp/gnus-xmas.el 2001/02/08 08:57:18 1.12
+++ xemacs-packages/gnus/gnus/lisp/gnus-xmas.el 2002/12/17 23:13:07
@@ -27,10 +27,13 @@
;;; Code:
+(provide 'gnus-xmas)
+
(require 'text-props)
(defvar menu-bar-mode (featurep 'menubar))
(require 'messagexmas)
(require 'wid-edit)
+(eval-when-compile (require 'gnus))
(defgroup gnus-xmas nil
"XEmacsoid support for Gnus"
@@ -873,7 +876,5 @@
gnus-mailing-list-menu))
(add-hook 'gnus-mailing-list-mode-hook 'gnus-xmas-mailing-list-menu-add)
-
-(provide 'gnus-xmas)
;;; gnus-xmas.el ends here
Index: xemacs-packages/gnus/gnus/lisp/gnus.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/gnus/gnus/lisp/gnus.el,v
retrieving revision 1.26
diff -d -u -u -r1.26 gnus.el
--- xemacs-packages/gnus/gnus/lisp/gnus.el 2001/02/08 08:57:18 1.26
+++ xemacs-packages/gnus/gnus/lisp/gnus.el 2002/12/17 23:13:08
@@ -27,6 +27,8 @@
;;; Code:
+(provide 'gnus)
+
(eval '(run-hooks 'gnus-load-hook))
(eval-when-compile (require 'cl))
@@ -2951,7 +2953,5 @@
;; Allow redefinition of Gnus functions.
(gnus-ems-redefine)
-
-(provide 'gnus)
;;; gnus.el ends here
Index: xemacs-packages/ilisp/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/ilisp/Makefile,v
retrieving revision 1.49
diff -d -u -u -r1.49 Makefile
--- xemacs-packages/ilisp/Makefile 2002/12/08 21:28:13 1.49
+++ xemacs-packages/ilisp/Makefile 2002/12/17 23:13:08
@@ -33,7 +33,7 @@
REQUIRES = xemacs-base mail-lib fsf-compat eterm sh-script
CATEGORY = standard
-PRELOADS = -l ilisp-def -l comint
+PRELOADS = -l ilisp-def -l ilisp-dia -l comint
ELCS = ilxemacs.elc ilcompat.elc completer.elc comint-ipc.elc bridge.elc \
ilisp-def.elc ilisp-sym.elc \
Index: xemacs-packages/net-utils/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/net-utils/Makefile,v
retrieving revision 1.32
diff -d -u -u -r1.32 Makefile
--- xemacs-packages/net-utils/Makefile 2002/12/08 21:28:44 1.32
+++ xemacs-packages/net-utils/Makefile 2002/12/17 23:13:09
@@ -22,7 +22,7 @@
MAINTAINER = XEmacs Development Team <xemacs-beta(a)xemacs.org>
PACKAGE = net-utils
PKG_TYPE = single-file
-REQUIRES = w3 efs mail-lib xemacs-base fsf-compat eterm sh-script
+REQUIRES = bbdb w3 efs mail-lib xemacs-base fsf-compat eterm sh-script gnus rmail tm
apel
CATEGORY = standard
ELCS = browse-cltl2.elc xemacsbug.elc feedmail.elc metamail.elc net-utils.elc \
Index: xemacs-packages/net-utils/feedmail.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/net-utils/feedmail.el,v
retrieving revision 1.4
diff -d -u -u -r1.4 feedmail.el
--- xemacs-packages/net-utils/feedmail.el 2001/05/11 14:54:32 1.4
+++ xemacs-packages/net-utils/feedmail.el 2002/12/17 23:13:10
@@ -909,6 +909,8 @@
:type 'list
)
+;; jwj -- Get the definition of bbdb-search
+(eval-when-compile (require 'bbdb-com))
(defun feedmail-spray-via-bbdb ()
"Example function for use with feedmail spray mode.
Index: xemacs-packages/semantic/document.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/semantic/document.el,v
retrieving revision 1.8
diff -d -u -u -r1.8 document.el
--- xemacs-packages/semantic/document.el 2002/08/12 03:26:23 1.8
+++ xemacs-packages/semantic/document.el 2002/12/17 23:13:11
@@ -40,6 +40,10 @@
;; This contains most variable settings for auto-comment generation.
(require 'document-vars)
+(eval-when-compile
+ (require 'semantic)
+ (require 'semantic-util))
+
;;; Code:
;;; User customizations
Index: xemacs-packages/speedbar/sb-rmail.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/speedbar/sb-rmail.el,v
retrieving revision 1.5
diff -d -u -u -r1.5 sb-rmail.el
--- xemacs-packages/speedbar/sb-rmail.el 2002/08/09 22:08:29 1.5
+++ xemacs-packages/speedbar/sb-rmail.el 2002/12/17 23:13:11
@@ -41,6 +41,7 @@
;; "Rmail specific speedbar button generator.")
;;
;; This file requires speedbar.
+(eval-when-compile (require 'speedbar))
;;; Change log:
;; 0.1 - first revision copied from speedbspec.el V 0.1.1
Index: xemacs-packages/tm/tm-vm.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/tm/tm-vm.el,v
retrieving revision 1.1.1.1
diff -d -u -u -r1.1.1.1 tm-vm.el
--- xemacs-packages/tm/tm-vm.el 1998/01/14 06:27:57 1.1.1.1
+++ xemacs-packages/tm/tm-vm.el 2002/12/17 23:13:12
@@ -38,7 +38,9 @@
(eval-when-compile
(require 'tm-mail)
(require 'vm)
- (require 'vm-window))
+ (require 'vm-window)
+ (require 'vm-easymenu)
+ (require 'vm-macro))
(require 'tm-edit)
(require 'tm-view)
Index: xemacs-packages/vhdl/vhdl-mode.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/vhdl/vhdl-mode.el,v
retrieving revision 1.4
diff -d -u -u -r1.4 vhdl-mode.el
--- xemacs-packages/vhdl/vhdl-mode.el 2001/02/17 01:25:49 1.4
+++ xemacs-packages/vhdl/vhdl-mode.el 2002/12/17 23:13:16
@@ -12834,13 +12834,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Display functions
-;; macros must be defined in the file they are used (copied from `speedbar.el')
-(defmacro speedbar-with-writable (&rest forms)
- "Allow the buffer to be writable and evaluate FORMS."
- (list 'let '((inhibit-read-only t))
- (cons 'progn forms)))
-(put 'speedbar-with-writable 'lisp-indent-function 0)
-
(defun vhdl-speedbar-display-directory (directory depth &optional rescan)
"Display directory and hierarchy information in speedbar."
(setq vhdl-speedbar-show-projects nil)
Index: xemacs-packages/xemacs-base/ffap.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/xemacs-base/ffap.el,v
retrieving revision 1.6
diff -d -u -u -r1.6 ffap.el
--- xemacs-packages/xemacs-base/ffap.el 2002/10/20 08:38:03 1.6
+++ xemacs-packages/xemacs-base/ffap.el 2002/12/17 23:13:16
@@ -1289,7 +1289,7 @@
(if (boundp 'PC-completion-as-file-name-predicate)
;; modern version of complete.el, just set the variable:
(setq PC-completion-as-file-name-predicate 'ffap-complete-as-file-p)
- (require 'advice)
+ (eval-when-compile (require 'advice))
(defadvice PC-do-completion (around ffap-fix act)
"Work with ffap."
(let ((minibuffer-completion-table
Index: xemacs-packages/xemacs-devel/Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/xemacs-devel/Makefile,v
retrieving revision 1.57
diff -d -u -u -r1.57 Makefile
--- xemacs-packages/xemacs-devel/Makefile 2002/12/08 21:31:10 1.57
+++ xemacs-packages/xemacs-devel/Makefile 2002/12/17 23:13:16
@@ -24,7 +24,7 @@
MAINTAINER = XEmacs Development Team <xemacs-beta(a)xemacs.org>
PACKAGE = xemacs-devel
PKG_TYPE = single-file
-REQUIRES = xemacs-base ispell mail-lib gnus
+REQUIRES = xemacs-base ispell mail-lib gnus rmail tm apel
CATEGORY = standard
ELCS = bench.elc checkdoc.elc docref.elc eldoc.elc elp.elc eval-expr.elc \
--
Jerry James
http://www.ittc.ku.edu/~james/