bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59358: 29.0.50; failing to load .eln for init file sets user-init-fi


From: Eli Zaretskii
Subject: bug#59358: 29.0.50; failing to load .eln for init file sets user-init-file to warnings.el
Date: Sat, 19 Nov 2022 12:21:06 +0200

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Sat, 19 Nov 2022 10:13:58 +0100
> Cc: 59358@debbugs.gnu.org
> 
> On Fri, Nov 18, 2022 at 3:24 PM Eli Zaretskii <eliz@gnu.org> wrote:
>  
>  That is a separate bug, IMO.  Is this because in Fload we set 'found'
>  to the file name of warnings.el/.eln in this case?  If so, we should
>  prevent this nonsense.
> 
> The bug is the consequence of maybe_swap_for_eln calling `display-warning', 
> which initiates a recursive
> Fload while user-init-file is still t, so Fload "records" the current file 
> name.
> 
> The easiest fix in my view is to use delayed warnings and avoid the recursive 
> Fload.

Fine by me.

Andrea, do you agree?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]