Subject: Re: bug#38433: ProofGeneral and Emacs sharing a profile

From: zimoun <[email-masked]>
Date: Mon, 29 Nov 2021 09:57:20 +0100

Hi,

On Fri, 29 Nov 2019 at 21:38, Brett Gilio <[email-masked]> wrote:
> There is an issue after the EMACSLOADPATH change that creates a problem
> when `proof-general` and `emacs` share a profile. This issue can be
> replicated as follows:
>
> $ guix environment --ad-hoc proof-general emacs
>
>
> When you launch the client of either of these after spinning up the
> environment, you are prompted with this from the *Messages* buffer.
>
> Loading /gnu/store/bi3yv2q84fpyq1ym9z8rpa8hv2xhz1bf-profile/share/emacs/site-lisp/ProofGeneral/generic/proof-autoloads...done
> Loading /gnu/store/bi3yv2q84fpyq1ym9z8rpa8hv2xhz1bf-profile/share/emacs/site-lisp/ProofGeneral/generic/proof-autoloads...
> byte-code: Already loaded
>
> Loading stops without an error message at this point, failing to
> complete the initialization process.

Commit cb296dfa2e2938d18ae0ee347bed0cc94bc79cf8 fixes this issue.  The
command,

    guix shell -C emacs proof-general -E TERM \
         --  emacs foo.v

leads to this ’*Messages*’:

--8<---------------cut here---------------start------------->8---
Loading /gnu/store/wbr97j47i3z6m19gycm6ryb6k0xdlg3i-proof-general-4.4-0.bc86736\
/share/emacs/site-lisp/ProofGeneral/proof-general-autoloads.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
(New file)
Coq project file not detected.
--8<---------------cut here---------------end--------------->8---

Therefore, closing.

Feel free to reopen if I miss something or misunderstand your report.

Cheers,
simon