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: ldefs-boot.el Date: Sat, 13 Aug 2005 19:30:32 -0500 (CDT) Message-ID: <200508140030.j7E0UWT12396@raven.dms.auburn.edu> References: <200508121949.j7CJnKG07646@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1123980058 28970 80.91.229.2 (14 Aug 2005 00:40:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Aug 2005 00:40:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 14 02:40:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E46Xg-0004np-Fo for ged-emacs-devel@m.gmane.org; Sun, 14 Aug 2005 02:40:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E46ay-00006I-Cp for ged-emacs-devel@m.gmane.org; Sat, 13 Aug 2005 20:43:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E46ap-000069-0h for emacs-devel@gnu.org; Sat, 13 Aug 2005 20:43:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E46SB-0006Hz-PL for emacs-devel@gnu.org; Sat, 13 Aug 2005 20:34:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E46S9-00069N-Tl for emacs-devel@gnu.org; Sat, 13 Aug 2005 20:34:18 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E46di-0006Ms-SJ; Sat, 13 Aug 2005 20:46:15 -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 j7E0Ugqt029454; Sat, 13 Aug 2005 19:30:43 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j7E0UWT12396; Sat, 13 Aug 2005 19:30:32 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: ttn@gnu.org In-reply-to: (message from Thien-Thi Nguyen on 12 Aug 2005 21:10:32 -0400) 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:42016 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42016 Thien-Thi Nguyen wrote: > # bootstrap should always work with ldefs-boot.el. > > No, it does not always work. (How could it?) It only works if you > update ldefs-boot whenever needed. the "should" in the last sentence of the makefile frag implies the last sentence you wrote ("it only works..."). perhaps adding that sentence to the makefile would be sufficient to nudge the implication to explanation? I suggest the following exoansion of the comment in lisp/Makefile.in. I can install if it looks OK. ===File ~/lisp-Makefile.in-diff============================= *** Makefile.in 07 Aug 2005 10:23:06 -0500 1.65 --- Makefile.in 13 Aug 2005 18:29:24 -0500 *************** *** 218,227 **** # 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). bootstrap-prepare: if test -x $(EMACS); then \ --- 218,230 ---- # 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. Therefore, ! # whenever a new autoload cookie gets added that is necessary during ! # bootstrapping, ldefs-boot.el should be updated by overwriting it with ! # an up-to-date copy of loaddefs.el that is uncorrupted by ! # local changes. (Because loaddefs.el is an automatically generated ! # file, we don't want to store it in the source repository). bootstrap-prepare: if test -x $(EMACS); then \ ============================================================