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?
vm-startup.el is
;;; This file is only here for compatibility with older VM
;;; versions
(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
error.
Robert
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta