guile-devel
[Top][All Lists]
Advanced

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

[patch] to silence diagnostic compile messages and welcome message (was


From: Matt Wette
Subject: [patch] to silence diagnostic compile messages and welcome message (was GUILE_QUIET)
Date: Mon, 7 Oct 2024 17:53:23 -0700
User-agent: Mozilla Thunderbird

The attached three patches provide modifications to Guile to provide users the ability to silence compile and loading messages that occur when using Guile interactively. In addition, there is a separate capability added to allow users to silence the welcome message.     The first is performed by using the `-I' command line argument, or setting
the (new)  current-info-port to a void-port:
    > (current-info-port (%make-void-port "w"))
The second is performed by, for example, adding the following code to the ~/.guile file:
    ((@ (system repl repl) %inhibit-welcome-message) #t)

The three patches are
0001) fix a minor typo in load.c, associated with the procedure set-current-output-port 0002) make changes to add and use current-info-port, and the associated `-I' command arg 0003) make changes to add and implement the %inhibit-welcome-message parameter.

Please consider for merge into the main branch.

Many thanks to Arne Babenhauserhiede for engaging discussions on this subject.

Thanks,
Matt

Attachment: 0003-Create-procedure-to-enable-silencing-the-Guile-welco.patch
Description: Text Data

Attachment: 0002-Redirect-diagnostice-output-messages-e.g.-auto-compi.patch
Description: Text Data

Attachment: 0001-Fix-typo-in-naming-function-set-current-output-port.patch
Description: Text Data


reply via email to

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