From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs Date: Tue, 24 Jun 2008 21:37:57 -0400 Message-ID: References: <18528.57272.142788.302154@kahikatea.snap.net.nz> <18529.26609.567179.380849@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214357893 19532 80.91.229.12 (25 Jun 2008 01:38:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2008 01:38:13 +0000 (UTC) Cc: joakim@verona.se, emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 25 03:38:58 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KBJyL-0005gN-Ab for ged-emacs-devel@m.gmane.org; Wed, 25 Jun 2008 03:38:57 +0200 Original-Received: from localhost ([127.0.0.1]:49390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBJxU-0003Mo-Gc for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2008 21:38:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBJxQ-0003MU-8n for emacs-devel@gnu.org; Tue, 24 Jun 2008 21:38:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBJxP-0003LZ-K4 for emacs-devel@gnu.org; Tue, 24 Jun 2008 21:37:59 -0400 Original-Received: from [199.232.76.173] (port=52937 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBJxP-0003LP-B3 for emacs-devel@gnu.org; Tue, 24 Jun 2008 21:37:59 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:45980) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBJxO-0002b2-WC for emacs-devel@gnu.org; Tue, 24 Jun 2008 21:37:59 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhkFAOA9YUhFxIdG/2dsb2JhbACBW7EwgW8 X-IronPort-AV: E=Sophos;i="4.27,699,1204520400"; d="scan'208";a="23168232" Original-Received: from 69-196-135-70.dsl.teksavvy.com (HELO pastel.home) ([69.196.135.70]) by ironport2-out.teksavvy.com with ESMTP; 24 Jun 2008 21:37:57 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4360F825A; Tue, 24 Jun 2008 21:37:57 -0400 (EDT) In-Reply-To: <18529.26609.567179.380849@kahikatea.snap.net.nz> (Nick Roberts's message of "Wed, 25 Jun 2008 09:32:33 +1200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:99880 Archived-At: > Maybe it has something to do with using a separate build directory > (~/emacs/build/) to the source (~/emacs/src) It could very well be: I never used a separate build directory, so I don't know what goes where and what can be assumed to be where, so whenever I touch the Makefiles, I tend to introduce problems in this area. The fact that the Makefiles seem to contain somewhere around 0 bytes of comments about this doesn't help, of course. >> >> and it insists on generating autoloads for all files in the >> >> lisp directory. >> > That was also the case in the past, except that your recipe simply never >> > updated the loaddefs.el file. > I'm not sure what you're saying but I'm saying the behaviour appears to have > changed. No doubt, it has changed. >> >> Is there a way to get the old behaviour. It left problems from >> >> time to time but I could generally see how to fix them. >> > How 'bout adding "no-autoloads" annotations to the files you don't >> > want autoloaded? > I could do but it's more inconvenient than my previous method. What can i say: the Makefile is designed to build Emacs, not some local derivative. This said, I have my own local derivative with about 1MB's worth of changes, and I never needed to silence autoloads, so I find your situation rather odd. Of course, you can also hack your local derivative to use different Makefile rules ;-) Stefan