From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: ignoring autoloads in preloaded files on Windows [was Re: Changes in lisp/Makefile.in to skip preloaded files] Date: Sat, 10 Oct 2009 04:27:52 +0200 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1255141716 31264 80.91.229.12 (10 Oct 2009 02:28:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Oct 2009 02:28:36 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 10 04:28:24 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 1MwRh1-00071M-KN for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2009 04:28:23 +0200 Original-Received: from localhost ([127.0.0.1]:40221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwRh0-00028c-Te for ged-emacs-devel@m.gmane.org; Fri, 09 Oct 2009 22:28:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwRgw-00028F-B3 for emacs-devel@gnu.org; Fri, 09 Oct 2009 22:28:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwRgv-00027e-Hs for emacs-devel@gnu.org; Fri, 09 Oct 2009 22:28:17 -0400 Original-Received: from [199.232.76.173] (port=42302 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwRgv-00027b-CG for emacs-devel@gnu.org; Fri, 09 Oct 2009 22:28:17 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.156]:57129) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwRgr-0005ZP-Bx; Fri, 09 Oct 2009 22:28:13 -0400 Original-Received: by fg-out-1718.google.com with SMTP id 22so2372998fge.12 for ; Fri, 09 Oct 2009 19:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=MapLlMb1ln9uIkf7sjoGtVSqDk1ZiPW/kRS8ctF49MM=; b=k0+GVXdK/yJY4rQYk4aXVpLj17nCVhNwMsojh2aM9cbDabx2W3TmdBKPpDwt3MHVvU 94fEdNhFuHmRqfEKUXn7naZ5yQeq+9PaHdWzQs1uK1e2Cx9MWSlmZtgj+OQT/hqReuwn I2T+Svv3HpbwO/pWlBM5HTyzOkduZomsJGrmw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=iDDp5endJjZOexy0M2Es9ycQkB5/2syhZTZWkUUcBEEk9fiEf5C1PsjOVpX/IKVwjj EVPEwKs5wD5TbFlvFVRtdFI68swGJxeSh+oz6Ohe5iy01MpvFKxvo+ZOMbFxtHoeljbe rDbql6asUP9MRDfceIjDLAr/9Q9wNlJb/ic4g= Original-Received: by 10.239.170.18 with SMTP id q18mr174693hbe.50.1255141692140; Fri, 09 Oct 2009 19:28:12 -0700 (PDT) In-Reply-To: <0my40kr72.fsf@fencepost.gnu.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:116043 Archived-At: On Sat, Oct 10, 2009 at 02:50, Glenn Morris wrote: > Here is an attempt at this. Please could someone test this on Windows. On my setup, Emacs bootstraps fine. However, I don't think the patch is wor= king. IIUC, the purpose of this patch is to avoid generating autoloads for preloaded files; but in my test this is not the case. For example, ls-lisp's autoloads are still in lisp/loaddefs.el (ls-lisp is preloaded on Windows, and it is listed in lisp2 via the WINNT_SUPPORT macro). In fact, lisp/loaddefs.el is just 174 bytes shorter than in my previous bootstrap, and that's because of recent changes to the sources. At least, "make -C lib-src echolisp > echolisp.tmp" is doing the right thin= g: ---------------------------------------------------------------------------= ----- make: Entering directory `C:/bin/emacs/trunk/lib-src' ../lisp/abbrev.elc ../lisp/buff-menu.elc ../lisp/button.elc ../lisp/emacs-lisp/byte-run.elc ../lisp/composite.elc ../lisp/cus-face.elc ../lisp/cus-start.elc ../lisp/custom.elc ../lisp/emacs-lisp/backquote.elc ../lisp/emacs-lisp/lisp-mode.elc ../lisp/emacs-lisp/lisp.elc ../lisp/env.elc ../lisp/faces.elc ../lisp/files.elc ../lisp/format.elc ../lisp/facemenu.elc ../lisp/select.elc ../lisp/scroll-bar.elc ../lisp/mouse.elc ../lisp/emacs-lisp/float-sup.elc ../lisp/frame.elc ../lisp/help.elc ../lisp/indent.elc ../lisp/isearch.elc ../lisp/rfn-eshadow.elc ../lisp/loadup.el ../lisp/loaddefs.el ../lisp/bindings.elc ../lisp/emacs-lisp/map-ynp.elc ../lisp/menu-bar.elc ../lisp/international/mule.elc ../lisp/international/mule-conf.el ../lisp/international/mule-cmds.elc ../lisp/international/characters.elc ../lisp/international/charprop.el ../lisp/case-table.elc ../lisp/language/chinese.el ../lisp/language/cyrillic.el ../lisp/language/indian.el ../lisp/language/sinhala.el ../lisp/language/english.el ../lisp/language/ethiopic.elc ../lisp/language/european.elc ../lisp/language/czech.el ../lisp/language/slovak.el ../lisp/language/romanian.el ../lisp/language/greek.el ../lisp/language/hebrew.el ../lisp/language/japanese.el ../lisp/language/korean.el ../lisp/language/lao.el ../lisp/language/cham.el ../lisp/language/tai-viet.el ../lisp/language/thai.el ../lisp/language/tibetan.elc ../lisp/language/vietnamese.el ../lisp/language/misc-lang.el ../lisp/language/utf-8-lang.el ../lisp/language/georgian.el ../lisp/language/khmer.el ../lisp/language/burmese.el ../lisp/paths.el ../lisp/register.elc ../lisp/replace.elc ../lisp/simple.elc ../lisp/minibuffer.elc ../lisp/startup.elc ../lisp/subr.elc ../lisp/term/tty-colors.elc ../lisp/font-core.elc ../lisp/emacs-lisp/syntax.elc ../lisp/font-lock.elc ../lisp/jit-lock.elc ../lisp/textmodes/fill.elc ../lisp/textmodes/page.elc ../lisp/textmodes/paragraphs.elc ../lisp/textmodes/text-mode.elc ../lisp/emacs-lisp/timer.elc ../lisp/jka-cmpr-hook.elc ../lisp/vc-hooks.elc ../lisp/ediff-hook.elc ../lisp/epa-hook.elc ../lisp/tooltip.elc ../lisp/ls-lisp.elc ../lisp/disp-table.elc ../lisp/w32-fns.elc ../lisp/dos-w32.elc ../lisp/w32-vars.elc ../lisp/term/common-win.elc ../lisp/term/w32-win.elc ../lisp/fringe.elc ../lisp/image.elc ../lisp/international/fontset.elc ../lisp/dnd.elc ../lisp/tool-bar.elc ../lisp/mwheel.elc ../lisp/widget.elc ../lisp/window.elc ../lisp/version.el make: Leaving directory `C:/bin/emacs/trunk/lib-src' ---------------------------------------------------------------------------= ----- Also, > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(shell-co= mmand (format "make -C %s echolisp > %s" > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=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. Juanma