unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: emacs-28 7343b0d: ; * etc/NEWS: Native compilation is more picky about missing dependencies.
       [not found] ` <20211106130425.7CD8120A22@vcs0.savannah.gnu.org>
@ 2021-11-06 16:49   ` Glenn Morris
  2021-11-06 17:25     ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2021-11-06 16:49 UTC (permalink / raw)
  To: emacs-devel; +Cc: Eli Zaretskii


> branch: emacs-28
> commit 7343b0d0e4a1e665f99ea4473c1a4e4a13081e96

> +Note that JIT native compilation is done in a fresh session of Emacs
> +that is run in a subprocess, so it can legitimately report some
> +warnings and errors that aren't uncovered by byte-compilation.  We
> +recommend examining any such warnings before you decide they are
> +false.

I would have hoped that it's well understood that byte compilation must
be done in a separate Emacs process to be reliable, so that any previous
definitions don't pollute the environment. This is not specific to native
compilation.

If this NEWS entry means nothing deeper than that, I find it a bit
misleading.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs-28 7343b0d: ; * etc/NEWS: Native compilation is more picky about missing dependencies.
  2021-11-06 16:49   ` emacs-28 7343b0d: ; * etc/NEWS: Native compilation is more picky about missing dependencies Glenn Morris
@ 2021-11-06 17:25     ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2021-11-06 17:25 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

> From: Glenn Morris <rgm@gnu.org>
> Cc: Eli Zaretskii <eliz@gnu.org>
> Date: Sat, 06 Nov 2021 12:49:37 -0400
> 
> 
> > branch: emacs-28
> > commit 7343b0d0e4a1e665f99ea4473c1a4e4a13081e96
> 
> > +Note that JIT native compilation is done in a fresh session of Emacs
> > +that is run in a subprocess, so it can legitimately report some
> > +warnings and errors that aren't uncovered by byte-compilation.  We
> > +recommend examining any such warnings before you decide they are
> > +false.
> 
> I would have hoped that it's well understood that byte compilation must
> be done in a separate Emacs process to be reliable, so that any previous
> definitions don't pollute the environment. This is not specific to native
> compilation.

It is understood by us, but not by people out there, who are routinely
compiling their init files from sessions that have other files loaded.

> If this NEWS entry means nothing deeper than that, I find it a bit
> misleading.

I don't know if it's deeper, but it doesn't mean to say what you think
it does, and it isn't directed at the Emacs developers.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-06 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211106130424.4645.53189@vcs0.savannah.gnu.org>
     [not found] ` <20211106130425.7CD8120A22@vcs0.savannah.gnu.org>
2021-11-06 16:49   ` emacs-28 7343b0d: ; * etc/NEWS: Native compilation is more picky about missing dependencies Glenn Morris
2021-11-06 17:25     ` Eli Zaretskii

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).