all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Andrea Corallo <akrl@sdf.org>
Cc: 44676@debbugs.gnu.org
Subject: bug#44676: [PATCH] Support native compilation of packages on install
Date: Fri, 20 Nov 2020 12:03:24 -0800	[thread overview]
Message-ID: <CADwFkmnW7NAO5pwsAc4jHRpqE4OYwCWhn4ZD3vL-JxSfg7HOww@mail.gmail.com> (raw)
In-Reply-To: <xjfh7pka01x.fsf@sdf.org>

Andrea Corallo <akrl@sdf.org> writes:

>>     (native-compile-async "foo.el")
>>     (load "foo.el")
>
> The issue is that this does a different thing, if foo.el was never byte
> compiled you will endup with only the non compiled (nor byte or native)
> definitions as the load happes before the async compilation has finished.

So the eln wouldn't be loaded once it is done compiling, unless you
specify the explicit LOAD parameter?  If this is the case, I think I
agree with you that we should definitely keep the LOAD parameter.

However, perhaps we could make the LOAD parameter a simple boolean in
the user-facing `native-compile-async' function?  I.e., we hide away
`late' for internal use only.

> I'd prefer to keep it as late.  Late load is a mechanism that is not
> strictly related to bytecode (even if now we issue it in relation to
> that) and in the code is referred as late-load in multiple palces I
> believe.  Also late is shorter than after-bytecode :)

OK, sounds good to me.





  reply	other threads:[~2020-11-20 20:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16  2:38 bug#44676: [PATCH] Support native compilation of packages on install Stefan Kangas
2020-11-16 15:12 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-18 14:41   ` Stefan Kangas
2020-11-18 16:05     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-19 22:34       ` Stefan Kangas
2020-11-20  8:45         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-20 20:03           ` Stefan Kangas [this message]
2020-11-20 20:12             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-20 21:10               ` Stefan Kangas
2020-11-20 22:56                 ` bug#44676: [PATCH 4/4] " Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-21  3:26                   ` Stefan Kangas
2020-11-21 11:38                     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-20  8:55         ` bug#44676: [PATCH 1/4] " Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-20  9:03         ` bug#44676: [PATCH 2/4] " Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-20 20:07           ` Stefan Kangas
2020-11-20 20:16             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-20  9:06         ` bug#44676: [PATCH 3/4] " Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=CADwFkmnW7NAO5pwsAc4jHRpqE4OYwCWhn4ZD3vL-JxSfg7HOww@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=44676@debbugs.gnu.org \
    --cc=akrl@sdf.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.