Subject: [PATCH v5 0/4] Add module depth information to %load-verbosely output

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 29 May 2024 22:30:22 -0400

This change was made to support investigating cyclic module dependencies
that sometimes happen in GNU Guix and are difficult to
comprehend/debug.  For more context, see:
<https://issues.guix.gnu.org/65716>.

Changes in v5:
- Introduce the usage of keywords for %load-hooks, breaking backward
compatibility at the benefit of future stability and extensibility

Changes in v4:
- Remove with-output-to-port in %load-announce and adjust doc

Changes in v3:
- Replace PAD-COUNT with DEPTH in VISUAL-DEPTH guard.

Changes in v2:
- Guard against negative pad count when computing 'visual-depth'

Maxim Cournoyer (4):
  (ice-9 boot-9): Fix typo.
  .dir-locals: Set c-basic-offset to 2 for c-mode.
  guix.scm: Add git:send-email to environment, for convenience.
  load: Display modules depth in output when using %load-verbosely.

 .dir-locals.el                  |  1 +
 .guix/modules/guile-package.scm |  3 +-
 NEWS                            | 13 +++++++
 THANKS                          |  1 +
 doc/guile-api.alist             |  4 +-
 doc/ref/api-evaluation.texi     | 66 ++++++++++++++++++++++++++-------
 libguile/load.c                 | 64 +++++++++++++++++++++++++-------
 libguile/load.h                 |  4 +-
 module/ice-9/boot-9.scm         | 39 ++++++++++++-------
 9 files changed, 149 insertions(+), 46 deletions(-)

base-commit: 779a83d9c682345802f9a605cb8e2b4892129316
-- 
2.41.0