3 次代碼提交 27b98ca9ab ... e5dddb390a

作者 SHA1 備註 提交日期
  Maxim Cournoyer e5dddb390a load: Display modules depth in output when using %load-verbosely. 1 年之前
  Maxim Cournoyer efa798bcf3 guix.scm: Update guile package native inputs. 1 年之前
  Maxim Cournoyer 27b98ca9ab load: Display modules depth in output when using %load-verbosely. 1 年之前
共有 3 個文件被更改,包括 8 次插入3 次删除
  1. 2 1
      .guix/modules/guile-package.scm
  2. 3 1
      doc/ref/api-evaluation.texi
  3. 3 1
      module/ice-9/boot-9.scm

+ 2 - 1
.guix/modules/guile-package.scm

@@ -112,10 +112,11 @@
                      gnu-gettext
                      flex
                      texinfo
-                     texlive-base                 ;for "make pdf"
+                     texlive-scheme-basic ;for "make pdf"
                      texlive-epsf
                      gperf
                      git
+                     `(,git "send-email") ;for convenience
                      gdb
                      strace
                      readline

+ 3 - 1
doc/ref/api-evaluation.texi

@@ -929,7 +929,9 @@ something like:
                (pad (if (> pad-count 0)
                         (make-string pad-count #\space)
                         ""))
-               (visual-depth (make-string depth #\space)))
+               (visual-depth (if (> depth 0)
+                                 (make-string depth #\space)
+                                 "")))
           (format #t ";;; loading ~a~a ~a~a~%" pad depth visual-depth file)
           (force-output))))))
 @end example

+ 3 - 1
module/ice-9/boot-9.scm

@@ -2244,7 +2244,9 @@ name extensions listed in %load-extensions."
                (pad (if (> pad-count 0)
                         (make-string pad-count #\space)
                         ""))
-               (visual-depth (make-string depth #\space)))
+               (visual-depth (if (> depth 0)
+                                 (make-string depth #\space)
+                                 "")))
           (format #t ";;; loading ~a~a ~a~a~%" pad depth visual-depth file)
           (force-output))))))