[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A few questions about desktop.el

From: Luc Teirlinck
Subject: Re: A few questions about desktop.el
Date: Wed, 10 Aug 2005 18:45:15 -0500 (CDT)

The trouble during bootstrapping seems to involve the relationship
between loaddefs.el and ldefs-boot, "explained" (sort of) in lisp/Makefile.in:

# Prepare a bootstrap in the lisp subdirectory.
# Build loaddefs.el to make sure it's up-to-date.  If it's not, that
# might lead to errors during the bootstrap because something fails to
# autoload as expected.  If there is no emacs binary, then we can't
# build autoloads yet.  In that case we have to use ldefs-boot.el;
# bootstrap should always work with ldefs-boot.el.  (Because
# loaddefs.el is an automatically generated file, we don't want to
# store it in the source repository).

But ldefs-boot.el claims to be automatically generated too and it
appears to be stored in the source repository.

desktop-buffer-mode-handlers has a (new) autoload cookie.  That makes
it into loaddefs.el, but not into ldefs-boot.el, which is apparently
necessary for bootstrapping.

I can make bootstrapping work by manually copying the defvar for
desktop-buffer-mode-handlers from loaddefs to ldefs-boot.  I could
install this "fix".  However, this does not seem to be the right thing
to do, since ldefs-boot apparently is supposed to contain
_automatically_ extracted autoloads.

What is the right thing to do?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]