On Tuesday, April 29, 2008 at 03:04:55, Stephen Turnbull wrote:
Mats Lidell writes:
> Looking into the .../vm/vm.el and .../lisp/vm-startup.el files it
> does really look like an infinite recursion. .../vm/vm.el
> requires vm-startup and .../lisp/vm-startup.el requires vm.
Hm. This isn't true in my checkout. Are you sure you don't have
crufty old versions of vm.el and/or vm-startup.el (or byte-compiled
versions) in strange places on the load-path? Seems more likely
that I would have screwed up -- I haven't paid much attention to
packages recently -- but the current change to VM moves all the Lisp
source into a subdirectory while the old build left all the .elcs in
top-level. Could that be confusing your builds?
;;; This file is only here for compatibility with older VM
(require 'vm) (provide 'vm-startup)
AFAIK the two sexps can be reversed (the load process automatically
undoes any `provide's on error).
But vm.el doesn't refer to vm-startup.elc? at all. It would also be
safe to move the `provide' for vm.el to the top.
I usually place the (provide 'FEATURE) as last line in the
source in order to ensure that the rest was loaded without
XEmacs-Beta mailing list