unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
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	[thread overview]
Message-ID: <f7ccd24b0910091927s25e41220g56813467b8b9fc07@mail.gmail.com> (raw)
In-Reply-To: <0my40kr72.fsf@fencepost.gnu.org>

On Sat, Oct 10, 2009 at 02:50, Glenn Morris <rgm@gnu.org> 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 working.

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 thing:

--------------------------------------------------------------------------------
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,

> +                  (shell-command (format "make -C %s echolisp > %s"
> +                                         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




  reply	other threads:[~2009-10-10  2:27 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Mv3iq-0005oI-5L@monty-python.gnu.org>
2009-10-06  7:44 ` Changes in lisp/Makefile.in to skip preloaded files Eli Zaretskii
2009-10-06  9:25   ` Eli Zaretskii
2009-10-06  9:33     ` Miles Bader
2009-10-06  9:42       ` Eli Zaretskii
2009-10-06 10:14         ` Miles Bader
2009-10-06 13:12           ` Dan Nicolaescu
2009-10-06 13:45             ` Dan Nicolaescu
2009-10-06 16:20             ` Glenn Morris
2009-10-06 16:50               ` Dan Nicolaescu
2009-10-06 15:28     ` Stefan Monnier
2009-10-06 16:16     ` Glenn Morris
2009-10-06 18:41       ` Eli Zaretskii
2009-10-07  3:00         ` Glenn Morris
2009-10-07  7:23           ` Glenn Morris
2009-10-07  9:23             ` Eli Zaretskii
2009-10-07 10:00               ` Juanma Barranquero
2009-10-07 16:16               ` Glenn Morris
2009-10-08 23:08                 ` Lennart Borgman
2009-10-08 23:31                   ` Juanma Barranquero
2009-10-08 23:34                     ` Lennart Borgman
2009-10-09  0:02                       ` Juanma Barranquero
2009-10-09  0:04                         ` Glenn Morris
2009-10-09  0:25                           ` Juanma Barranquero
2009-10-09 11:48                             ` Lennart Borgman
2009-10-10  0:50                 ` ignoring autoloads in preloaded files on Windows [was Re: Changes in lisp/Makefile.in to skip preloaded files] Glenn Morris
2009-10-10  2:27                   ` Juanma Barranquero [this message]
2009-10-10  3:34                     ` ignoring autoloads in preloaded files on Windows Glenn Morris
2009-10-10  3:57                       ` Juanma Barranquero
2009-10-10  4:17                         ` Juanma Barranquero
2009-10-10  4:19                           ` Juanma Barranquero
2009-10-10  5:13                           ` Juanma Barranquero
2009-10-10  7:37                             ` Eli Zaretskii
2009-10-13 19:16                               ` Stefan Monnier
2009-10-15  6:14                                 ` Glenn Morris
2009-10-10  7:32                         ` Eli Zaretskii
2009-10-10 11:51                           ` Juanma Barranquero
2009-10-10 13:16                             ` Eli Zaretskii
2009-10-10 21:17                               ` Glenn Morris
2009-10-11  2:02                                 ` Juanma Barranquero
2009-10-11  2:36                                   ` Glenn Morris
2009-10-11  2:44                                     ` Glenn Morris
2009-10-11  3:35                                     ` Juanma Barranquero
2009-10-11 14:04                                       ` Juanma Barranquero
2009-10-07  9:57             ` Changes in lisp/Makefile.in to skip preloaded files Eli Zaretskii
2009-10-07  9:15           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ccd24b0910091927s25e41220g56813467b8b9fc07@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).