[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp files that load cl-lib in problematical ways
From: |
Jens Schmidt |
Subject: |
Re: Lisp files that load cl-lib in problematical ways |
Date: |
Sat, 21 Oct 2023 17:17:24 +0200 |
User-agent: |
Mozilla Thunderbird |
On 2023-10-20 08:49, Eli Zaretskii wrote:
> For Emacs to preload unnecessary stuff is unclean, and we try to avoid
> that uncleanliness.
I have to admit that I don't fully understand the dump/bootstrap logic
of Emacs (yet), but doesn't inhibit the following test in Frequire already
any/most uncleanliness:
/* This is to make sure that loadup.el gives a clear picture
of what files are preloaded and when. */
if (will_dump_p () && !will_bootstrap_p ())
{
/* Avoid landing here recursively while outputting the
backtrace from the error. */
gflags.will_dump_ = false;
error ("(require %s) while preparing to dump",
SDATA (SYMBOL_NAME (feature)));
}
At least that error fires during dump ("Dump mode: pdump") when I try to
require, for example, cl-lib from a file loaded from loadup.el.
- Re: Lisp files that load cl-lib in problematical ways, (continued)
- Re: Lisp files that load cl-lib in problematical ways, Richard Stallman, 2023/10/21
- Re: Lisp files that load cl-lib in problematical ways, Alan Mackenzie, 2023/10/19
- Re: Lisp files that load cl-lib in problematical ways, Eli Zaretskii, 2023/10/19
- Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/19
- Re: Lisp files that load cl-lib in problematical ways, Eli Zaretskii, 2023/10/19
- Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/20
- Re: Lisp files that load cl-lib in problematical ways, Dr. Arne Babenhauserheide, 2023/10/20
- Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/20
- Re: Lisp files that load cl-lib in problematical ways, Eli Zaretskii, 2023/10/20
- Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/21
- Re: Lisp files that load cl-lib in problematical ways,
Jens Schmidt <=
- Re: Lisp files that load cl-lib in problematical ways, Eli Zaretskii, 2023/10/21
- Re: Lisp files that load cl-lib in problematical ways, Björn Bidar, 2023/10/21
- Re: Lisp files that load cl-lib in problematical ways, Eli Zaretskii, 2023/10/22
- Re: Lisp files that load cl-lib in problematical ways, Alan Mackenzie, 2023/10/23
- Re: Lisp files that load cl-lib in problematical ways, Eli Zaretskii, 2023/10/23
- Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/23
- Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/23
- Re: Lisp files that load cl-lib in problematical ways, Eli Zaretskii, 2023/10/23
- Message not available
- Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/22
- Re: Lisp files that load cl-lib in problematical ways, Richard Stallman, 2023/10/22