unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: generated-autoload-file sometimes not created
Date: Fri, 11 Apr 2008 12:06:22 -0400	[thread overview]
Message-ID: <jwvd4owz8fg.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <vgy77lhwmx.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 10 Apr 2008 23:56:54 -0400")

>> So I suggest the patch below.  Can someone test it and fix/install it?

> I guess this will have the effect of scanning every file for an
> autoload while bootstrapping, which is inefficient but not important.

Yes, the "inefficiency" isn't much of a problem.  The main source of
inefficiency of bootstrap is the time it takes to byte-compile every
file.  The autoloads are negligible in comparison.

Also, reconstructing the loaddefs.el file from scratch is a good
practice, since it ensures we don't carry along old stuff from
ldefs-boot.el.  I.e. it's a cleaner bootstrap.

> IIUC, if I happen to delete just calc-loaddefs.el and then run `make
> autoloads', it won't be recreated. I don't have a better solution though...

If it hurts, don't do that.

> (I guess the autoload time-stamp check is to reduce the number of
> files that need to be read, and checking for a local value of
> generated-autoload-file would defeat that?)

Exactly.


        Stefan




      reply	other threads:[~2008-04-11 16:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09 18:51 generated-autoload-file sometimes not created Glenn Morris
2008-04-09 20:16 ` Stefan Monnier
2008-04-10  8:02   ` Mike Mattie
2008-04-10 19:15     ` Stefan Monnier
2008-04-11  3:56   ` Glenn Morris
2008-04-11 16:06     ` Stefan Monnier [this message]

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=jwvd4owz8fg.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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).