From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: A few questions about desktop.el Date: Wed, 10 Aug 2005 18:45:15 -0500 (CDT) Message-ID: <200508102345.j7ANjFD04941@raven.dms.auburn.edu> References: <42F9CDEA.3070302@soem.dk> <200508102205.j7AM53n04869@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1123718624 11622 80.91.229.2 (11 Aug 2005 00:03:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2005 00:03:44 +0000 (UTC) Cc: larsh@soem.dk, lekktu@gmail.com, rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 11 02:03:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E30WR-0003EL-1h for ged-emacs-devel@m.gmane.org; Thu, 11 Aug 2005 02:02:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E30ZZ-00016U-CP for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2005 20:05:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E30Xw-0000de-RB for emacs-devel@gnu.org; Wed, 10 Aug 2005 20:03:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E30Xt-0000cK-Pc for emacs-devel@gnu.org; Wed, 10 Aug 2005 20:03:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E30Xt-0000Le-86 for emacs-devel@gnu.org; Wed, 10 Aug 2005 20:03:41 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E30UO-0000ir-Dp; Wed, 10 Aug 2005 20:00:04 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j7ANjIqt020714; Wed, 10 Aug 2005 18:45:19 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j7ANjFD04941; Wed, 10 Aug 2005 18:45:15 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org In-reply-to: <200508102205.j7AM53n04869@raven.dms.auburn.edu> (message from Luc Teirlinck on Wed, 10 Aug 2005 17:05:03 -0500 (CDT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41890 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41890 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? Sincerely, Luc.