Subject: bug#73318: 31.0.50; with-native-compilation=aot breaks exec -a emacs

From: Eli Zaretskii <[email-masked]>
Date: Tue, 08 Oct 2024 15:16:22 +0300

> Cc: [email-masked], [email-masked], [email-masked],
>  [email-masked], [email-masked]
> Date: Tue, 08 Oct 2024 14:47:42 +0300
> From: Eli Zaretskii <[email-masked]>
> 
> > From: Spencer Baugh <[email-masked]>
> > If you dislike them all equally, I'll probably implement the "fallback
> > to finding elns relative to pdump" approach.
> 
> How will any of this DTRT in both Emacs that is run uninstalled
> (i.e. from its build tree) and Emacs that is run installed?
> 
> We have this figured out now, but we rely on the directory of the
> Emacs binary.  If you insist to hide that information from Emacs,
> please explain how you intend to solve the above conundrum.

Btw, the "relative to pdump" approach might have a problem if Emacs
was invoked with --dump-file=FILE command-line option, because such a
file might have no relation to where the *.eln files live.