From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: ignoring autoloads in preloaded files on Windows Date: Fri, 09 Oct 2009 23:34:30 -0400 Message-ID: References: <837hv9neza.fsf@gnu.org> <8363asoov2.fsf@gnu.org> <83tyycmkjv.fsf@gnu.org> <83eipfmuaz.fsf@gnu.org> <0my40kr72.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1255145694 5768 80.91.229.12 (10 Oct 2009 03:34:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Oct 2009 03:34:54 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 10 05:34:43 2009 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 1MwSjC-0008Ig-Pe for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2009 05:34:43 +0200 Original-Received: from localhost ([127.0.0.1]:37848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwSjC-0007te-3o for ged-emacs-devel@m.gmane.org; Fri, 09 Oct 2009 23:34:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwSj6-0007tJ-5R for emacs-devel@gnu.org; Fri, 09 Oct 2009 23:34:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwSj1-0007si-DA for emacs-devel@gnu.org; Fri, 09 Oct 2009 23:34:35 -0400 Original-Received: from [199.232.76.173] (port=52692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwSj1-0007sd-9X for emacs-devel@gnu.org; Fri, 09 Oct 2009 23:34:31 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:42492) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwSj0-0006gC-V4 for emacs-devel@gnu.org; Fri, 09 Oct 2009 23:34:31 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MwSj0-0004OA-NN; Fri, 09 Oct 2009 23:34:30 -0400 X-Spook: Ron Brown Security Council LLNL e-cash ASPIC MD5 AUTODIN X-Ran: 1rAs[E.3,-H>w>O(Ff.l94[?,8/y+@?;CN\;M (Juanma Barranquero's message of "Sat, 10 Oct 2009 04:27:52 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:116044 Archived-At: Juanma Barranquero wrote: > IIUC, the purpose of this patch is to avoid generating autoloads for > preloaded files; but in my test this is not the case. Thanks for testing it (I cannot). If you grep for "skipped" in the output of `make autoloads', there should be about 90 matches if it works. If it is not working, I guess the file-name expansion is going wrong, and the absolute file names are not matching. You don't need to bootstrap to check it. Can you edebug batch-update-autoloads, and see what is happening with the file-name expansion? >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(shell-command (format "make -C %s = echolisp > %s" >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 mdir tmpfile)) > > the make command used should either be customizable somehow (via > nt/configure.bat, I suppose), or at least documented. nt/INSTALL > mentions five likely names for the make utility: nmake (for MSVC), > make, mingw32-make, gnumake and gmake. Will (getenv "MAKE") DTRT on Windows?