On Mon, Aug 18, 2025 at 12:50 PM Ikumi Keita <ik...@ikumi.que.jp> wrote:
>
> Hi Hongyi,
>
> >>>>> Hongyi Zhao <hongyi.z...@gmail.com> writes:
> > ## Questions
>
> > 1. Is this a known ongoing issue, or should the cyclic reference
> > problem have been resolved?
>
> It isn't a known issue. I suspect that straight.el is resposible for it,
> because straight.el had sometimes troubles in its own installation
> procedure of AUCTeX in the past.
>
> > 2. Would it be appropriate to modify the autoload generation to handle
> > this defalias more safely, perhaps with a conditional check like:
> >    ```elisp
> >    (when (fboundp 'ConTeXt-mode)
> >      (defalias 'context-mode #'ConTeXt-mode))
> >    ```
>
> As far as I can see, AUCTeX itself doesn't have problems with respect to
> cyclic reference. I strongly suspect that straight.el (or some other
> packages loaded via straight.el?) does something unreasonable for
> context-mode, which interferes badly with AUCTeX.
>
> (In the past, AUCTeX had something like
> (defalias 'ConTeXt-mode 'context-mode)
> , but now it turned the way the other way round,
> (defalias 'context-mode 'ConTeXt-mode)
> . Maybe straight.el (or some packages loaded by straight.el) assumes the
> old way?)
>
> > 3. Is there a recommended approach for package managers like
> > straight.el to handle this issue without manual post-build
> > modifications?
>
> I rather suspect that some existing "post-build modifications" conducted
> by straight.el causes the problem. Without such unnecessary
> intervention, AUCTeX ConTeXt-mode would work without problems.
>
> So I recommend you to ask straight.el developers to look after this
> problem.

I've reposted the problem below:
https://github.com/radian-software/straight.el/issues/1253

>
> Regards,
> Ikumi Keita
> #StandWithUkraine #StopWarInUkraine
> #Gaza #StopMassiveKilling #CeasefireNOW

Regards,
Zhao

Reply via email to