all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Recursive compilation?
Date: Sat, 04 Jun 2011 19:08:34 +0300	[thread overview]
Message-ID: <83vcwld1fh.fsf@gnu.org> (raw)
In-Reply-To: <m3ipslwq0u.fsf@quimbies.gnus.org>

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> Date: Sat, 04 Jun 2011 17:54:41 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > There's a controversy about that, because there are legitimate and
> > important use cases where Stefan's simpler solution causes trouble.
> 
> I think I missed that discussion.  Do you have a recap, by any chance?

The one use case I remember is when you are developing a Lisp package
and it is not yet ready for prime time (e.g., loading it would break
Emacs).

> In any case, I think it would make sense to make this an option.  For
> instance, a new variable `byte-compile-load-newest-file' defaulting to
> nil.

If foo.el requires 'bar, and bar.elc is outdated, won't loading bar.el
make the result of compiling foo.el less optimized?

> The obvious use case would be for the Emacs makefiles to set that
> to t before compiling the .el files, which I'm sure would save us all a
> bit of time over the coming years.

Even in the Makefile's, I'm not sure it should be an obvious default:
there could be important use cases when you'd want the warning/error
even when building Emacs, e.g. when making a release or pretest
tarball.



  reply	other threads:[~2011-06-04 16:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-31 20:44 Recursive compilation? Lars Magne Ingebrigtsen
2011-05-31 21:52 ` Stefan Monnier
2011-05-31 22:17   ` Lars Magne Ingebrigtsen
2011-06-01  1:38     ` Stefan Monnier
2011-06-01 11:48       ` Lars Magne Ingebrigtsen
2011-06-01 20:14 ` Dimitri Fontaine
2011-06-03 21:55   ` Lars Magne Ingebrigtsen
2011-06-04  6:29     ` Eli Zaretskii
2011-06-04 15:54       ` Lars Magne Ingebrigtsen
2011-06-04 16:08         ` Eli Zaretskii [this message]
2011-06-04 17:50           ` Glenn Morris
2011-06-06 20:05           ` Stefan Monnier
2011-06-09 17:51             ` Lars Magne Ingebrigtsen
2011-06-04 17:48         ` Glenn Morris
2011-06-06 20:46     ` Dimitri Fontaine
2011-06-07  0:23       ` Daniel Colascione

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

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

  git send-email \
    --in-reply-to=83vcwld1fh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.