From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#2151: 23.0.90; Building the 23.0.90 pretest recompiles Lisp files Date: Sat, 21 Feb 2009 18:10:47 +0200 Message-ID: References: Reply-To: Eli Zaretskii , 2151@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1235233431 14103 80.91.229.12 (21 Feb 2009 16:23:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2009 16:23:51 +0000 (UTC) Cc: 2151@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 21 17:25:07 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lauf4-0006T2-Pv for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 17:25:07 +0100 Original-Received: from localhost ([127.0.0.1]:42871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Laudk-0007on-CX for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 11:23:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Laudg-0007no-Q5 for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 11:23:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Laudg-0007n7-8i for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 11:23:40 -0500 Original-Received: from [199.232.76.173] (port=56197 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Laudg-0007mw-4i for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 11:23:40 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:8275) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Laudf-0008PM-5I for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 11:23:39 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Laude-0000TU-C0 for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 11:23:38 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LGNaWC017175; Sat, 21 Feb 2009 08:23:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1LGK65Z016331; Sat, 21 Feb 2009 08:20:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 21 Feb 2009 16:20:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2151 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2151-submit@emacsbugs.donarmstrong.com id=B2151.123523266014681 (code B ref 2151); Sat, 21 Feb 2009 16:20:06 +0000 Original-Received: (at 2151) by emacsbugs.donarmstrong.com; 21 Feb 2009 16:11:00 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout2.012.net.il (mtaout2.012.net.il [84.95.2.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LGAtNd014675 for <2151@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 08:10:57 -0800 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KFF00H00B1FBE00@i_mtaout2.012.net.il> for 2151@emacsbugs.donarmstrong.com; Sat, 21 Feb 2009 18:11:23 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.82.14]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KFF00ERHBMS10D0@i_mtaout2.012.net.il>; Sat, 21 Feb 2009 18:11:17 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Sat, 21 Feb 2009 11:23:40 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25553 Archived-At: > From: Stefan Monnier > Cc: 2151@emacsbugs.donarmstrong.com > Date: Wed, 04 Feb 2009 14:51:49 -0500 > > >> > We could add some file to the tarball, generated at make-dist time, to > >> > signal that bootstrap-emacs is not needed. That file could actually > >> > be named `bootstrap-emacs', which should resolve the problem nicely > >> > (assuming we manage to have it older than the oldest .elc file). > >> Maybe we can get that to work, but it sounds terribly hackish. > > Why hackish? many distributions have or create such time-stamp files, > > for Make's sake. > > I guess it depends on the details. After thinking some more about this, I don't see any easy and safe solution besides adding a "bootstrap-emacs" file to the tarball. Maybe in future releases we will be able to find a better way, but for now this is the only one that's safe. I will do that if you agree. In any case, it sounds wrong to me to have the distribution biased in favor of people who build Emacs out of CVS. Those who do that generally know more about the build procedure than people who build the release tarball. We should favor the latter, not the former. > >> Also, I'd like to make sure that if some wants to change some .el files > >> and then recompile, it still works correctly. > > It will, I think, because we can copy emacs to bootstrap-emacs at the > > end of the build. > > What if they edit .el files before building a first `emacs'? We could arrange for byte-recompile-directory at the end of the build, if that is a real-life use-case. Note that in previous releases, the user needed to manually compile the modified .el files and re-dump Emacs in this case, so we are not introducing any new problems, even if we do nothing about it.